R01UH0823EJ0100 Rev.1.00
Page 1287 of 1823
Jul 31, 2019
RX23W Group
36. CAN Module (RSCAN)
36.10 Reception Procedure
36.10.1
Receive Buffer Reading Procedure
When the processing to store received messages in a receive buffer starts, the RMND0.RMNSn flag becomes 1 (receive
buffer n contains a new message). Messages can be read from the RMIDLn, RMIDHn, RMTSn, RMPTRn, and
RMDF0n to RMDF3n registers. If the next message has been received before the current message is read from the
receive buffer, the message is overwritten.
shows the receive buffer reading procedure.
Figure 36.22
Receive Buffer Reading Procedure
Start
End
Has a new message been received?
(Is the RMND0.RMNSn flag 1?)
Yes
No
Read messages from registers RMIDHn, RMIDLn,
RMPTRn, RMTSn, and RMDF0n to RMDF3n.
Are all RMND0.RMNSn flags 0?
Yes
No
Set the RMND0.RMNSn to 0
Read messages when the
GRWCR.RPAGE bit is set to 1.