28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1437 of 1658
REJ09B0261-0100
28.2.36 Port K Pull-Up Control Register (PKPUPR) PKPUPR is an 8-bit readable/writable register that performs the pull-up control for each of the port K7 to K0 (PK7 to PK0) pins when the port K pins are used by peripheral modules. When the port K pins are used by the GPIO, the setting for this register is ignored.
01234567
11111111
PK0
PUPR
PK1
PUPR
PK2
PUPR
PK3
PUPR
PK4
PUPR
PK5
PUPR
PK6
PUPR
PK7
PUPR
R/WR/WR/WR/WR/WR/WR/WR/W
Bit:
Initial value:
R/W:
Bit Bit Name
Initial
value R/W Description
7 PK7PUPR 1 R/W
6 PK6PUPR 1 R/W
5 PK5PUPR 1 R/W
4 PK4PUPR 1 R/W
3 PK3PUPR 1 R/W
2 PK2PUPR 1 R/W
1 PK1PUPR 1 R/W
Pull-up of each Port K pin can be controlled
independently.
0: PKn pull-up off
1: PKn pull-up on
0 PK0PUPR 1 R/W
Note: n = 7 to 0