HD6432621 Hitachi, HD6432621 Datasheet - Page 258

no-image

HD6432621

Manufacturer Part Number
HD6432621
Description
(HD64F262x Series) 16-Bit Microcomputer
Manufacturer
Hitachi
Datasheet
9.2.2
Table 9-2 shows the port 1 register configuration.
Table 9-2
Name
Port 1 data direction register
Port 1 data register
Port 1 register
Note: * Lower 16 bits of the address.
Port 1 Data Direction Register (P1DDR)
P1DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 1. P1DDR cannot be read; if it is, an undefined value will be read.
Setting a P1DDR bit to 1 makes the corresponding port 1 pin an output pin, while clearing the bit
to 0 makes the pin an input pin.
P1DDR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
Port 1 Data Register (P1DR)
P1DR is an 8-bit readable/writable register that stores output data for the port 1 pins (P17 to P10).
P1DR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
214
Bit
Initial value :
R/W
Bit
Initial value :
R/W
Register Configuration
Port 1 Registers
:
:
:
:
P17DDR P16DDR P15DDR P14DDR P13DDR P12DDR P11DDR P10DDR
P17DR
R/W
W
7
0
7
0
P16DR
R/W
W
6
0
6
0
Abbreviation
P1DDR
P1DR
PORT1
P15DR
R/W
W
5
0
5
0
P14DR
R/W
W
4
0
4
0
R/W
W
R/W
R
P13DR
R/W
W
3
0
3
0
Initial Value
H'00
H'00
Undefined
P12DR
R/W
W
2
0
2
0
P11DR
R/W
W
1
0
1
0
Address*
H'FE30
H'FF00
H'FFB0
P10DR
R/W
W
0
0
0
0

Related parts for HD6432621