Section 22 Pin Function Controller (PFC)
Rev. 4.00 Sep. 14, 2005 Page 836 of 982
REJ09B0023-0400
22.1.9 Port G Control Register (PGCR)
PGCR is a 32-bit readable/writable register that selects the pin functions. PGCR is initialized to
H'00000000 by a power-on reset, and it is not initialized by a manual reset, in the standby mode,
or in the sleep mode.
Bit Bit Name
Initial
Value R/W Description
31 to 28 All 0 R Reserved
These bits are always read as 0. The write value should
always be 0.
27
26
PG13MD2
PG13MD1
0
0
R/W
R/W
25
24
PG12MD2
PG12MD2
0
0
R/W
R/W
23
22
PG11MD2
PG11MD2
0
0
R/W
R/W
PGn Mode 2 and 1
The combination of bits PGnMD2 and PGnMD1
controls the pin functions. (n = 11 to 13)
00: Port input
01: Port output
10, 11: Reserved (When set, correct operation cannot
be guaranteed.)
21
20
PG10MD2
PG10MD2
0
0
R/W
R/W
19
18
PG9MD2
PG9MD2
0
0
R/W
R/W
PGn Mode 2 and 1
The combination of bits PGnMD2 and PGnMD1
controls the pin functions. (n = 9 and 10)
00: Port input
01: Port output
10: Reserved (When set, correct operation cannot be
guaranteed.)
11: Other functions (see table22.1.)
17
16
PG8MD2
PG8MD2
0
0
R/W
R/W
PG8 mode 2 and 1
The combination of bits PG8MD2 and PG8nMD1
controls the pin functions.
00: Port input
01: Port output
10, 11: Reserved (When set, correct operation cannot
be guaranteed.)