PSoC 6 Peripheral Driver Library

General Description

Macros to check current UART transmit status returned by Cy_SCB_UART_GetTransmitStatus function.

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

Macros

#define CY_SCB_UART_TRANSMIT_ACTIVE   (0x01UL)
 The transmit operation started by Cy_SCB_UART_Transmit is in progress.
 
#define CY_SCB_UART_TRANSMIT_IN_FIFO   (0x02UL)
 All data elements specified by Cy_SCB_UART_Transmit have been loaded into the TX FIFO.
 
#define CY_SCB_UART_TRANSMIT_NACK   (SCB_INTR_TX_UART_NACK_Msk)
 SmartCard only: the transmitter received a NACK.
 
#define CY_SCB_UART_TRANSMIT_ARB_LOST   (SCB_INTR_TX_UART_ARB_LOST_Msk)
 SmartCard only: the transmitter lost arbitration.