English
Language : 

MC68HC812A4 Datasheet, PDF (146/342 Pages) Motorola, Inc – 16-bit device composed of standard on-chip peripheral modules connected by an intermodule bus. Modules include
Key Wakeups
9.3.4 Port D Key Wakeup Flag Register
Address: $0021
Bit 7
6
5
4
3
2
1
Bit 0
Read:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Write:
Reset: 0
0
0
0
0
0
0
0
Figure 9-4. Port D Key Wakeup Flag Register (KWIFD)
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.3.5 Port H Data Register
Address: $0024
Bit 7
6
5
4
3
2
Read:
PH7
PH6
PH5
PH4
PH3
PH2
Write:
Reset: 0
0
0
0
0
0
Alternate pin function: KWH7 KWH6 KWH5 KWH4 KWH3 KWH2
Figure 9-5. Port H Data Register (PORTH)
Read: Anytime
Write: Anytime
1
PH1
0
KWH1
Bit 0
PH0
0
KWH0
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.
MC68HC812A4 — Rev. 3.0
146
Key Wakeups
Advance Information
MOTOROLA