Renesas SH7781 用户手册

下载
页码 1692
28.   General Purpose I/O Ports (GPIO) 
Rev.1.00  Jan. 10, 2008  Page 1391 of 1658 
REJ09B0261-0100 
 
28.2.3
 
Port C Control Register (PCCR) 
PCCR 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
PC0
MD0
PC0
MD1
PC1
MD0
PC1
MD1
PC2
MD0
PC2
MD1
PC3
MD0
PC3
MD1
PC4
MD0
PC4
MD1
PC5
MD0
PC5
MD1
PC6
MD0
PC6
MD1
PC7
MD1
PC7
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 
PC7MD1 
PC7MD0 
R/W 
R/W 
PC7 Mode 
00: LBSC/PCIC/DU module (D47/AD15/DB3)* 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On) 
13 
12 
PC6MD1 
PC6MD0 
R/W 
R/W 
PC6 Mode 
00: LBSC/PCIC/DU module (D46/AD14/DB2)* 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On) 
11 
10 
PC5MD1 
PC5MD0 
R/W 
R/W 
PC5 Mode 
00: LBSC/PCIC/DU module (D45AD13/DB1)* 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On) 
PC4MD1 
PC4MD0 
R/W 
R/W 
PC4 Mode 
00: LBSC/PCIC/DU module (D44/AD12/DB0)* 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On)