HD643303x Hitachi, HD643303x Datasheet - Page 149

no-image

HD643303x

Manufacturer Part Number
HD643303x
Description
Hitachi Microcomputer
Manufacturer
Hitachi
Datasheet
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 (A
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.
7.5.2 Register Descriptions
Table 7-6 summarizes the registers of port 5.
Table 7-6 Port 5 Registers
Address*
H'FFC8
H'FFCA
H'FFDB
Note: * Lower 16 bits of the address.
19
Port 5
to A
Name
Port 5 data direction register
Port 5 data register
Port 5 input pull-up control register
16
) or generic input. In modes 2 and 3, port 5 is a generic input/output port.
Port 5
pins
P5 /A
P5 /A
P5 /A
P5 /A
Figure 7-10 Port 5 Pin Configuration
3
2
1
0
19
18
17
16
Mode 1
P5 (input)/A
P5 (input)/A
P5 (input)/A
P5 (input)/A
3
2
1
0
134
Abbreviation
P5DDR
P5DR
P5PCR
19
18
17
16
(output)
(output)
(output)
(output)
Modes 2 and 3
P5 (input/output)
P5 (input/output)
P5 (input/output)
P5 (input/output)
R/W
W
R/W
R/W
3
2
1
0
Initial Value
H'F0
H'F0
H'F0

Related parts for HD643303x