Datasheet
Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 382 of 980
REJ09B0050-0600
9.11.2 Port D Data Register (PDDR)
PDDR stores output data for the port D pins.
Bit Bit Name Initial Value R/W Description
7 PD7DR 0 R/W
6 PD6DR 0 R/W
5 PD5DR 0 R/W
4 PD4DR 0 R/W
Output data for a pin is stored when the pin function
is specified to a general purpose I/O.
3 PD3DR 0 R/W
2 PD2DR 0 R/W
1 PD1DR 0 R/W
0 PD0DR 0 R/W
9.11.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 —
*
R
6 PD6 —
*
R
5 PD5 —
*
R
4 PD4 —
*
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.
3 PD3 —
*
R
2 PD2 —
*
R
1 PD1 —
*
R
0 PD0 —
*
R
Note: * Determined by the states of pins PD7 to PD0.