English
Language : 

MC68HC08AZ60 Datasheet, PDF (299/452 Pages) Motorola, Inc – Advance Information
Port G
Port G Data
Register
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).
The port G data register contains a data latch for each of the three port
G pins.
Address: $000A
Bit 7
6
5
4
3
2
1
Read: 0
0
0
0
0
PTG2 PTG1
Write: R
R
R
R
R
Reset:
Unaffected by Reset
Alternate
Function:
KBD2 KBD1
R = Reserved
Figure 20. Port G Data Register (PTG)
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, enable the port G pins as external interrupt
pins (See Keyboard Module (KBD) on page 355). Enabling an
external interrupt pin will override the corresponding DDRGx.
21-ioports
MOTOROLA
MC68HC08AZ60 — Rev 1.0
I/O Ports
299
For More Information On This Product,
Go to: www.freescale.com