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

16-bit single-chip microcomputer
Table of Contents

Advertisement

9.11

Port D

Port D is an 8-bit I/O port that also has other functions. The port D has the following registers.

• Port D data direction register (PDDDR)

• Port D data register (PDDR)

• Port D register (PORTD)
• Port D MOS pull-up control register (PDPCR)
9.11.1
Port D Data Direction Register (PDDDR)
The individual bits of PDDDR specify input or output for the pins of port D.
PDDDR cannot be read; if it is, an undefined value will be read.
Bit
Bit Name
Initial Value
7
PD7DDR
0
6
PD6DDR
0
5
PD5DDR
0
4
PD4DDR
0
3
PD3DDR
0
2
PD2DDR
0
1
PD1DDR
0
0
PD0DDR
0
9.11.2
Port D Data Register (PDDR)
PDDR stores output data for the port D pins.
Bit
Bit Name
Initial Value
7
PD7DR
0
6
PD6DR
0
5
PD5DR
0
4
PD4DR
0
3
PD3DR
0
2
PD2DR
0
1
PD1DR
0
0
PD0DR
0
Rev. 2.00, 05/03, page 356 of 820
R/W
Description
W
Modes 1, 2, 4, and 7 (when EXPE = 1)
Port D is automatically designated for data
W
input/output.
W
Mode 7 (when EXPE = 0)
W
Port D is an I/O port, and its pin functions can be
W
switched with PDDDR.
W
W
W
R/W
Description
R/W
Output data for a pin is stored when the pin function
is specified to a general purpose I/O.
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents