PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
UART Receive Statuses
PDL API Reference » SCB (Serial Communication Block) » UART (SCB) » Macros

## General Description

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.

## Macros
#define | CY_SCB_UART_RECEIVE_ACTIVE (0x01UL)
| The receive operation started by Cy_SCB_UART_Receive is in progress.
#define | CY_SCB_UART_RECEIVE_OVERFLOW (SCB_INTR_RX_OVERFLOW_Msk)
| The hardware RX FIFO was full and there was an attempt to write to it. More...
#define | CY_SCB_UART_RECEIVE_ERR_FRAME (SCB_INTR_RX_FRAME_ERROR_Msk)
| The receive hardware detected a frame error, either a start or stop bit error.
#define | CY_SCB_UART_RECEIVE_ERR_PARITY (SCB_INTR_RX_PARITY_ERROR_Msk)
| The receive hardware detected a parity error.
#define | CY_SCB_UART_RECEIVE_BREAK_DETECT (SCB_INTR_RX_BREAK_DETECT_Msk)
| The receive hardware detected a break transmission from transmitter.
#define | CY_SCB_UART_RECEIVE_BAUD_DETECT (SCB_INTR_RX_BAUD_DETECT_Msk)
| The receive hardware detected a baudrate detection.

## Macro Definition Documentation

## ◆ CY_SCB_UART_RECEIVE_OVERFLOW

#define CY_SCB_UART_RECEIVE_OVERFLOW (SCB_INTR_RX_OVERFLOW_Msk)

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

That additional data was dropped.