English
Language : 

MC68HC08AZ60A Datasheet, PDF (337/480 Pages) Motorola, Inc – Microcontrollers
20.9 Port G
I/O Ports
Port G
Port G is a 3-bit special function port that shares all of its pins with the
Keyboard Interrupt Module (KBD).
20.9.1 Port G Data Register (PTG)
The port G data register contains a data latch for each of the three port
G pins.
Bit 7
6
5
4
3
2
Read: 0
0
0
0
0
PTG $000A
PTG2
Write:
Reset:
Unaffected by reset
Alternate Function
KBD2
= Unimplemented
Figure 20-19. Port G Data Register (PTG)
1
PTG1
KBD1
Bit 0
PTG0
KBD0
PTG[2:0] — Port G Data Bits
These read/write bits are software-programmable. Data direction of
each port G pin is under the control of the corresponding bit in data
direction register G. Reset has no effect on PTG[2:0].
KBD[2:0] — Keyboard Wakeup Pins
The keyboard interrupt enable bits, KBIE[2:0], in the keyboard
interrupt control register (KBICR), enable the port G pins as external
interrupt pins. See Keyboard Module (KBD) on page 395. Enabling
an external interrupt pin will override the corresponding DDRGx.
MC68HC08AZ60A — Rev 0.0
MOTOROLA
I/O Ports
Advance Information
337