R01UH0823EJ0100 Rev.1.00
Page 1236 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
36.2.48
Transmit/Receive FIFO Pointer Control Register 0 (CFPCTR0)
CFPC[7:0] Bits (RSCAN0 Transmit/Receive FIFO Pointer)
Receive mode (CFCCH0.CFM[1:0] value is 00b):
Writing FFh to the CFPC[7:0] bits moves the read pointer to the next unread message in the transmit/receive FIFO
buffer. At this time, the CFSTS0.CFMC[5:0] value (transmit/receive FIFO message counter) is decremented. Read the
CFIDL0, CFIDH0, CFTS0, CFPTR0, and CFDF00 to CFDF30 registers to read messages in the transmit/receive FIFO
buffer, and then write FFh to the CFPC[7:0] bits.
Write FFh to these bits when the CFCCL0.CFE bit is 1 (transmit/receive FIFO buffers are used) and the
CFSTS0.CFEMP flag is 0 (the transmit/receive FIFO buffer contains messages).
Transmit mode (CFCCH0.CFM[1:0] value is 01b):
Writing FFh to the CFPC[7:0] bits stores the data written to the CFIDL0, CFIDH0, CFPTR0, and CFDF00 to CFDF30
registers in the transmit/receive FIFO buffer and moves the write pointer to the next stage of the transmit/receive FIFO
buffer. At this time, the CFSTS0.CFMC[5:0] value is incremented. Write transmit messages to the CFIDL0, CFIDH0,
CFPTR0, and CFDF00 to CFDF30 registers and then write FFh to the CFPC[7:0] bits.
Write FFh to these bits when the CFCCL0.CFE bit is 1 and the CFSTS0.CFFLL flag is 0 (the transmit/receive FIFO
buffer is not full).
Address(es): RSCAN0.CFPCTR0 000A 835Ch
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
—
—
CFPC[7: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
b7 to b0
RSCAN0 Transmit/Receive
FIFO Pointer
Receive mode:
Writing FFh to these bits moves the read pointer to the next
unread message in the transmit/receive FIFO buffer.
Transmit mode:
Writing FFh to these bits moves the write pointer to the next
stage of the transmit/receive FIFO buffer.
W
b15 to b8
—
Reserved
The write value should be 0.
W