XC908AS60ACFU Motorola Semiconductor Products, XC908AS60ACFU Datasheet - Page 373

no-image

XC908AS60ACFU

Manufacturer Part Number
XC908AS60ACFU
Description
MC68HC908AZ60A, MC68HC908AS60A Hcmos Microcontroller Unit Technical Data
Manufacturer
Motorola Semiconductor Products
Datasheet
22.9 Port G
22.9.1 Port G Data Register
MC68HC908AZ60A — Rev 2.0
MOTOROLA
Function:
Alternate
Address:
Port G is a 3-bit special function port that shares all of its pins with the
keyboard interrupt module (KBD). Note that Port G is only available on
64-pin package options.
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, enable the port G pins as external interrupt
pins (See
external interrupt pin will override the corresponding DDRGx.
$000A
Bit 7
R
R
0
Figure 22-20. Port G Data Register (PTG)
Keyboard Module (KBD)
= Reserved
Input/Output Ports
R
6
0
R
5
0
Unaffected by Reset
R
4
0
on page 431). Enabling an
R
3
0
PTG2
KBD2
2
Input/Output Ports
PTG1
KBD1
1
Technical Data
PTG0
KBD0
Bit 0
Port G
373

Related parts for XC908AS60ACFU