R01UH0823EJ0100 Rev.1.00
Page 1217 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
36.2.24
Receive Buffer Number Configuration Register (RMNB)
Modify the RMNB register only in global reset mode.
NRXMB[4:0] Bits (Receive Buffer Number Configuration)
These bits are used to set the total number of receive buffers of the CAN module. The maximum value is 16.
Setting these bits to all 0s makes receive buffers unavailable.
36.2.25
Receive Buffer Receive Complete Flag Register (RMND0)
Write 0 to the RMND0 register in global operating mode or global test mode.
RMNS[15:0] Flags (Receive Buffer Receive Complete Flag n)
Each of the RMNS[15:0] flags becomes 1 when the processing for storing a message in the corresponding receive buffer
starts.
To set these flags to 0, write 0 to the corresponding flag by the program. In this case, write this register in 16-bit unit to
ensure that only the specified bit is set to 0 and the other bits are set to 1. These bits cannot be set to 0 while a message is
being stored. It takes time of 10 clock cycles of PCLK for storing a message.
These flags become 0 in global reset mode.
Address(es): RSCAN.RMNB 000A 8332h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
—
—
—
—
—
NRXMB[4: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
b4 to b0
Receive Buffer Number
Configuration
Set the number of receive buffers.
Set a value of 0 to 16.
R/W
b15 to b5
—
Reserved
These bits are read as 0. The write value should be 0.
R/W
Address(es): RSCAN.RMND0 000A 8334h
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
RMNS[15: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
b15 to b0
Receive Buffer Receive
Complete Flag n
0: Receive buffer n contains no new message (n = 0 to 15).
1: Receive buffer n contains a new message.
R/W