/ * @brief * Transmit one 8-9 bit frame with extended control. * * @details * Notice that possible parity/stop bits in asynchronous mode are not * considered part of specified frame bit length. * * @note * This function will stall if buffer is full, until buffer becomes available. * * @param[in] leuart * Pointer to LEUART peripheral register block. * * @param[in] data * D
| 623 | * the EFM32 reference manual (set to 0 if not used). |
| 624 | ******************************************************************************/ |
| 625 | void LEUART_TxExt(LEUART_TypeDef *leuart, uint16_t data) |
| 626 | { |
| 627 | /* Check that transmit buffer is empty */ |
| 628 | while (!(leuart->STATUS & LEUART_STATUS_TXBL)) |
| 629 | ; |
| 630 | |
| 631 | /* LF register about to be modified require sync. busy check */ |
| 632 | LEUART_Sync(leuart, LEUART_SYNCBUSY_TXDATAX); |
| 633 | |
| 634 | leuart->TXDATAX = (uint32_t)data; |
| 635 | } |
| 636 | |
| 637 | |
| 638 | /** @} (end addtogroup LEUART) */ |
nothing calls this directly
no test coverage detected