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.
Macros | |
#define | CY_SCB_UART_RX_TRIGGER (SCB_INTR_RX_TRIGGER_Msk) |
The number of entries in the RX FIFO is more than the RX FIFO trigger level value. | |
#define | CY_SCB_UART_RX_NOT_EMPTY (SCB_INTR_RX_NOT_EMPTY_Msk) |
The RX FIFO is not empty, there is data to read. | |
#define | CY_SCB_UART_RX_FULL (SCB_INTR_RX_FULL_Msk) |
The RX FIFO is full, there is no more space for additional data, and any additional data will be dropped. | |
#define | CY_SCB_UART_RX_OVERFLOW (SCB_INTR_RX_OVERFLOW_Msk) |
The RX FIFO was full and there was an attempt to write to it. More... | |
#define | CY_SCB_UART_RX_UNDERFLOW (SCB_INTR_RX_UNDERFLOW_Msk) |
An attempt to read from an empty RX FIFO. | |
#define | CY_SCB_UART_RX_ERR_FRAME (SCB_INTR_RX_FRAME_ERROR_Msk) |
The RX FIFO detected a frame error, either a stop or stop-bit error. | |
#define | CY_SCB_UART_RX_ERR_PARITY (SCB_INTR_RX_PARITY_ERROR_Msk) |
The RX FIFO detected a parity error. | |
#define | CY_SCB_UART_RX_BREAK_DETECT (SCB_INTR_RX_BREAK_DETECT_Msk) |
The RX FIFO detected a break transmission from the transmitter. | |
#define CY_SCB_UART_RX_OVERFLOW (SCB_INTR_RX_OVERFLOW_Msk) |
The RX FIFO was full and there was an attempt to write to it.
That additional data was dropped.