38.1.5.15 usart_async_is_tx_empty
Check if the USART transmitter is empty.
int32_t usart_async_is_tx_empty(
const struct usart_async_descriptor *const descr
)
Parameters
- descr
-
Type: const struct usart_async_descriptor Struct *const
A USART descriptor which is used to communicate via USART
Returns
Type: int32_t
The status of USART TX empty checking.
- 0
-
The USART transmitter is not empty
- 1
-
The USART transmitter is empty