9.9.3
Port D Register (PORTD)
PORTD shows port D pin states.
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.9.4
Port D Pull-up MOS Control Register (PDPCR)
PDPCR controls on/off states of the input pull-up MOS of port D.
Bit
Bit Name Initial Value
7
PD7PCR 0
6
PD6PCR 0
5
PD5PCR 0
4
PD4PCR 0
3
PD3PCR 0
2
PD2PCR 0
1
PD1PCR 0
0
PD0PCR 0
9.9.5
Pin Functions
Port D pins also functions as data bus (D15 to D8) I/O. The correspondence between the register
specification and the pin functions in shown below.
Rev. 3.0, 10/02, page 248 of 686
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 is
R
performed while PDDDR bits are cleared to 0, the pin
R
states are read.
R
R
R
R
R
R/W
Description
R/W
When the pin is in its input state, the input pull-up MOS of
the input pin is on when the corresponding bit is set to 1.
R/W
R/W
R/W
R/W
R/W
R/W
R/W