English
Language : 

H8S2214 Datasheet, PDF (398/936 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcomputer H8S Family/H8S/2200 Series
Section 9 I/O Ports
9.10.2 Register Configuration
Table 9.18 shows the port D register configuration.
Table 9.18 Port D Registers
Name
Port D data direction register
Port D data register
Port D register
Port D MOS pull-up control register
Note: * Lower 16 bits of the address.
Abbreviation R/W
PDDDR
W
PDDR
R/W
PORTD
R
PDPCR
R/W
Initial Value
H'00
H'00
Undefined
H'00
Address*
H'FE3C
H'FF0C
H'FFBC
H'FE43
(1) Port D Data Direction Register (PDDDR)
Bit
:
7
6
5
4
3
2
1
0
PD7DDR PD6DDR PD5DDR PD4DDR PD3DDR PD2DDR PD1DDR PD0DDR
Initial value :
0
0
0
0
0
0
0
0
R/W
:W
W
W
W
W
W
W
W
PDDDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port D. PDDDR cannot be read; if it is, an undefined value will be read.
Setting a PDDDR bit to 1 makes the corresponding port C 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.
PDDDR 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.
(a) Modes 4 to 6
The input/output direction settings in PDDDR are ignored, and port D pins automatically
function as data input/output pins.
(b) Mode 7
Setting a PDDDR bit to 1 makes the corresponding port D pin an output port, while clearing
the bit to 0 makes the pin an input port.
Rev.4.00 Sep. 18, 2008 Page 338 of 872
REJ09B0189-0400