Datasheet

Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 344 of 982
REJ09B0054-0600
10.9.2 Port D Data Register (PDDR)
PDDR stores output data for 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
3 PD3DR 0 R/W
2 PD2DR 0 R/W
1 PD1DR 0 R/W
Output data for a pin is stored when the pin is
specified as a general purpose output port.
0 PD0DR 0 R/W
10.9.3 Port D Register (PORTD)
PORTD shows port D pin states. This register cannot be modified.
Bit Bit Name Initial Value R/W Description
7 PD7
*
R
6 PD6
*
R
5 PD5
*
R
4 PD4
*
R
3 PD3
*
R
2 PD2
*
R
1 PD1
*
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.
0 PD0
*
R
Note: * Determined by the states of pins PD7 to PD0.