28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1435 of 1658
REJ09B0261-0100
28.2.34 Port H Pull-Up Control Register (PHPUPR) PHPUPR is an 8-bit readable/writable register that performs the pull-up control for each of the port H7 to H0 (PH7 to PH0) pins when the port H pins are used by peripheral modules. When the port H pins are used by the GPIO, the setting for this register is ignored.
01234567
11111111
PH0
PUPR
PH1
PUPR
PH2
PUPR
PH3
PUPR
PH4
PUPR
PH5
PUPR
PH6
PUPR
PH7
PUPR
R/WR/WR/WR/WR/WR/WR/WR/W
Bit:
Initial value:
R/W:
Bit Bit Name
Initial
value R/W Description
7 PH7PUPR 1 R/W
6 PH6PUPR 1 R/W
5 PH5PUPR 1 R/W
4 PH4PUPR 1 R/W
3 PH3PUPR 1 R/W
2 PH2PUPR 1 R/W
1 PH1PUPR 1 R/W
Pull-up of each Port H pin can be controlled
independently.
0: PHn pull-up off
1: PHn pull-up on
0 PH0PUPR 1 R/W
Note: n = 7 to 0