UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
1104 of 1269
NXP Semiconductors
UM10503
Chapter 42: LPC43xx C_CAN
42.7.4 Interrupt handling
If several interrupts are pending, the CAN Interrupt Register will point to the pending
interrupt with the highest priority, disregarding their chronological order. An interrupt
remains pending until the CPU has cleared it.
Fig 156. Reading a message from the FIFO buffer to the message buffer
START
END
read CANIR
MessageNum = INTID
read CANIFx_MCTRL
write MessageNum to CANIFx_CMDREQ
read data from CANIFx_DA/B
MessageNum = Mess1
read message to message buffer
reset NEWDAT = 0
reset INTPND = 0
INTID = 0x8000 ?
NEWDAT = 1
EOB = 1
INTID = 0x0001
to 0x0020 ?
INTID = 0x0000 ?
status change
interrupt handling
yes
yes
yes
yes
no
no
yes