
Interrupt Controller (INTC)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
10-3
Figure 10-2. INTC Software Vector Mode
Two modes are available to determine the vector for the interrupt request source: software vector mode
and hardware vector mode. In software vector mode, as shown in
common interrupt exception handler whose location is determined by an address derived from special
purpose registers IVPR and IVOR4. The interrupt exception handler reads the INTC_IACKR to determine
the vector of the interrupt request source. Typical program flow for software vector mode is shown in
.
Figure 10-3. Program Flow–Software Vector Mode
N
is the largest vector number (329) with the greatest hexadecimal address (IVPR + 0x1480) that is
available in the interrupt memory map for this device. However, this number has no relationship to the total
number of interrupts available on this device.
The total number of available interrupts on this device is 332: 298 peripheral IRQs, eight
software-configurable IRQs, and 16 reserved.
Because the memory is mapped in four-byte words, the total number of interrupt vectors must be a multiple
of four:
•
If the total number of available interrupts is
not
a multiple of four, additional interrupt vectors exist
up to the next four-byte boundary.
IRQs
Interrupt
controller
(INTC)
External interrupt
exception request
e200z6
core
ISR
ISR 0 address
ISR 0
ISR
ISR 1
•
•
•
ISR
ISR n
•
•
•
ISR
ISR
N
ISR n address
ISR N address
ISR 1 address
•
•
•
•
•
•
Prolog
(Including
using IACKR
to get vector
then bl ISR_n
Epilog
IVPR + IVOR4
IRQ[n]
taken
IACKR
Instructions
Address
Instructions
Address
VTBA
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...