English
Language : 

HD6413007F20 Datasheet, PDF (292/798 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
8. I/O Ports
8.6.2 Register Configuration
Table 8.9 summarizes the registers of port 9.
Table 8.9 Port 9 Registers
Address*
Name
Abbreviation R/W
H'EE008
Port 9 data direction register P9DDR
W
H'FFFD8
Port 9 data register
P9DR
R/W
Note: * Lower 20 bits of the address in advanced mode.
Initial Value
H'C0
H'C0
Port 9 Data Direction Register (P9DDR): P9DDR is an 8-bit write-only register that can select
input or output for each pin in port 9.
Bits 7 and 6 are reserved. They cannot be modified and always read as 1.
Bit
7
⎯
Initial value
1
Read/Write
⎯
6
5
4
3
2
1
0
⎯ P95DDR P94DDR P93DDR P92DDR P91DDR P90DDR
1
0
0
0
0
0
0
⎯
W
W
W
W
W
W
Reserved bits
Port 9 data direction 5 to 0
These bits select input or
output for port 9 pins
When a pin in port 9 becomes an output port if the corresponding P9DDR bit is set to 1, and an
input port if this bit is cleared to 0.
P9DDR is a write-only register. Its value cannot be read. All bits return 1 when read.
P9DDR is initialized to H'C0 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting. When transition is made to software standby mode while a P9DDR
bit is set to 1, the corresponding pin maintains its output state.
Port 9 Data Register (P9DR): P9DR is an 8-bit readable/writable register that stores output data
for port 9. When port 9 functions as an output port, the value of this register is output. When a bit
in P9DDR is set to 1, if port 9 is read the value of the corresponding P9DR bit is returned. When a
bit in P9DDR is cleared to 0, if port 9 is read the corresponding pin level is read.
Rev.5.00 Sep. 12, 2007 Page 262 of 764
REJ09B0396-0500