Datasheet

Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 498 of 926
REJ09B0283-0300
10.12.3 Port D Register (PORTD)
PORTD shows port D pin states.
PORTD cannot be modified.
Bit Bit Name Initial Value R/W Description
7 PD7 Undefined
*
R
6 PD6 Undefined
*
R
5 PD5 Undefined
*
R
4 PD4 Undefined
*
R
3 PD3 Undefined
*
R
2 PD2 Undefined
*
R
1 PD1 Undefined
*
R
0 PD0 Undefined
*
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 performed while PDDDR bits are cleared to 0, the
pin states are read.
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 modes 3
*
and 7.
Bit Bit Name Initial Value R/W Description
7 PD7PCR 0 R/W
6 PD6PCR 0 R/W
5 PD5PCR 0 R/W
4 PD4PCR 0 R/W
3 PD3PCR 0 R/W
2 PD2PCR 0 R/W
1 PD1PCR 0 R/W
0 PD0PCR 0 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.
Note: * Only in H8S/2678R Group.