![Freescale Semiconductor MC9S12ZVM series Reference Manual Download Page 113](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602113.webp)
Chapter 2 Port Integration Module (S12ZVMPIMV1)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
113
Figure 2-24. Illustration of I/O pin functionality
2.4.4
Interrupts
This section describes the interrupts generated by the PIM and their individual sources. Vector addresses
and interrupt priorities are defined at MCU level.
2.4.4.1
XIRQ, IRQ Interrupts
The XIRQ pin allows requesting non-maskable interrupts after reset initialization. During reset, the X bit
in the condition code register is set and any interrupts are masked until software enables them.
The IRQ pin allows requesting asynchronous interrupts. The interrupt input is disabled out of reset. To
enable the interrupt the IRQCR[IRQEN] bit must be set and the I bit cleared in the condition code register.
The interrupt can be configured for level-sensitive or falling-edge-sensitive triggering. If IRQCR[IRQEN]
is cleared while an interrupt is pending, the request will deassert.
Table 2-24. PIM Interrupt Sources
Module Interrupt Sources
Local Enable
XIRQ
None
IRQ
IRQCR[IRQEN]
Port S pin interrupt
PIES[PIES5-PIES0]
Port P pin interrupt
PIEP[PIEP2-PIEP0]
Port AD pin interrupt
PIEADH[PIEADH0]
PIEADL[PIEADL7-PIEADL0]
PP0 over-current interrupt
PIEP[OCIE1]
PTx
DDRx
output enable
port enable
1
0
1
0
PIN
data out
Periph.
data in
Module
1
0
synch.
PTIx