UART Receive Statuses¶
-
group
group_scb_uart_macros_receive_status
Macros to check current UART receive status returned by Cy_SCB_UART_GetReceiveStatus function.
Each UART receive status is encoded in a separate bit, therefore multiple bits may be set to indicate the current status.
Defines
-
CY_SCB_UART_RECEIVE_ACTIVE
The receive operation started by Cy_SCB_UART_Receive is in progress.
-
CY_SCB_UART_RECEIVE_OVERFLOW
The hardware RX FIFO was full and there was an attempt to write to it.
That additional data was dropped.
-
CY_SCB_UART_RECEIVE_ERR_FRAME
The receive hardware detected a frame error, either a start or stop bit error.
-
CY_SCB_UART_RECEIVE_ERR_PARITY
The receive hardware detected a parity error.
-
CY_SCB_UART_RECEIVE_BREAK_DETECT
The receive hardware detected a break transmission from transmitter.
-