![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 221](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898221.webp)
Chapter 9 Interrupt Controller (INTC)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
221
9.6.3.2
Hardware vector mode handshaking
A timing diagram of the interrupt request and acknowledge handshaking in hardware vector mode, along
with the handshaking near the end of the interrupt exception handler, is shown in
. As in
software vector mode, the INTC examines the peripheral and software settable interrupt requests, and
when it finds an asserted one with a higher priority than PRI in INTC_CPR, it asserts the interrupt request
to the processor. The INTVEC field in the INTC_IACKR is updated with the preempting peripheral or
software settable interrupt request’s vector when the interrupt request to the processor is asserted. The
INTVEC field retains that value until the next time the interrupt request to the processor is asserted. In
addition, the value of the interrupt vector to the processor matches the value of the INTVEC field in the
INTC_IACKR. The rest of the handshaking is described in”
Section 9.4.1.2, “Hardware vector mode
.
The handshaking near the end of the interrupt exception handler, that is the writing to the INTC_EOIR, is
the same as in software vector mode. Refer to
Section 9.6.3.1.2, “End of interrupt exception handler
.
Figure 9-11. Hardware vector mode handshaking timing diagram
9.7
Initialization/application information
9.7.1
Initialization flow
After exiting reset, all of the PRI
n
fields in INTC Priority Select Registers
(INTC_PSR0_3–INTC_PSR220_221) will be zero, and PRI in INTC current priority register
(INTC_CPR) will be 15. These reset values will prevent the INTC from asserting the interrupt request to
the processor. The enable or mask bits in the peripherals are reset such that the peripheral interrupt requests
0
108
0
1
0
Clock
Interrupt request to processor
Hardware vector enable
Interrupt vector
Interrupt acknowledge
Read INTC_IACKR
Write INTC_EOIR
INTVEC in INTC_IACKR
PRI in INTC_CPR
Peripheral interrupt request 100
0
108