UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 656

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
654
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 interrupt 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-52. Reception via Interrupt (Using C0RGPT Register)
Yes
Preliminary User’s Manual U19748EJ1V0UD
CHAPTER 15 CAN CONTROLLER
Read C0MDATAxm , C0MDLCm,
C0MIDLm, C0MIDHm registers
Read C0RGPT register
Generation of receive
completion interrupt
Correct data is read
Clear ROVF bit
Clear DN bit
ROVF = 1?
RHPM = 1?
,
MUC = 0
START
DN = 0
AND
Yes
Yes
No
,
Note
,
No
No
Illegal data is read

Related parts for UPD78F0838