UART TX FIFO Statuses¶
-
group
group_scb_uart_macros_tx_fifo_status
Macros to check UART TX FIFO status returned by Cy_SCB_UART_GetTxFifoStatus function or assign mask for Cy_SCB_UART_ClearTxFifoStatus function.
Each UART TX FIFO status is encoded in a separate bit, therefore multiple bits may be set to indicate the current status.
Defines
-
CY_SCB_UART_TX_TRIGGER
The number of entries in the TX FIFO is less than the TX FIFO trigger level value.
-
CY_SCB_UART_TX_NOT_FULL
The TX FIFO is not full, there is a space for more data.
-
CY_SCB_UART_TX_EMPTY
The TX FIFO is empty, note there may still be data in the shift register.
-
CY_SCB_UART_TX_OVERFLOW
An attempt to write to the full TX FIFO.
-
CY_SCB_UART_TX_UNDERFLOW
An attempt to read from an empty transmitter FIFO (hardware reads).
-
CY_SCB_UART_TX_DONE
All data has been transmitted out of the FIFO, including shifter.
-
CY_SCB_UART_TX_NACK
SmartCard only: the transmitter received a NACK.
-
CY_SCB_UART_TX_ARB_LOST
SmartCard only: the transmitter lost arbitration.
-