MC68HC711G5 MOTOROLA [Motorola, Inc], MC68HC711G5 Datasheet - Page 46

no-image

MC68HC711G5

Manufacturer Part Number
MC68HC711G5
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
Port F is an 8-bit general purpose output port which also supports the external address bus.
In the expanded modes (normal expanded and test), these pins act as the low order address output
pins. During each MCU cycle, bits 0 – 7 of the address are driven out of bits 0 – 7 of Port F. When
the NHALT bit in the OPT2 register is cleared and the HALT input is pulled low, all output buffers
on Port F pins go tri-state.
In the single chip modes (normal and bootstrap), the Port F pins are general purpose output only
pins. Reading Port F in these modes returns the sensed levels at the inputs to the Port F pin drivers.
The Port F data register is cleared at reset and all Port F bits output logic zeros.
4.9.1
READ:
WRITE:
RESET:
Port G is an 8-bit bidirectional port. Port G pins serve one of two basic functions depending on the
MCU mode selected; bidirectional data lines or general purpose I/O pins. In either mode, if the
GWOM bit in the OPT2 register is set, the p-channel drivers in the output buffers are disabled (wired-
OR mode).
Port G may be programmed as an input or an output under software control. The data direction of
each pin is determined by the state of the corresponding bit in the Port G data direction register
(DDRG). A pin is configured as an output if its corresponding DDRG bit is set to a logic one; a pin
is configured as an input if its corresponding DDRG bit is cleared. At reset, all DDRG bits are cleared,
which configure all Port G pins as inputs.
During the programmed output state, a read of Port G actually reads the value of output data latch
and not the pin level. When the GWOM bit in OPT2 is set, the p-channel drivers of output buffers
are disabled (wired-OR mode).
MOTOROLA
4-8
4.9
4.10
PORT F
PORT G
Data Register (PORTF)
RESET:
$1005
Any time (returns sensed levels at inputs of Port F pin drivers).
Data stored in internal latch (drives pins only if configured as general purpose outputs).
In single chip modes, all Port F pins are general purpose output only pins (all zeros).
In expanded modes, all Port F pins are low order address signal outputs.
PF7
7
0
PF6
6
0
PF5
5
0
INPUT/OUTPUT PORTS
PF4
4
0
PF3
3
0
PF2
2
0
PF1
1
0
PF0
0
0
PORTF
MC68HC11G5

Related parts for MC68HC711G5