Users Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 1244 of 1852
Nov 30, 2020
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
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
———————— CFPC[7:0]
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b7 to b0 CFPC[7:0] 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