h8s-2649 Renesas Electronics Corporation., h8s-2649 Datasheet - Page 248

no-image

h8s-2649

Manufacturer Part Number
h8s-2649
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 9 I/O Ports
9.10
Port D is an 8-bit I/O port. Port D has a data bus I/O function, and the pin functions change
according to the operating mode.
Port D has a built-in MOS input pull-up function that can be controlled by software.
• Port D data direction register (PDDDR)
• Port D data register (PDDR)
• Port D register (PORTD)
• Port D pull-up MOS control register (PDPCR)
9.10.1
PDDDR is a 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.
Rev. 2.00 Dec. 05, 2005 Page 210 of 724
REJ09B0200-0200
Bit
7
6
5
4
3
2
1
0
Port D
Port D Data Direction Register (PDDDR)
Bit Name
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
Description
Setting a PDDDR bit to 1 makes the corresponding port
D pin an output pin, while clearing the bit to 0 makes
the pin an input pin.

Related parts for h8s-2649