28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1439 of 1658
REJ09B0261-0100
28.2.38 Port M Pull-Up Control Register (PMPUPR) PMPUPR is an 8-bit readable/writable register that performs the pull-up control for each of the port M1 and M0 (PM1 to PM0) pins when the port M pins are used by peripheral modules. When the port M pins are used by the GPIO, the setting for this register is ignored.
01234567
11111111
PM0
PUPR
PM1
PUPR
R/WR/WR/WR/WR/WR/WR/WR/W
Bit:
Initial value:
R/W:
Bit Bit Name
Initial
value R/W Description
7 to 2 All 1 R/W Reserved
These bits are always read as 1, and the write value
should always be 1.
1 PM1PUPR 1 R/W
0 PM0PUPR 1 R/W
Pull-up of each Port M pin can be controlled
independently.
0: PMn pull-up off
1: PMn pull-up on
Note: n = 1 to 0