NEC V850ES/F 3-L Series User Manual page 651

32-bit single-chip microcontroller
Table of Contents

Advertisement

CAN Controller (CAN)
Figure 18-49
Note
Note
Reception via interrupt (using CnLIPT register)
Also check the MBON flag at the beginning and at the end of the interrupt
routine, in order to 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.
User's Manual U18743EE1V2UM00
START
START
Generation of receive
Generation of receive
completion interrupt
completion interrupt
Read CnLIPT register
Read CnLIPT register
Clear DN bit
Clear DN bit
Read CnMDATAxm, CnMDLCm,
Read CnMDATAxm, CnMDLCm,
CnMIDLm, and CnMIDHm
CnMIDLm, and CnMIDHm
registers
registers
DN = 0
DN = 0
AND
AND
Note
Note
MUC = 0
MUC = 0
Yes
Yes
END
END
Check the MUC and DN bits using one read access.
Chapter 18
No
No
651

Advertisement

Table of Contents
loading

Table of Contents