
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
User’s Manual
21-14
V2.2, 2004-01
TwinCAN_X1, V2.1
Figure 21-7
INTID Mask for Global Interrupt Request Sources
Registers AIMR0/4 and BIMR0/4 contain a mask bit for each interrupt source
(AIMR0/BIMR0 for message specific interrupt sources and AIMR4/BIMR4 for the node
specific interrupt sources). If a mask bit is reset, the corresponding interrupt source is not
taken into account for the generation of the INTID value.
Figure 21-8
INTID Mask for Message Interrupt Request Sources
MCA05477
Global
CAN
Transmit
and
Receive
Logic
>1
_
TXOK
RXOK
LEC
EWRN
BOFF
>1
_
IMC34
IMC33
IMC32
>1
_
INTD = 1
Interrupt Request Source
INTID Value
IMR4 Mask Register
MCA05478
INTID = n + 2
AIR
Interrupt Pending
Register
INTID = n + 2
IMCn
IMCn
INTPNDn
BIR
Interrupt Pending
Register
AIMR0
Mask Register
BIMR0
Mask Register
Message Control
Register for
Object n