English
Language : 

HD6473032F16 Datasheet, PDF (293/847 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Section 9 I/O Ports
9.6.2 Register Configuration
Table 9.8 summarizes the registers of port 5.
Table 9.8 Port 5 Registers
Address* Name
Abbreviation R/W
H'FFC8
Port 5 data direction
P5DDR
W
register
H'FFCA
Port 5 data register
P5DR
R/W
H'FFDB
Port 5 input pull-up MOS P5PCR
R/W
control register
Note: * Lower 16 bits of the address.
Initial Value
Modes 1 to 4 Modes 5 to 7
H'FF
H'F0
H'F0
H'F0
H'F0
H'F0
Port 5 Data Direction Register (P5DDR)
P5DDR is an 8-bit write-only register that can select input or output for each pin in port 5.
Bit
7
6
5
4
3
2
1
0
—
—
—
— P53DDR P52DDR P51DDR P50DDR
Modes Initial value 1
1
1
1
1
1
1
1
1 to 4 Read/Write —
—
—
—
—
—
—
—
Modes Initial value 1
1
1
1
0
0
0
0
5 to 7 Read/Write —
—
—
—
W
W
W
W
Reserved bits
Port 5 data direction 3 to 0
These bits select input or
output for port 5 pins
• Modes 1 to 4 (Expanded Modes with On-Chip ROM Disabled)
P5DDR values are fixed at 1 and cannot be modified. Port 5 functions as an address bus. The
reserved bits (P57DDR to P54DDR) are also fixed at 1.
• Modes 5 and 6 (Expanded Modes with On-Chip ROM Enabled)
Following a reset, port 5 is an input port. A pin in port 5 becomes an address output pin if the
corresponding P5DDR bit is set to 1, and an input port if this bit is cleared to 0.
• Mode 7 (Single-Chip Mode)
Port 5 functions as an input/output port. A pin in port 5 becomes an output port if the
corresponding P5DDR bit is set to 1, and an input port if this bit is cleared to 0.
Rev. 3.00 Mar 21, 2006 page 263 of 814
REJ09B0302-0300