UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 657

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
Note Check the MUC and DN bits using one read access.
Remarks 1. Also check the MBON flag at the beginning and at the end of the polling routine, in order to
2. If ROVF was set once, the receive history list is inconsistent. Consider to scan all configured
check the access to the message buffers as well as reception history list registers, in case a
pending sleep mode had been executed. If MBON is detected to be cleared at any check, the
actions and results of the processing have to be discarded and processed again, after MBON is
set again.
It is recommended to cancel any sleep mode requests, before processing RX interrupts.
receive buffers for receptions.
END
Figure 15-53. Reception via Software Polling
Yes
Preliminary User’s Manual U19748EJ1V0UD
CHAPTER 15 CAN CONTROLLER
Read C0MDATAxm , C0MDLCm,
C0MIDLm, C0MIDHm registers
Read C0RGPT register
Correct data is read
Clear CINTS1 bit
Clear ROVF bit
CINTS1 = 1?
Yes
Clear DN bit
ROVF = 1?
RHPM = 1?
,
MUC = 0
START
DN = 0
AND
Yes
Yes
,
Note
,
No
No
No
No
Illegal data is read
655

Related parts for UPD78F0838