Renesas R5S72643 사용자 설명서
Section 32 General Purpose I/O Ports
R01UH0134EJ0400 Rev. 4.00
Page 1737 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
32.2.24
Port G Control Register 0 to 7 (PGCR0 to PGCR7)
PGCR0 to PGCR7 are 16-bit readable/writable registers that are used to select the functions of the
multiplexed pins on port G.
multiplexed pins on port G.
(1) Port G Control Register 7 (PGCR7)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
-
-
-
-
-
-
-
-
-
-
-
-
PG0MD[2:0]
-
Bit:
Initial value:
R/W:
Note: To write to PGCR7, write by 16-bit or 32-bit access such that the write value for bits 15 to 8
is H'5A. In 8-bit access, the register cannot be written to.
Bit Bit
Name
Initial
Value R/W
Description
15 to 3
All
0
R
Reserved
These bits are always read as 0. The write
value should be H'5A for bits 15 to 8 and 0 for
bits 7 to 3.
value should be H'5A for bits 15 to 8 and 0 for
bits 7 to 3.
2 to 0
PG0MD[2:0] 000* R/W
PG0
Mode
Select the function of the PG0.
000:
PG0
001: LCD_DATA0
010: SD_D2
011: PINT0
100:
WDTOVF
101: Setting prohibited
110: Setting prohibited
111: Setting prohibited
Note: * Not initialized by a reset triggered by watchdog timer overflow.
(2) Port G Control Register 6 (PGCR6: Available Only in the SH7264 Group)
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
-
-
-
-
-
-
-
-
-
-
-
-
PG24MD[1:0]
-
-
Bit:
Initial value:
R/W:
Bit Bit
Name Initial
Value R/W
Description
15 to 2
All
0
R
Reserved
These bits are always read as 0. The write
value should always be 0.
value should always be 0.