RxState.
Parameters:
__HANDLE__: specifies the UART
Handle. This parameter can be
UARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
Return value:
None
Description:
Checks whether the specified UART
flag is set or not.
Parameters:
__HANDLE__: specifies the UART
Handle. This parameter can be
UARTx where x: 1, 2, 3, 4, 5, 6, 7 or
8 to select the USART or UART
peripheral.
__FLAG__: specifies the flag to
check. This parameter can be one of
the following values:
UART_FLAG_CTS: CTS
Change flag (not available for
UART4 and UART5)
UART_FLAG_LBD: LIN Break
detection flag
UART_FLAG_TXE: Transmit
data register empty flag
UART_FLAG_TC:
Transmission Complete flag
UART_FLAG_RXNE: Receive
data register not empty flag
UART_FLAG_IDLE: Idle Line
detection flag
UART_FLAG_ORE: Overrun
Error flag
UART_FLAG_NE: Noise Error
flag
UART_FLAG_FE: Framing
Error flag
UART_FLAG_PE: Parity Error
flag