Interrupts and Interrupt Controller (INTC)
Freescale Semiconductor
10-3
PXR40 Microcontroller Reference Manual, Rev. 1
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 (479) with the greatest hexadecimal address (IVPR + 0x1DF0) that is
available in the interrupt memory map for this device. Because blocks of memory throughout the total
memory map are used for other purposes, the maximum vector number does not indicate the total number
of available interrupt sources for this device.
The total number of entries in the interrupt memory map on this device is 480: 410 peripheral IRQs, 8
software-configurable IRQs, and 62 reserved.
In hardware vector mode, the core branches to an interrupt exception handler unique for each interrupt
request source. Typical program flow for hardware vector mode is shown in
.
IRQs
Interrupt
controller
(INTC)
External interrupt
exception request
e200z7
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
Data Table
Address
Instructions
Address
VTBA
of Addresses
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...