38.11.5 Interrupt Flags
Table 1-13 summarizes all interrupt flags and lists how interrupts are cleared.
Flags | Registers | Categories | Cleared by Module(1) | Cleared by Application | Read-Only(2) | Description |
---|---|---|---|---|---|---|
RFFIF, RFHIF, RFNIF | CxFIFOSTAy | FIFO | X | - | - | RX FIFO |
TFNIF, TFHIF, TFEIF | CxFIFOSTAy | FIFO | X | - | - | TX FIFO |
TXQNIF, TXQEIF | CxTXQSTA | TXQ | X | - | - | Transmit Queue |
RXOVIF | CxFIFOSTAy | FIFO | - | X | - | RX Overrun |
TXATIF | CxFIFOSTAy, CxTXQSTA | FIFO, TXQ | - | X | - | TX Attempt |
TEFFIF, TEFHIF, TEFNEIF | CxTEFSTA | FIFO | X | - | - | TEF |
TEFOVIF | CxTEFSTA | FIFO | - | X | - | TEF Overrun |
RFIF[3:1] | CxRXIF | Combined | - | - | X | All RX FIFOs |
TFIF[3:1] | CxTXIF | Combined | - | - | X | All TX FIFOs |
RFOVIF[3:1] | CxRXOVIF | Combined | - | - | X | All RX FIFO Overruns |
TFATIF[3:0] | CxTXATIF | Combined | - | - | X | All TX FIFO Attempts |
RXIF | CxINT | Main | - | - | X | RX |
TXIF | CxINT | Main | - | - | X | TX |
RXOVIF | CxINT | Main | - | - | X | RX Overrun |
TXATIF | CxINT | Main | - | - | X | TX Attempt |
TEFIF | CxINT | Main | - | - | X | TEF |
IVMIF | CxINT | Main | - | X | - | Invalid Message |
WAKIF | CxINT | Main | - | X | - | Wake-up |
CERRIF | CxINT | Main | - | X | - | CAN Bus Error |
MODIF | CxINT | Main | - | X | - | Mode Change |
TBCIF | CxINT | Main | - | X | - | Time Base Counter |
SERRIF | CxINT | Main | - | X | - | System Error |
Note:
- The flags will be cleared when the condition of the FIFO terminates, initiated by the UINC bit (CxFIFOCONy[8]).
- The flags need to be cleared in the preceding hierarchies.