28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1421 of 1658
REJ09B0261-0100
28.2.20 Port D Data Register (PDDR) PDDR is an 8-bit readable/writable register that stores port D data.
01234567
00000000
PD0DTPD1DTPD2DTPD3DTPD4DTPD5DTPD6DTPD7DT
R/WR/WR/WR/WR/WR/WR/WR/W
Bit:
Initial value:
R/W:
Bit Bit Name
Initial
value R/W Description
7 PD7DT 0 R/W
6 PD6DT 0 R/W
5 PD5DT 0 R/W
4 PD4DT 0 R/W
3 PD3DT 0 R/W
2 PD2DT 0 R/W
1 PD1DT 0 R/W
These bits store output data of a pin which is used as a
general-purpose output port. When the pin functions as
a general-purpose output port, reading the port will read
out the value of the corresponding bit of this register.
When the pin functions as a general-purpose input port,
reading the port will read out the status of the
corresponding pin.
0 PD0DT 0 R/W