28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1427 of 1658
REJ09B0261-0100
28.2.26 Port K Data Register (PKDR) PKDR is an 8-bit readable/writable register that stores port K data.
01234567
xx
PK0DTPK1DTPK2DTPK3DTPK4DTPK5DTPK6DTPK7DT
R/WR/WR/WR/WR/WR/WR/WR/W
Bit:
Initial value:
R/W:
00 xxxx
Bit Bit Name
Initial
value R/W Description
7 PK7DT 0 R/W
6 PK6DT 0 R/W
5 PK5DT Pin input R/W
4 PK4DT Pin input R/W
3 PK3DT Pin input R/W
2 PK2DT Pin input R/W
1 PK1DT Pin input 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 PK0DT Pin input R/W