28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1430 of 1658
REJ09B0261-0100
28.2.29 Port N Data Register (PNDR) PNDR is an 8-bit readable/writable register that stores port N data.
01234567
000000xx
PN0DTPN1DTPN2DTPN3DTPN4DTPN5DTPN6DTPN7DT
R/WR/WR/WR/WR/WR/WR/WR/W
Bit:
Initial value:
R/W:
Bit Bit Name
Initial
value R/W Description
7 PN7DT Pin input R/W
6 PN6DT Pin input R/W
5 PN5DT 0 R/W
4 PN4DT 0 R/W
3 PN3DT 0 R/W
2 PN2DT 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.
1 PN1DT 0 R/W
0 PN0DT 0 R/W