English
Language : 

MC68HC08AZ32A Datasheet, PDF (315/456 Pages) Motorola, Inc – HCMOS Microcontroller Unit
19.9 Port G
Freescale Semiconductor, Inc.
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).
19.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: R
R
R
R
R
Reset:
Unaffected by reset
Alternate Function
KBD2
R = Reserved
Figure 19-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 373. Enabling
an external interrupt pin will override the corresponding DDRGx.
MC68HC08AZ32A — Rev 1.0
MOTOROLA
I/O Ports
For More Information On This Product,
Go to: www.freescale.com
Technical Data
315