MC68HC711PH8 Motorola, MC68HC711PH8 Datasheet - Page 86

no-image

MC68HC711PH8

Manufacturer Part Number
MC68HC711PH8
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
Manufacturer
Motorola
Datasheet
4
4.7
Port G is an 8-bit bidirectional port, with both data and data direction registers. In addition to their
I/O capability, port G pins are shared with R/W, LCD, SCI2 (with MI-bus) and SPI2 functions, as
shown in the following table.
Pins PG[6:0] are high-impedance inputs with software selectable pull-up resistors, as is PG7 in
single chip and bootstrap modes (see Section 4.9). In expanded or test modes, PG7 is the R/W
output.
4.7.1
This is a read/write register and is not affected by reset. The bits may be read and written at any
time, but, when a pin is allocated to its alternate function, a write to the corresponding register bit
has no effect on the pin state.
4.7.2
DDG[7:0] — Data direction for port G
MOTOROLA
4-8
Data direction G (DDRG)
Port G data (PORTG)
1 (set)
0 (clear) –
Port G
PORTG — Port G data register
DDRG — Data direction register for port G
The corresponding pin is configured as an output.
The corresponding pin is configured as an input.
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7
Pin
Address
Address
$007E
$007F
PARALLEL INPUT/OUTPUT
Alternate
function
LCDBP
MISO2
MOSI2
RXD2
DDG7 DDG6 DDG5 DDG4 DDG3 DDG2 DDG1 DDG0 0000 0000
TXD2
SCK2
SS2
R/W
PG7
bit 7
bit 7
bit 6
PG6
bit 6
PG5
bit 5
bit 5
See Section 5 for
more information.
See Section 7 for
more information.
See Section 2 for
more information.
bit 4
PG4
bit 4
PG3
bit 3
bit 3
PG2
bit 2
bit 2
PG1
bit 1
bit 1
MC68HC11PH8
PG0
bit 0
bit 0
undeÞned
on reset
on reset
State
State
TPG

Related parts for MC68HC711PH8