English
Language : 

HD6475328-CP10 Datasheet, PDF (176/459 Pages) Hitachi Semiconductor – original Hitachi CMOS microcomputer unit (MCU)
Port 5 Data Register (P5DR)—H'FF8A
Bit
Initial value
Read/Write
7
P57
0
R/W
6
P56
0
R/W
5
P55
0
R/W
4
P54
0
R/W
3
P53
0
R/W
2
P52
0
R/W
1
P51
0
R/W
0
P50
0
R/W
P5DR is an 8-bit register containing the data for pins P57 to P50.
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 A15 – A8 of the address bus. Figure 9-12 shows the pin functions for modes 1 and 3.
A15 (output)
A14 (output)
A13 (output)
Port
A12 (output)
5
A11 (output)
A10 (output)
A9 (output)
A8 (output)
Figure 9-12 Port 5 Pin Functions in Modes 1 and 3
159