
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
User’s Manual
21-5
V2.2, 2004-01
TwinCAN_X1, V2.1
21.1.2.2
Interrupt Request Compressor
The CAN module is equipped with 32
×
2 message object specific interrupt request
sources and 2
×
4 node control interrupt request sources. A request compressor
condenses these 72 sources to 8 CAN interrupt nodes reporting the interrupt requests
of the CAN module. Each request source is provided with an interrupt node pointer,
selecting the interrupt node to start the associated service routine in order to increase
flexibility in interrupt processing. Each of the 8 CAN interrupt nodes can trigger an
independent interrupt routine with its own interrupt vector and its own priority.
Figure 21-3
Interrupt Node Pointer and Interrupt Request Compressor
Note: All interrupts are event-oriented. The event sets the corresponding indication flag
and can generate an interrupt to the system. An interrupt event occurring while its
corresponding indication flag is still set, can generate a new interrupt.
MCA05473
>1
_
Request
Compressor
CAN Interrupt
Node 0
To Interrupt
Controller
Interrupt Node Pointer
of Request Source k
Interrupt
Request Source k
>1
_
CAN Interrupt
Node 7
To Interrupt
Controller
Interrupt Node Pointer
of Request Source n
Interrupt
Request Source n