Port D Register (Portd); Port D Pull-Up Control Register (Pdpcr) - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

9.11.3

Port D Register (PORTD)

PORTD shows port D pin states.
PORTD cannot be modified.
Bit
Bit Name
Initial Value
7
PD7
—*
6
PD6
—*
5
PD5
—*
4
PD4
—*
3
PD3
—*
2
PD2
—*
1
PD1
—*
0
PD0
—*
Note: * Determined by the states of pins PD7 to PD0.
9.11.4

Port D Pull-up Control Register (PDPCR)

PDPCR controls on/off states of the input pull-up MOS of port D. PDPCR is valid in mode 7.
Bit
Bit Name
Initial Value
7
PD7PCR
6
PD6PCR
5
PD5PCR
4
PD4PCR
3
PD3PCR
2
PD2PCR
1
PD1PCR
0
PD0PCR
R/W
Description
R
If a port D read is performed while PDDDR bits are
set to 1, the PDDR values are read. If a port D read
R
is performed while PDDDR bits are cleared to 0, the
R
pin states are read.
R
R
R
R
R
R/W
Description
0
R/W
When PDDDR = 0 (input port), the input pull-up MOS
of the input pin is on when the corresponding bit is
0
R/W
set to 1.
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Rev. 2.00, 05/03, page 357 of 820

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents