English
Language : 

MC68HC08AZ16 Datasheet, PDF (342/527 Pages) Motorola, Inc – HCMOS Microcontroller Unit
I/O Ports
Port G
Port G
Port G is a 3-bit general-purpose bidirectional I/O port.
Port G data
register (PTG)
The port G data register contains a data latch for each of the three port
G pins.
PTG
$000A
Read:
Write:
Reset:
Alternate
Function
Bit 7
6
5
4
3
2
0
0
0
0
0
PTG2
Unaffected by reset
KBD2
= Unimplemented
Figure 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 bit is under the control of the corresponding bit in data direction
register G. Reset has no effect on port G data.
KBD[2:0] — Keyboard Inputs
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 (KB) on page 313.
21-io
MOTOROLA
I/O Ports
MC68HC08AZ32
341