Datasheet
Key Wakeup Registers
MC68HC812A4 Data Sheet, Rev. 7
Freescale Semiconductor 95
9.2.4 Port D Key Wakeup Flag Register
Read: Anytime
Write: Anytime
Each flag is set by a falling edge on its associated input pin. To clear the flag, write 1 to the corresponding
bit in KWIFD.
This register is not in the map in wide expanded modes or in special expanded narrow mode with MODE
register bit EMD set.
KWIFD7–KWIFD0 — Key Wakeup Port D Flags
1 = Falling edge on the associated bit has occurred. An interrupt occurs if the associated enable bit
is set.
0 = Falling edge on the associated bit has not occurred.
9.2.5 Port H Data Register
Read: Anytime
Write: Anytime
Port H is associated with key wakeup H. Key wakeups can be used with the pins designated as inputs or
outputs. DDRH determines whether each pin is an input or output.
Address: $0021
Bit 7654321Bit 0
Read:
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Write:
Reset:00000000
Figure 9-4. Port D Key Wakeup Flag Register (KWIFD)
Address: $0024
Bit 7654321Bit 0
Read:
PH7 PH6 PH5 PH4 PH3 PH2 PH1 PH0
Write:
Reset:00000000
Alternate pin function:KWH7KWH6KWH5KWH4KWH3KWH2KWH1KWH0
Figure 9-5. Port H Data Register (PORTH)
