Rev. 5.00, 12/03, page 292 of 1088
8.12.3
Pin Functions
Port G pins also function as bus control signal output pins (
CS0
to
CS3
,
CS6
,
CS7
) the A/D
converter input pin (
ADTRG
), and interrupt input pins (
IRQ6
,
IRQ7
). The pin functions are
different in mode 7*
1
, and modes 4 to 6*
1
. Port G pin functions are shown in table 8-22.
Table 8-22 Port G Pin Functions
Pin
Selection Method and Pin Functions
PG4/
CS0
The pin function is switched as shown below according to the operating mode
and bit PG4DDR.
Operating
Mode
Modes 4 to 6
*
1
Mode 7
*
1
PG4DDR
0
1
0
1
Pin function
PG4 input pin
CS0
output pin PG4 input pin PG4 output pin
PG3/
CS1
/
CS7
The pin function is switched as shown below according to the operating mode
and CSS17 bit in PFCR1, CS167E bit in PFCR2, and bit PG3DDR.
Operating
Mode
Modes 4 to 6
*
1
Mode 7
*
1
PG3DDR
0
1
0
1
CS167E
—
0
1
—
—
CSS17
—
—
0
1
—
—
Pin function
PG3
input
pin
PG3
output
pin
CS1
output
pin
CS7
output
pin
PG3
input
pin
PG3
output
pin
PG2/
CS2
The pin function is switched as shown below according to the operating mode
and CS25E bit in PFCR2, and bit PG2DDR.
Operating
Mode
Modes 4 to 6
*
1
Mode 7
*
1
PG2DDR
0
1
0
1
CS25E
—
0
1
—
—
Pin function
PG2 input
pin
PG2 output
pin
CS2
output
pin
PG2 input
pin
PG2 output
pin
Содержание H8S/2318 series
Страница 2: ......
Страница 6: ...Rev 5 00 12 03 page vi of xxx...
Страница 12: ...Rev 5 00 12 03 page xii of xxx...
Страница 30: ...Rev 5 00 12 03 page xxx of xxx...
Страница 54: ...Rev 5 00 12 03 page 24 of 1088...
Страница 98: ...Rev 5 00 12 03 page 68 of 1088...
Страница 128: ...Rev 5 00 12 03 page 98 of 1088...
Страница 138: ...Rev 5 00 12 03 page 108 of 1088...
Страница 168: ...Rev 5 00 12 03 page 138 of 1088...
Страница 212: ...Rev 5 00 12 03 page 182 of 1088...
Страница 324: ...Rev 5 00 12 03 page 294 of 1088...
Страница 436: ...Rev 5 00 12 03 page 406 of 1088...
Страница 546: ...Rev 5 00 12 03 page 516 of 1088...
Страница 580: ...Rev 5 00 12 03 page 550 of 1088...
Страница 822: ...Rev 5 00 12 03 page 792 of 1088...
Страница 876: ...Rev 5 00 12 03 page 846 of 1088...
Страница 901: ...Rev 5 00 12 03 page 871 of 1088 A 2 Instruction Codes Table A 2 shows the instruction codes...
Страница 1121: ...H8S 2319 Group H8S 2318 Group Hardware Manual REJ09B0089 0500O...