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.
01234567891011121315 14
0000000000000000
PR0
MD0
PR0
MD1
PR1
MD0
PR1
MD1
PR2
MD0
PR2
MD1
PR3
MD0
PR3
MD1
——
R/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/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)