English
Language : 

HD6473032F Datasheet, PDF (149/572 Pages) Hitachi Semiconductor – Hitachi Microcomputer
7.5 Port 5
7.5.1 Overview
Port 5 is a 4-bit input/output port with the pin configuration shown in figure 7-10. The pin functions
differ depending on the operating mode.
In mode 1, settings in the port 5 data direction register (P5DDR) designate pins for address bus
output (A19 to A16) or generic input. In modes 2 and 3, port 5 is a generic input/output port.
Port 5 has software-programmable built-in pull-up transistors.
Pins in port 5 can drive one TTL load and a 90-pF capacitive load. They can also drive a LED or a
darlington transistor pair.
Port 5
Port 5
pins
P53 /A19
P52 /A18
P51 /A17
P50 /A16
Mode 1
P53 (input)/A19 (output)
P52 (input)/A18 (output)
P51 (input)/A17 (output)
P50 (input)/A16 (output)
Modes 2 and 3
P53 (input/output)
P52 (input/output)
P51 (input/output)
P50 (input/output)
Figure 7-10 Port 5 Pin Configuration
7.5.2 Register Descriptions
Table 7-6 summarizes the registers of port 5.
Table 7-6 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 control register
Note: * Lower 16 bits of the address.
Abbreviation R/W
P5DDR
W
P5DR
R/W
P5PCR
R/W
Initial Value
H'F0
H'F0
H'F0
134