Renesas SH7781 用户手册

下载
页码 1692
28.   General Purpose I/O Ports (GPIO) 
Rev.1.00  Jan. 10, 2008  Page 1389 of 1658 
REJ09B0261-0100 
 
28.2.2
 
Port B Control Register (PBCR) 
PBCR is a 16-bit readable/writable register that selects the pin function and controls the input pull-
up MOS. 
0
1
2
3
4
5
6
7
8
9
10
11
12
13
15
14
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
PB0
MD0
PB0
MD1
PB1
MD0
PB1
MD1
PB2
MD0
PB2
MD1
PB3
MD0
PB3
MD1
PB4
MD0
PB4
MD1
PB5
MD0
PB5
MD1
PB6
MD0
PB6
MD1
PB7
MD1
PB7
MD0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
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 
15 
14 
PB7MD1 
PB7MD0 
R/W 
R/W 
PB7 Mode 
00: LBSC/PCIC module (D55/AD23)* 
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) 
13 
12 
PB6MD1 
PB6MD0 
R/W 
R/W 
PB6 Mode 
00: LBSC/PCIC module (D54/AD22)* 
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) 
11 
10 
PB5MD1 
PB5MD0 
R/W 
R/W 
PB5 Mode 
00: LBSC/PCIC module (D53/AD21)* 
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)