English
Language : 

MC912D60AVPVE8 Datasheet, PDF (134/460 Pages) Freescale Semiconductor, Inc – HC12 Microcontrollers
I/O Ports with Key Wake-up
Bit 7
6
5
4
KWIFH7 KWIFH6 KWIFH5 KWIFH4
RESET:
0
0
0
0
KWIFH — Key Wake-up Port H Flag Register
3
KWIFH3
0
2
KWIFH2
0
1
KWIFH1
0
Bit 0
KWIFH0
0
$002F
Read and write anytime.
Each flag is set by a falling edge on its associated input pin. To clear the
flag, write one to the corresponding bit in KWIFH.
KWIFH[7:0] — Key Wake-up Port H Flags
0 = Falling edge on the associated bit has not occurred
1 = Falling edge on the associated bit has occurred (an interrupt
will occur if the associated enable bit is set)
10.4 Key Wake-Up Input Filter
The KWU input signals are filtered by a digital filter which is active only
during STOP mode. The purpose of the filter is to prevent single pulses
shorter than a specified value from waking the part from STOP.
The filter is composed of an internal oscillator and a majority voting logic.
The filter oscillator starts the oscillation by detecting a triggering edge on
an input if the corresponding interrupt enable bit is set. The majority
voting logic takes three samples of an asserted input pin at each filter
oscillator period and if two samples are taken at the triggering level, the
filter recognizes a valid triggering level and sets the corresponding
interrupt flag. In this way the majority voting logic rejects the short non-
triggering state between two incoming triggering pulses. As the filter is
shared with all KWU inputs, the filter considers any pulse coming from
any input pin for which the corresponding interrupt enable bit is set.
The timing specification is given for a single pulse. The time interval
between the triggering edges of two following pulses should be greater
than the tKWSP in order to be considered as a single pulse by the filter. If
Technical Data
134
I/O Ports with Key Wake-up
MC68HC912D60A — Rev. 3.1
Freescale Semiconductor