UART RX FIFO status

group group_scb_uart_macros_rx_fifo_status

Macros to check UART RX FIFO status returned by Cy_SCB_UART_GetRxFifoStatus function or assign mask for Cy_SCB_UART_ClearRxFifoStatus function.

Each UART RX FIFO status is encoded in a separate bit, therefore multiple bits may be set to indicate the current status.

Defines

CY_SCB_UART_RX_TRIGGER

The number of entries in the RX FIFO is more than the RX FIFO trigger level value.

CY_SCB_UART_RX_NOT_EMPTY

The RX FIFO is not empty, there is data to read.

CY_SCB_UART_RX_FULL

The RX FIFO is full, there is no more space for additional data, and any additional data will be dropped.

CY_SCB_UART_RX_OVERFLOW

The RX FIFO was full and there was an attempt to write to it.

That additional data was dropped.

CY_SCB_UART_RX_UNDERFLOW

An attempt to read from an empty RX FIFO.

CY_SCB_UART_RX_ERR_FRAME

The RX FIFO detected a frame error, either a stop or stop-bit error.

CY_SCB_UART_RX_ERR_PARITY

The RX FIFO detected a parity error.

CY_SCB_UART_RX_BREAK_DETECT

The RX FIFO detected a break transmission from the transmitter.