Datasheet

Section 8 I/O Ports
Rev. 2.00 Aug. 20, 2008 Page 260 of 1198
REJ09B0403-0200
(2) Port D Output Data Register (PDODR)
PDODR stores output data for the port D pins.
Bit Bit Name Initial Value R/W Description
7 PD7ODR 0 R/W
6 PD6ODR 0 R/W
5 PD5ODR 0 R/W
4 PD4ODR 0 R/W
3 PD3ODR 0 R/W
2 PD2ODR 0 R/W
1 PD1ODR 0 R/W
0 PD0ODR 0 R/W
The PCODR register stores the output data for the
pins that are used as the general output port.
(3) Port D Input Data Register (PDPIN)
PDPIN indicates the pin states of port D.
Bit Bit Name Initial Value R/W Description
7 PD7PIN Undefined* R
6 PD6 PIN Undefined* R
5 PD5PIN Undefined* R
4 PD4 PIN Undefined* R
3 PD3 PIN Undefined* R
2 PD2 PIN Undefined* R
1 PD1 PIN Undefined* R
0 PD0 PIN Undefined* R
When this register is read, the pin states are read.
Since this register is allocated to the same address as
PDDDR, writing to this register writes data to PDDDR
and the port D setting is changed.
Note: The initial values are determined in accordance with the states of PD7 to PD0 pins.