Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1242 of 1852
Nov 30, 2020
RX23W Group 36. CAN Module (RSCAN)
36.2.47 Transmit/Receive FIFO Status Register 0 (CFSTS0)
Note 1. Only 0 can be written to this bit, to clear the flag. Writing 1 does not affect the flag value.
CFEMP Flag (Transmit/Receive FIFO Buffer Empty Status Flag)
[Setting conditions]
When the CFCCH0.CFM[1:0] value is 00b: All messages have been read, or global reset mode.
When the CFCCH0.CFM[1:0] value is 01b: All messages have been transmitted, or channel reset mode.
When the CFCCL0.CFE value is 0 (no transmit/receive FIFO buffer is used).
Note that this flag becomes 1 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.
[Clearing conditions]
When the CFCCH0.CFM[1:0] value is 00b: Any one of received messages has been stored in the transmit/receive
FIFO buffer.
When the CFCCH0.CFM[1:0] value is 01b: A value FFh has been written to the CFPCTR0 register after data was
written to the CFIDL0, CFIDH0, CFPTR0, and CFDF00 to CFDF30 registers.
CFFLL Flag (Transmit/Receive FIFO Buffer Full Status Flag)
[Setting condition]
When the number of messages stored in the transmit/receive FIFO buffer matches the FIFO buffer depth set by the
CFCCL0.CFDC[2:0] bits.
[Clearing conditions]
When the number of messages stored in the transmit/receive FIFO buffer becomes smaller than the FIFO buffer
depth set by the CFCCL0.CFDC[2:0] bits.
Address(es): RSCAN0.CFSTS0 000A 8358h
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
CFMC[5:0] CFTXIF
CFRXI
F
CFMLT CFFLL CFEMP
Value after reset:
0000000000000001
Bit Symbol Bit Name Description R/W
b0 CFEMP Transmit/Receive FIFO Buffer
Empty Status Flag
0: The transmit/receive FIFO buffer contains messages.
1: The transmit/receive FIFO buffer contains no message
(buffer empty).
R
b1 CFFLL Transmit/Receive FIFO Buffer
Full Status Flag
0: The transmit/receive FIFO buffer is not full.
1: The transmit/receive FIFO buffer is full.
R
b2 CFMLT Transmit/Receive FIFO
Message Lost Flag
0: No transmit/receive FIFO message is lost.
1: A transmit/receive FIFO message is lost.
R/(W)
*
1
b3 CFRXIF Transmit/Receive FIFO Receive
Interrupt Request Flag
0: No transmit/receive FIFO receive interrupt request is
present.
1: A transmit/receive FIFO receive interrupt request is
present.
R/(W)
*
1
b4 CFTXIF Transmit/Receive FIFO
Transmit Interrupt Request Flag
0: No transmit/receive FIFO transmit interrupt request is
present.
1: A transmit/receive FIFO transmit interrupt request is
present.
R/(W)
*
1
b7 to b5 Reserved These bits are read as 0. The write value should be 0. R/W
b13 to b8 CFMC[5:0] Transmit/Receive FIFO
Message Counter
The number of messages stored in the transmit/receive FIFO
buffer is indicated.
R
b15, b14 Reserved These bits are read as 0. The write value should be 0. R/W