15 port q control register (pqcr) – Renesas SH7781 User Manual
Page 1444

28. General Purpose I/O Ports (GPIO)
Rev.1.00 Jan. 10, 2008 Page 1414 of 1658
REJ09B0261-0100
28.2.15
Port Q Control Register (PQCR)
PQCR 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
PQ0
MD0
PQ0
MD1
PQ1
MD0
PQ1
MD1
PQ2
MD0
PQ2
MD1
PQ3
MD0
PQ3
MD1
PQ4
MD0
PQ4
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 10
⎯ All
0
R/W
Reserved
These bits are always read as 0, and the write value
should always be 0.
9
8
PQ4MD1
PQ4MD0
0
0
R/W
R/W
PQ4 Mode
00: PCIC module (
INTA)
When the bus mode is set to the local bus or DU via
the bus mode pins (MODE1 and MODE2), 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)
7
6
PQ3MD1
PQ3MD0
0
0
R/W
R/W
PQ3 Mode
00: PCIC module (
GNT0/GNTIN)
When the bus mode is set to the local bus or DU via
the bus mode pins (MODE1 and MODE2), 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)