34 port h pull-up control register (phpupr) – Renesas SH7781 User Manual
Page 1465

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.
0
1
2
3
4
5
6
7
1
1
1
1
1
1
1
1
PH0
PUPR
PH1
PUPR
PH2
PUPR
PH3
PUPR
PH4
PUPR
PH5
PUPR
PH6
PUPR
PH7
PUPR
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/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