English
Language : 

HD6432345 Datasheet, PDF (292/907 Pages) Hitachi Semiconductor – H8S/2345 F-ZTAT Hardware Manual
8.12.3 Pin Functions
Port G pins also function as bus control signal output pins (CS0 to CS3) the A/D converter input
pin (ADTRG), and interrupt input pins (IRQ6, IRQ7). The pin functions are different in modes 1
and 2, modes 3 and 7, and modes 4 to 6. Port G pin functions are shown in table 8.22.
Table 8.22 Port G Pin Functions
Pin
PG4/CS0
PG3/CS1
PG2/CS2
Selection Method and Pin Functions
The pin function is switched as shown below according to the operating mode
and bit PG4DDR.
Operating
Mode
Modes 1, 2, 4, 5, 6*
Modes 3 and 7*
PG4DDR
0
1
0
1
Pin function PG4 input pin CS0 output pin PG4 input pin PG4 output pin
Note: * Modes 1 to 3 are not available on the F-ZTAT version.
Modes 2, 3, 6, and 7 are not available on the ROMless version.
The pin function is switched as shown below according to the operating mode
and bit PG3DDR.
Operating
Mode
Modes 1, 2, 3, 7*
Modes 4 to 6*
PG3DDR
0
1
0
1
Pin function PG3 input pin PG3 output pin PG3 input pin CS1 output pin
Note: * Modes 1 to 3 are not available on the F-ZTAT version.
Modes 2, 3, 6, and 7 are not available on the ROMless version.
The pin function is switched as shown below according to the operating mode
and bit PG2DDR.
Operating
Mode
Modes 1, 2, 3, 7*
Modes 4 to 6*
PG2DDR
0
1
0
1
Pin function PG2 input pin PG2 output pin PG2 input pin CS2 output pin
Note: * Modes 1 to 3 are not available on the F-ZTAT version.
Modes 2, 3, 6, and 7 are not available on the ROMless version.
275