English
Language : 

HD6417727BP160CV Datasheet, PDF (1093/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Appendix F Using Port G Control Register (PGCR) with Versions Previous to the SH7727C
Appendix F Using Port G Control Register (PGCR) with
Versions Previous to the SH7727C
Bit: 15
14
13
PG7MD1 PG7MD0 —
Initial value:
1
0
1
R/W: R/W
R/W
R
12
11
10
9
8
— PG5MD1 PG5MD0 PG4MD1 PG4MD0
0
1/0
0
1
0
R
R/W
R/W
R/W
R/W
Bit:
7
6
5
4
3
2
1
0
PG3MD1 PG3MD0 PG2MD1 PG2MD0 PG1MD1 PG1MD0 — PG0MD0
Initial value: 1/0
0
1/0
0
1/0
0
1/0
0
R/W: R/W
R/W
R/W
R/W
R/W
R/W
R
R/W
The port G control register (PGCR) is a readable and writeable 16-bit register used to select pin
functions. PGCR is initialized to H'AAAA (ASEMD0 = 1) or H'A200 (ASEMD0 = 0) at power-on
reset, but it is not initialized by manual resets or in the standby mode or sleep mode.
Bits 15, 14: PG7 Mode 1, 0 (PG7MD1, PG7MD0)
Bits 13, 12: Reserved
Bits 11, 10: PG5 Mode 1, 0 (PG5MD1, PG5MD0)
Bits 9, 8: PG4 Mode 1, 0 (PG4MD1, PG4MD0)
Bits 7, 6: PG3 Mode 1, 0 (PG3MD1, PG3MD0)
Bits 5, 4: PG2 Mode 1, 0 (PG2MD1, PG2MD0)
Bits 3, 2: PG1 Mode 1, 0 (PG1MD1, PG1MD0)
Bit 1: Reserved
Bits 3, 0: PG0 Mode 1, 0 (PG1MD1, PG0MD0)
These bits are used to select pin functions and input pull-up MOS control settings. In the PG1 and
PG0 modes, bit 3 (PG1MD1) is used to select between “other function” and “port input.” When
the port input setting is selected (PG1MD1 = 1), pull-up MOS on-off selection is performed using
bit 2 (PG1MD0) in the PG1 mode and bit 0 (PG0MD0) in the PG0 mode.
Rev.6.00 Mar. 27, 2009 Page 1035 of 1036
REJ09B0254-0600