6 port f control register (pfcr) – Renesas SH7781 User Manual
Page 1427
28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1397 of 1658
REJ09B0261-0100
28.2.6
Port F Control Register (PFCR)
PFCR 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
PF0
MD0
PF0
MD1
PF1
MD0
PF1
MD1
PF2
MD0
PF2
MD1
PF3
MD0
PF3
MD1
PF4
MD0
PF4
MD1
PF5
MD0
PF5
MD1
PF6
MD0
PF6
MD1
PF7
MD1
PF7
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
PF7MD1
PF7MD0
0
0
R/W
R/W
PF7 Mode
00: LBSC module (D31)
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
13
12
PF6MD1
PF6MD0
0
0
R/W
R/W
PF6 Mode
00: LBSC module (D30)
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
11
10
PF5MD1
PF5MD0
0
0
R/W
R/W
PF5 Mode
00: LBSC module (D29)
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)
9
8
PF4MD1
PF4MD0
0
0
R/W
R/W
PF4 Mode
00: LBSC module (D28)
01: Port output
10: Port input (pull-up MOS: Off)
11: Port input (pull-up MOS: On)