Datasheet

Section 10 I/O Ports
Rev.7.00 Mar. 18, 2009 page 522 of 1136
REJ09B0109-0700
10.12.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
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 function
is specified to a general purpose I/O.
0 PD0DR 0 R/W
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
* 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.