39 port n pull-up control register (pnpupr) – Renesas SH7781 User Manual
Page 1470

28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1440 of 1658
REJ09B0261-0100
28.2.39
Port N Pull-Up Control Register (PNPUPR)
PNPUPR is an 8-bit readable/writable register that performs the pull-up control for each of the
port N7 to N0 (PN7 to PN0) pins when the port N pins are used by peripheral modules. When the
port N 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
PN0
PUPR
PN1
PUPR
PN2
PUPR
PN3
PUPR
PN4
PUPR
PN5
PUPR
PN6
PUPR
PN7
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 PN7PUPR
1 R/W
6 PN6PUPR
1 R/W
5 PN5PUPR
1 R/W
4 PN4PUPR
1 R/W
3 PN3PUPR
1 R/W
2 PN2PUPR
1 R/W
1 PN1PUPR
1 R/W
Pull-up of each Port N pin can be controlled
independently.
0: PNn pull-up off
1: PNn pull-up on
0 PN0PUPR
1 R/W
Note: n = 7 to 0