R01UH0823EJ0100 Rev.1.00
Page 1235 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
When the CFCCL0.CFE value is 0 (no transmit/receive FIFO buffer is used).
Note that this flag becomes 0 after transmission completion, CAN bus error detection, or arbitration lost when the
message in the transmit/receive FIFO buffer is being transmitted or to be transmitted next.
When CFCCH0.CFM[1:0] value is 00b: In global reset mode
When CFCCH0.CFM[1:0] value is 01b: In channel reset mode
CFMLT Flag (Transmit/Receive FIFO Message Lost Flag)
[Setting condition]
When it is attempted to store a new message while the transmit/receive FIFO buffer is full. In this case, the new
message is discarded.
[Clearing conditions]
Write 0 to the CFMLT flag
When CFCCH0.CFM[1:0] value is 00b: In global reset mode
When CFCCH0.CFM[1:0] value is 01b: In channel reset mode
Set this flag to 0 in global operating mode or global test mode.
CFRXIF Flag (Transmit/Receive FIFO Receive Interrupt Request Flag)
[Setting condition]
When CFCCH0.CFM[1:0] value is 00b and interrupt source setting the CFCCL0.CFIM bit is generated.
[Clearing conditions]
Write 0 to the CFRXIF flag
When CFCCH0.CFM[1:0] value is 00b: In global reset mode
When CFCCH0.CFM[1:0] value is 01b: In channel reset mode
Set this flag to 0 in global operating mode or global test mode.
CFTXIF Flag (Transmit/Receive FIFO Transmit Interrupt Request Flag)
[Setting condition]
When CFCCH0.CFM[1:0] value is 01b and interrupt source setting the CFCCL0.CFIM bit is generated.
[Clearing conditions]
Write 0 to the CFTXIF flag
When CFCCH0.CFM[1:0] value is 00b: In global reset mode
When CFCCH0.CFM[1:0] value is 01b: In channel reset mode
Set this flag to 0 in global operating mode or global test mode.
CFMC[5:0] Flags (Transmit/Receive FIFO Message Counter)
The CFMC[5:0] flags indicate the following values that depend on the setting of the CFCCH0.CFM[1:0] bits.
When CFM[1:0] value is 01b (transmit mode): Number of untransmitted messages in the buffer
When CFM[1:0] value is 00b (receive mode): Number of unread received messages in the buffer
These bits are set to 0 when any of the following conditions is met.
When CFCCH0.CFM[1:0] value is 00b: In global reset mode
When CFCCH0.CFM[1:0] value is 01b: In channel reset mode