21.6 Interrupts
The UART has four separate interrupts. To determine which event has caused the interrupt, the associated flag needs to be read and evaluated. All interrupt sources are listed in Table 21-18.
Interrupt Type | Condition | Flag |
---|---|---|
TX | Number of Empty Slots in UxTXB Defined by TXWM[2:0] bits | TXIF(1) |
RX | Number of Words in UxRXB Defined by RXWM[2:0] bits Address Match | RXIF(1) PERIF |
Event | Auto-Baud
Complete RX Break Received Wake Event (line is high-to-low) Smart Card Guard Time Counter Match Smart Card Block Time Counter Match | ABDIF RXBKIF WUIF GTCIF BTCIF |
Error | Parity Error Framing Error Transmit Collision Transmit Shift Register Empty RX Buffer Overflow Auto-Baud Rollover Checksum Error (LIN mode only) Smart Card Receive Repeat Smart Card Transmit Repeat Smart Card Waiting Time Counter Match | PERIF FERIF TXCIF TXMTIF RXFOIF ABDOVIF CERIF RXRPTIF TXRPTIF WTCIF |