Chapter 9 Interrupt Controller (INTC)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
199
9.3
Block diagram
shows a block diagram of the interrupt controller (INTC).
Figure 9-1. INTC block diagram
9.4
Modes of operation
9.4.1
Normal mode
In normal mode, the INTC has two handshaking modes with the processor: software vector mode and
hardware vector mode.
NOTE
To correctly configure the interrupts in both software and hardware vector
mode, the user must also configure the IVPR. The core register IVPR
contains the base address for the interrupt handlers. Please refer to the core
reference manual for more information.
9.4.1.1
Software vector mode
In software vector mode, the interrupt exception handler software must read a register in the INTC to
obtain the vector associated with the interrupt request to the processor. The INTC will use software vector
Peripheral
B
Hardware
Vector Enable
Software
Set/Clear
Interrupt
Registers
Flag Bits
Peripheral
Interrupt
Requests
Module
Configuration
Register
Highest Priority
4
Priority
Comparator
Slave
Interface
for Reads
& Writes
1
Push/Update/Acknowledge
1
1
1
Update Interrupt Vector
1
Interrupt
Request to
Processor
Memory Mapped Registers
Non-Memory Mapped Logic
End of
Interrupt
Register
Request
Selector
Priority
Arbitrator
Highest
Priority
Interrupt
Requests
n
1
n
1
Vector
Encoder
Interrupt
Vector
9
Processor 0
Interrupt
Acknowledge
Register
Interrupt
Vector
9
n
1
8
n
1
x
4-bits
New
Priority
4
Current
Priority
4
Processor 0
Current
Priority
Register
Processor 0
Priority
LIFO
Pop
1
Lowest
Vector
Interrupt
Request
1
Vector Table
Entry Size
Pushed
Priority
4
Popped
Priority
4
Interrupt Acknowledge
1
The total number of interrupt sources is 128, which includes 16 reserved sources and 8 software sources.
Priority
Select
Registers