Port D; Port D Data Direction Register (Pdddr) - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Section 9 I/O Ports
9.7

Port D

Port D is an 8-bit I/O port that also has other functions. Port D has the following registers. For
details on register addresses and register states during each processing, refer to appendix A, On-
Chip I/O Register.

• Port D data direction register (PDDDR)

• Port D data register (PDDR)
• Port D register (PORTD)
• Port D pull-up MOS control register (PDPCR)
9.7.1
Port D Data Direction Register (PDDDR)
PDDDR is an 8-bit write-only register, the individual bits of which specify whether the pins of
port D are used for input or output.
PDDDR cannot be read; if it is, an undefined value will be read.
Bit
Bit Name
7
PD7DDR
6
PD6DDR
5
PD5DDR
4
PD4DDR
3
PD3DDR
2
PD2DDR
1
PD1DDR
0
PD0DDR
Rev. 6.00 Mar 15, 2006 page 152 of 570
REJ09B0211-0600
Initial Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Description
When a pin is specified as a general purpose I/O
port, setting this bit to 1 makes the corresponding
port 1 pin an output pin. Clearing this bit to 0 makes
the pin an input pin.

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2600 seriesH8s/2612 seriesH8s/2612 f-ztat

Table of Contents