English
Language : 

MC9S12P128_10 Datasheet, PDF (105/566 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
Port Integration Module (S12PPIMV1)
2.4.4 Pin interrupts
Ports P and J offer pin interrupt capability. The interrupt enable as well as the sensitivity to rising or falling
edges can be individually configured on per-pin basis. All bits/pins in a port share the same interrupt
vector. Interrupts can be used with the pins configured as inputs or outputs.
An interrupt is generated when a bit in the port interrupt flag register and its corresponding port interrupt
enable bit are both set. The pin interrupt feature is also capable to wake up the CPU when it is in STOP or
WAIT mode.
A digital filter on each pin prevents pulses (Figure 2-66) shorter than a specified time from generating an
interrupt. The minimum time varies over process conditions, temperature and voltage (Figure 2-65 and
Table 2-60).
Glitch, filtered out, no interrupt flag set
Valid pulse, interrupt flag set
uncertain
tpign
tpval
Figure 2-65. Interrupt Glitch Filter on Port P and J (PPS=0)
Table 2-60. Pulse Detection Criteria
Mode
Pulse
STOP
STOP(1)
Unit
Ignored
tpulse ≤ 3 bus clocks
tpulse ≤ tpign
Uncertain
3 < tpulse < 4 bus clocks
tpign < tpulse < tpval
Valid
tpulse ≥ 4 bus clocks
tpulse ≥ tpval
1. These values include the spread of the oscillator frequency over temperature,
voltage and process.
S12P-Family Reference Manual, Rev. 1.13
Freescale Semiconductor
105