This section describes callback function of the driver. The callback function is called by the driver to notify interrupt of the peripheral. All interrupt flags are cleared automatically by the driver.
UART_CALLBACK function declaration
Enumerator |
---|
UART0_CALLBACK |
UART0 module.
|
UART1_CALLBACK |
UART1 module.
|
UART2_CALLBACK |
UART2 module.
|
UART3_CALLBACK |
UART3 module.
|
Enumerator |
---|
UART_TX_CALLBACK |
Transmit Data Register Empty Flag (TDRE), Transmit Complete (TC)
|
UART_RX_CALLBACK |
Receive Data Register Full (RDRF)
|
UART_ER_CALLBACK |
Receiver Overrun (OR), Framing Error (FE), Noise Flag (NF), Parity Error Flag (PF)
|
UART_EDG_CALLBACK |
RxD Input Active Edge Interrupt Flag (RXEDGIF)
|