16 port r control register (prcr) – Renesas SH7781 User Manual
Page 1446
![background image](/manuals/199869/1446/background.png)
28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1416 of 1658
REJ09B0261-0100
28.2.16
Port R Control Register (PRCR)
PRCR 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
PR0
MD0
PR0
MD1
PR1
MD0
PR1
MD1
PR2
MD0
PR2
MD1
PR3
MD0
PR3
MD1
—
—
—
—
—
—
—
—
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 to 8
⎯ All
0
R/W
Reserved
These bits are always read as 0, and the write value
should always be 0.
7
6
PR3MD1
PR3MD0
0
0
R/W
R/W
PR3 Mode
00: LBSC/PCIC module (
WE7/CBE3)*
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
PR2MD1
PR2MD0
0
0
R/W
R/W
PR2 Mode
00: LBSC/PCIC module (
WE6/CBE2)*
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)