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

no-image

HD6475328-CP10

Manufacturer Part Number
HD6475328-CP10
Description
original Hitachi CMOS microcomputer unit (MCU)
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet
9.7.2 Port 6 Registers
Register Configuration: Table 9-10 lists the registers of port 6.
Table 9-10 Port 6 Registers
Name
Port 6 data direction register
Port 6 data register
1. Port 6 Data Direction Register (P6DDR)—H'FF89
Bit
Initial value
Read/Write
P6DDR is an 8-bit register that selects the direction of each pin in port 6.
Bits 3 to 0 can be written but not read. An attempt to read these bits does not cause an error, but
all bits are read as “1,” regardless of their true values.
Port
Single-Chip Mode and Expanded Minimum Modes: A pin functions as an output pin if the
corresponding bit in P6DDR is set to “1,” and as an input pin if the bit is cleared to “0.”
6
Pin
P6
P6
P6
P6
3
2
1
0
7
1
/ A
/ A
/ A
/ A
19
18
17
16
Mode 3
A
A
A
A
6
1
19
18
17
16
Figure 9-15 Pin Functions of Port 6
Abbreviation
P6DDR
P6DR
(output)
(output)
(output)
(output)
5
1
Mode 4
P6
P6
P6
P6
164
3
2
1
0
4
1
Read/Write
W
R/W
(input) / A
(input) / A
(input) / A
(input) / A
P6
3
W
3
0
DDR P6
19
18
17
16
(output)
(output)
(output)
(output)
Initial Value
H'F0
H'F0
2
W
2
DDR P6
0
Mode 1 and 2 and
Single-Chip Mode
P6
P6
P6
P6
1
W
3
2
1
0
1
DDR P6
0
(input/output)
(input/output)
(input/output)
(input/output)
Address
H'FF89
H'FF8B
0
W
0
0
DDR

Related parts for HD6475328-CP10