of 26
May 10, 2017
4.2 Transmit/Receive FIFO Buffer (Receive Mode) Interrupt Processing
4.2.1 Transmit/receive FIFO Reception Completion Interrupt Processing
If the transmit/receive FIFO interrupt is enabled, the transmit/receive FIFO interrupt is generated when the condition
selected in the CFIM bit setting of the CFCCk register is satisfied.
Even if the use of the transmit/receive FIFO buffer is prohibited (CFE bit is “0”) while an interrupt request is
generated (the CFRXIF flag in the CFSTSk register is “1”), the interrupt request flag (CFRXIF flag) is not
automatically set to “0”. Set the interrupt request flag to "0" with the program.
Whether to enable or disable transmit/receive FIFO interrupts can be set for each transmit/receive FIFO buffer using
the CFRXIE bit of the CFCCk register.
The sources of transmit/receive FIFO interrupts in receive mode are shown below.
A transmit/receive FIFO interrupt request is generated when the condition set by the CFIGCV [2: 0] bit of the
CFCCk register is reached (the CFIM bit of the CFCCk register is "0").
RFIGCV[2:0] bit settings
•When a message is stored up to 1/8 in the transmit/receive FIFO buffer*1
•When a message is stored up to 2/8 in the transmit/receive FIFO buffer
•When a message is stored up to 3/8 in the transmit/receive FIFO buffer*1
•When a message is stored up to 4/8 in the transmit/receive FIFO buffer
•When a message is stored up to 5/8 in the transmit/receive FIFO buffer*1
•When a message is stored up to 6/8 in the transmit/receive FIFO buffer
•When a message is stored up to 7/8 in the transmit/receive FIFO buffer*1
•When the transmit/receive FIFO buffer is full
⎯Transmit/receive FIFO interrupt request occurs every time message reception is completed (the CFIM bit of
CFCCk register is “1”)
【Note】1. Do not set if the number of transmit/receive FIFO buffers is set to 4 messages (the CFDC [2: 0] bit of
the CFCCk register is set to "B'001").
4.2.2 Global Error Interrupt Processing
If the FIFO message lost interrupt is enabled, a global error interrupt is generated when a message lost in the
transmit/receive FIFO buffer is detected. Whether to enable or disable the FIFO message lost interrupt can be set in
common for the entire module with the MEIE bit of the GCTR register.