R01UH0823EJ0100 Rev.1.00
Page 1240 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
36.2.52
Transmit/Receive FIFO Access Register 0BH (CFPTR0)
x: Don’t care
Modify this register only when the CFCCH0.CFM[1:0] value is 01b (transmit mode).
This register is readable only when the CFCCH0.CFM[1:0] value is 00b (receive mode).
This register can be read/written when the GRWCR.RPAGE bit is 1.
CFPTR[11:0] Bits (Transmit/Receive FIFO Buffer Label Data)
These bits indicate the label information attached to the received message stored in the transmit/receive FIFO buffer
when the CFCCH0.CFM[1:0] value is 00b. When the CFCCH0.CFM[1:0] value is 01b, the CFPTR[7:0] value is stored
in the transmit history buffer when message transmission has been completed.
CFDLC[3:0] Bits (Transmit/Receive FIFO Buffer DLC Data)
These bits indicate the data length of the received message stored in the transmit/receive FIFO buffer when the
CFCCH0.CFM[1:0] value is 00b. When the CFCCH0.CFM[1:0] value is 01b, set the data length of the message to be
transmitted from the transmit/receive FIFO buffer.
If 9-byte or more data length is set, 8 bytes of data is actually transmitted.
Address(es): RSCAN0.CFPTR0 000A 85E6h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
CFDLC[3:0]
CFPTR[11:0]
Value after reset:
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit
Symbol
Bit Name
Description
R/W
b11 to b0
Transmit/Receive FIFO Buffer
Label Data
When CFCCH0.CFM[1:0] value is 01b (transmit mode):
Set the label information to be stored in the transmit
history buffer. Only CFPTR[7:0] bits are valid.
When CFCCH0.CFM[1:0] value is 00b (receive mode):
The label information of the received message can be
read.
R/W
b15 to b12
Transmit/Receive FIFO Buffer
DLC Data
b15
b12
0 0 0 0: 0 data bytes
0 0 0 1: 1 data byte
0 0 1 0: 2 data bytes
0 0 1 1: 3 data bytes
0 1 0 0: 4 data bytes
0 1 0 1: 5 data bytes
0 1 1 0: 6 data bytes
0 1 1 1: 7 data bytes
1 x x x: 8 data bytes
R/W