Renesas SH7781 User Manual
Page 1420
![background image](/manuals/199869/1420/background.png)
28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1390 of 1658
REJ09B0261-0100
Bit Bit
Name
Initial
value R/W Description
9
8
PB4MD1
PB4MD0
0
0
R/W
R/W
PB4 Mode
00: LBSC/PCIC module (D52/AD20)*
When the bus mode is set to DU via the bus-mode
pins (MODE11 and MODE12), port input (pull-up
MOS: On) is selected.
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
7
6
PB3MD1
PB3MD0
0
0
R/W
R/W
PB3 Mode
00: LBSC/PCIC module (D51/AD19)*
When the bus mode is set to DU via the bus-mode
pins (MODE11 and MODE12), port input (pull-up
MOS: On) is selected.
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
5
4
PB2MD1
PB2MD0
0
0
R/W
R/W
PB2 Mode
00: LBSC/PCIC module (D50/AD18)*
When the bus mode is set to DU via the bus-mode
pins (MODE11 and MODE12), port input (pull-up
MOS: On) is selected.
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
3
2
PB1MD1
PB1MD0
0
0
R/W
R/W
PB1 Mode
00: LBSC/PCIC/DU module (D49/AD17/DB5)*
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
1
0
PB0MD1
PB0MD0
0
0
R/W
R/W
PB0 Mode
00: LBSC/PCIC/DU module (D48/AD16/DB4)*
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
Note: * The module that uses the pin can be selected by the bus-mode pin (MODE11 and
MODE12). For the details on setting the bus mode pin, refer to the Appendix.