Port D Register (Portd); Port D Pull-Up Control Register (Pdpcr); 10.12.5 Pin Functions - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

10.12.3 Port D Register (PORTD)

PORTD shows port D pin states.
PORTD cannot be modified.
Bit
Bit Name
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.

10.12.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
7
PD7PCR
6
PD6PCR
5
PD5PCR
4
PD4PCR
3
PD3PCR
2
PD2PCR
1
PD1PCR
0
PD0PCR

10.12.5 Pin Functions

Port D pins also function as the pins for data I/Os. The correspondence between the register
specification and the pin functions is shown below.
Initial Value
R/W
R
—*
R
—*
R
—*
R
—*
R
—*
R
—*
R
—*
R
—*
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
If a port D read is performed while PDDDR bits are
set to 1, the PDDR values are read. If a port D read
is performed while PDDDR bits are cleared to 0, the
pin states are read.
Description
When PDDDR = 0 (input port), the input pull-up MOS
of the input pin is on when the corresponding bit is
set to 1.
Rev. 1.0, 09/01, page 469 of 904

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents