Renesas SH7781 用户手册

下载
页码 1692
28.   General Purpose I/O Ports (GPIO) 
Rev.1.00  Jan. 10, 2008  Page 1407 of 1658 
REJ09B0261-0100 
 
28.2.11
  Port L Control Register (PLCR) 
PLCR 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
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
PL0
MD0
PL0
MD1
PL1
MD0
PL1
MD1
PL2
MD0
PL2
MD1
PL3
MD0
PL3
MD1
PL4
MD0
PL4
MD1
PL5
MD0
PL5
MD1
PL6
MD0
PL6
MD1
PL7
MD1
PL7
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 
PL7MD1 
PL7MD0 
R/W 
R/W 
PL7 Mode 
00: DMAC/PCIC module (
DREQ2/INTB)*
1
 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On) 
13 
12 
PL6MD1 
PL6MD0 
R/W 
R/W 
PL6 Mode 
00: DMAC/PCIC module (
DREQ3/INTC)*
1
 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On) 
11 
10 
PL5MD1 
PL5MD0 
R/W 
R/W 
PL5 Mode 
00: DMAC/LBSC module (
DREQ2/CE2A)*
1
 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On) 
PL4MD1 
PL4MD0 
R/W 
R/W 
PL4 Mode 
00: INTC/FLCTL module (MODE0/
IRL4/FD4)*
1
 
01: Port output 
10: Port input (pull-up MOS: Off) 
11: Port input (pull-up MOS: On)*
2