Port Integration Module (S12XSPIMV1)
S12XS Family Reference Manual, Rev. 1.13
126
Freescale Semiconductor
Table 2-72. Pulse Detection Criteria
Figure 2-75. Pulse Illustration
A valid edge on an input is detected if 4 consecutive samples of a passive level are followed by 4
consecutive samples of an active level directly or indirectly.
The filters are continuously clocked by the bus clock in RUN and WAIT mode. In STOP mode the clock
is generated by an RC-oscillator in the Port Integration Module. To maximize current saving the RC
oscillator runs only if the following condition is true on any pin individually:
Sample count <= 4 and interrupt enabled (PIE=1) and interrupt flag not set (PIF=0).
2.5
Initialization Information
2.5.1
Port Data and Data Direction Register writes
It is not recommended to write PORTx/PTx and DDRx in a word access. When changing the register pins
from inputs to outputs, the data may have extra transitions during the write access. Initialize the port data
register before enabling the outputs.
Pulse
Mode
STOP
STOP
1
1
These values include the spread of the oscillator frequency over tempera-
ture, voltage and process.
Unit
Ignored
t
pulse
≤
3
bus clocks
t
pulse
≤
t
pign
Uncertain
3 < t
pulse
< 4
bus clocks
t
pign
< t
pulse
< t
pval
Valid
t
pulse
≥
4
bus clocks
t
pulse
≥
t
pval
t
pulse
Summary of Contents for MC9S12XS128
Page 4: ...S12XS Family Reference Manual Rev 1 13 4 Freescale Semiconductor ...
Page 168: ...Interrupt S12XINTV2 S12XS Family Reference Manual Rev 1 13 168 Freescale Semiconductor ...
Page 736: ...Ordering Information S12XS Family Reference Manual Rev 1 13 736 Freescale Semiconductor ...
Page 737: ......