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.
LPUART_CALLBACK function declaration
Enumerator |
---|
LPUART0_CALLBACK |
LPUART0 module.
|
Enumerator |
---|
LPUART_TX_CALLBACK |
Transmit Data Register Empty Flag (TDRE), Transmit Complete (TC)
|
LPUART_RX_CALLBACK |
Receive Data Register Full (RDRF)
|
LPUART_ER_CALLBACK |
Receiver Overrun (OR), Framing Error (FE), Noise Flag (NF), Parity Error Flag (PF)
|
LPUART_EDG_CALLBACK |
RxD Input Active Edge Interrupt Flag (RXEDGIF)
|