English
Language : 

HD6433044 Datasheet, PDF (272/867 Pages) Hitachi Semiconductor – Hitachi Single-Chip Microcomputer
9.6 Port 5
9.6.1 Overview
Port 5 is a 4-bit input/output port with the pin configuration shown in figure 9-5. The pin functions
differ depending on the operating mode.
In modes 1 to 4 (expanded modes with on-chip ROM disabled), port 5 consists of address output
pins (A19 to A16). In modes 5 and 6 (expanded modes with on-chip ROM enabled), settings in the
port 5 data direction register (P5DDR) designate pins for address bus output (A19 to A16) or
generic input. In mode 7 (single-chip mode), port 5 is a generic input/output port.
Port 5 has software-programmable built-in pull-up MOS transistors.
Pins in port 5 can drive one TTL load and a 90-pF capacitive load. They can also drive an LED or
a darlington transistor pair.
Port 5
Port 5
pins
P53 /A19
P52 /A18
P51 /A17
P50 /A16
Modes 1 to 4
A19 (output)
A18 (output)
A17 (output)
A16 (output)
Modes 5 and 6
Mode 7
P53 (input)/A19 (output)
P52 (input)/A18 (output)
P51 (input)/A17 (output)
P50 (input)/A16 (output)
P53 (input/output)
P52 (input/output)
P51 (input/output)
P50 (input/output)
Figure 9-5 Port 5 Pin Configuration
9.6.2 Register Descriptions
Table 9-8 summarizes the registers of port 5.
Table 9-8 Port 5 Registers
Address* Name
H'FFC8 Port 5 data direction register
H'FFCA Port 5 data register
H'FFDB Port 5 input pull-up MOS
control register
Note: * Lower 16 bits of the address.
Abbreviation
P5DDR
P5DR
P5PCR
Initial Value
R/W Modes 1 to 4 Modes 5 to 7
W H'FF
H'F0
R/W H'F0
H'F0
R/W H'F0
H'F0
259