English
Language : 

HD64F3039F18 Datasheet, PDF (162/710 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Series
Section 7 I/O Ports
7.2.2 Register Descriptions
Table 7.2 summarizes the registers of port 1.
Table 7.2 Port 1 Registers
Address* Name
Abbreviation R/W
H'FFC0
Port 1 data direction P1DDR
W
register
H'FFC2
Port 1 data register
P1DR
R/W
Note: * Lower 16 bits of the address.
Initial Value
Modes 1, 3 Modes 5 to 7
H'FF
H'00
H'00
H'00
Port 1 Data Direction Register (P1DDR)
P1DDR is an 8-bit write-only register that can select input or output for each pin in port 1.
Bit
7
6
5
4
3
2
1
0
P17DDR P16DDR P15DDR P14DDR P13DDR P12DDR P11DDR P10DDR
Modes Initial value 1
1
1
1
1
1
1
1
1, 3 Read/Write —
—
—
—
—
—
—
—
Modes Initial value 0
0
0
0
0
0
0
0
5 to 7 Read/Write W
W
W
W
W
W
W
W
Port 1 data direction 7 to 0
These bits select input or
output for port 1 pins
P1DDR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting. If a P1DDR bit is set to 1, the corresponding pin maintains its output
state in software standby mode.
Rev.3.00 Mar. 26, 2007 Page 138 of 682
REJ09B0353-0300