MC68HC08AZ60ACFU MOTOROLA [Motorola, Inc], MC68HC08AZ60ACFU Datasheet - Page 337

no-image

MC68HC08AZ60ACFU

Manufacturer Part Number
MC68HC08AZ60ACFU
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
20.9 Port G
20.9.1 Port G Data Register (PTG)
MC68HC08AZ60A — Rev 0.0
MOTOROLA
PTG $000A
Alternate Function
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.
PTG[2:0] — Port G Data Bits
KBD[2:0] — Keyboard Wakeup Pins
Reset:
Read:
Write:
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].
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
an external interrupt pin will override the corresponding DDRGx.
Figure 20-19. Port G Data Register (PTG)
Bit 7
0
= Unimplemented
0
6
I/O Ports
Keyboard Module (KBD)
5
0
Unaffected by reset
0
4
3
0
on page 395. Enabling
PTG2
KBD2
2
Advance Information
PTG1
KBD1
1
I/O Ports
PTG0
KBD0
Bit 0
Port G
337

Related parts for MC68HC08AZ60ACFU