usart_sync_is_tx_empty

Check if the USART transmitter is empty.

int32_t usart_sync_is_tx_empty(
    const struct usart_sync_descriptor *const descr
)

Parameters

descr

Type: const struct usart_sync_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