DS80C320-ECD DALLAS [Dallas Semiconductor], DS80C320-ECD Datasheet - Page 116

no-image

DS80C320-ECD

Manufacturer Part Number
DS80C320-ECD
Description
High-Speed Microcontroller User Guide
Manufacturer
DALLAS [Dallas Semiconductor]
Datasheet
PORT 0 FUNCTIONAL CIRCUITRY Figure 10-1
PORT 2
General Purpose I/O
Devices which have internal program memory have the ability to use Port 2 for a general purpose I/O.
Data written to the port latch serves to set both level and direction of the data on the pin. When used as
an I/O port, it has complementary outputs that will drive both high and low logic levels. More detail on
the functions of these pins is provided under the description of output and input functions in this section.
Even if internal memory is present, the use of Port 2 as general purpose I/O pins is not recommended if
the device will be used to access external memory. This is because the state of the pins will be disturbed
during the memory access. It is still possible, however, to use the Port 2 latch to hold the upper address
byte for Register Indirect Addressing instructions.
Most Significant Address Byte, A8-15
When used to address expanded memory, Port 2 functions as the most significant byte of the address bus.
Port 2 must function as the address bus on ROMless devices. When serving as a bus, Port 2 will be
driven with strong drivers at all times except immediately after the rising edge of PSEN. See Figure 5-3
and 5-4 for more details.
INTERNAL
DATA BUS
WRITE
ENABLE
ENABLE
READ
D Q
ADDRESS\
Q
DATA
READ
LATCH/PIN
116 of 175
EXTERNAL
CONTROL
ADDRESS
High-Speed Microcontroller User’s Guide
VCC
POWER
DOWN
PORT
0.n

Related parts for DS80C320-ECD