MC9S12XDP512CFU
Model | MC9S12XDP512CFU |
Description | 16-BIT, FLASH, 40MHz, MICROCONTROLLER, PQFP80 |
PDF file | Total 1348 pages (File size: 8M) |
Chip Manufacturer | PHILIPS |
Chapter 22 DP512 Port Integration Module (S12XDP512PIMV2)
22.4.3
Pin Interrupts
Ports P, H 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
22-78)
shorter than a specified time from generating an
interrupt. The minimum time varies over process conditions, temperature and voltage (Figure
22-77
and
Table 22-69).
Glitch, filtered out, no interrupt flag set
Valid pulse, interrupt flag set
uncertain
t
pign
t
pval
Figure 22-77. Interrupt Glitch Filter on Port P, H, and J (PPS = 0)
Table 22-69. Pulse Detection Criteria
Mode
Pulse
STOP
Ignored
Uncertain
Valid
1
Unit
Bus clocks
Bus clocks
Bus clocks
STOP
1
t
pulse
≤
t
pign
t
pign
< t
pulse
< t
pval
t
pulse
≥
t
pval
t
pulse
≤
3
3 < t
pulse
< 4
t
pulse
≥
4
These values include the spread of the oscillator frequency over temperature,
voltage and process.
t
pulse
Figure 22-78. Pulse Illustration
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
887