English
Language : 

H8S-2214 Datasheet, PDF (369/936 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family H8S-2100 Series
Section 9 I/O Ports
9.5.2 Register Configuration
Table 9.7 shows the port 7 register configuration.
Table 9.7 Port 7 Registers
Name
Port 7 data direction register
Port 7 data register
Port 7 register
External module connection output pin
select register
Note: * Lower 16 bits of the address.
Abbreviation R/W
P7DDR
W
P7DR
R/W
PORT7
R
OPINSEL
R/W
Initial Value
H'00
H'00
Undefined
B'-000----
Address*
H'FE36
H'FF06
H'FFB6
H'FE4E
(1) Port 7 Data Direction Register (P7DDR)
Bit
:7
6
5
4
3
2
1
0
P77DDR P76DDR P75DDR P74DDR P73DDR P72DDR P71DDR P70DDR
Initial value : 0
0
0
0
0
0
0
0
R/W
:W
W
W
W
W
W
W
W
P7DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 7. P7DDR cannot be read; if it is, an undefined value will be read.
Setting a P7DDR bit to 1 makes the corresponding port 7 pin an output pin, while clearing the bit
to 0 makes the pin an input pin.
Since this register is a write-only register, do not use bit manipulation instructions to write to this
register. See section 2.10.4, Access Methods for Registers with Write-Only Bits.
P7DDR is initialized to H'00 by a power-on reset and in hardware standby mode. It retains its
previous state after a manual reset and in software standby mode. As the 8-bit timer and SCI are
initialized by a manual reset, the pin states in this case are determined by the P7DDR and P7DR
specifications.
Rev.4.00 Sep. 18, 2008 Page 309 of 872
REJ09B0189-0400