HD6475328-CP10 HITACHI [Hitachi Semiconductor], HD6475328-CP10 Datasheet - Page 176

no-image

HD6475328-CP10

Manufacturer Part Number
HD6475328-CP10
Description
original Hitachi CMOS microcomputer unit (MCU)
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet
Port 5 Data Register (P5DR)—H'FF8A
Bit
Initial value
Read/Write
P5DR is an 8-bit register containing the data for pins P5
At a reset and in the hardware standby mode, P5DR is initialized to H'00.
When the CPU reads P5DR, for output pins it reads the value in the P5DR latch, but for input
pins, it obtains the pin status directly.
9.6.3 Pin Functions in Each Mode
Port 5 operates in one way in modes 1 and 3, in another way in modes 2 and 4, and in a third way
in mode 7. Separate descriptions are given below.
Pin Functions in Modes 1 and 3: In modes 1 and 3 (expanded modes in which the on-chip ROM
is not used), all bits of P5DDR are automatically set to “1” for output, and the pins of port 5 carry
bits A
15
– A
8
of the address bus. Figure 9-12 shows the pin functions for modes 1 and 3.
R/W
P5
7
0
7
Figure 9-12 Port 5 Pin Functions in Modes 1 and 3
Port
5
R/W
P5
6
0
6
R/W
P5
5
0
5
A
A
A
A
A
A
A
A
15
14
13
12
11
10
9
8
159
R/W
P5
(output)
(output)
(output)
(output)
(output)
(output)
(output)
(output)
4
0
4
7
to P5
R/W
P5
3
0
3
0
.
R/W
P5
2
0
2
R/W
P5
1
0
1
R/W
P5
0
0
0

Related parts for HD6475328-CP10