Pin Functions - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

9.14.3

Pin Functions

Port G pins also function as bus control signal output pins (CS0 to CS3, and CAS). The pin functions are different in mode
7, and modes 4 to 6. Port G pin functions are shown in table 9-26.
Table 9-26 Port G Pin Functions
Pin
PG
/CS0
4
PG
/CS1
3
PG
/CS2
2
PG
/CS3
1
PG
/CAS
0
Selection Method and Pin Functions
The pin function is switched as shown below according to the operating mode
and bit PG4DDR.
Operating
Mode
PG4DDR
0
Pin function
PG
input pin PG
4
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
The pin function is switched as shown below according to the operating mode
and bit PG3DDR.
Operating
Mode
PG3DDR
0
Pin function
PG
input pin PG
3
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
The pin function is switched as shown below according to the operating mode
and bit PG2DDR.
Operating
Mode
PG2DDR
0
Pin function
PG
input pin PG
2
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
The pin function is switched as shown below according to the operating mode
and bit PG1DDR.
Operating
Mode
PG1DDR
0
Pin function
PG
input pin PG
1
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
The pin function is switched as shown below according to the combination of
the operating mode and bits RMTS2 to RMTS0 and PG0DDR.
Operating
Mode
RMTS2 to
RMTS0
PG0DDR
0
Pin function
PG
input
pin
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
Mode 7*
1
output pin PG
4
Mode 7*
1
output pin PG
3
Mode 7*
1
output pin PG
2
Mode 7*
1
output pin PG
1
Mode 7*
B'100 to B'111
1
0
PG
PG
0
0
output
input
pin
pin
Modes 4 to 6*
0
1
input pin CS0 output pin
4
Modes 4 to 6*
0
1
input pin CS1 output pin
3
Modes 4 to 6*
0
1
input pin CS2 output pin
2
Modes 4 to 6*
0
1
input pin CS3 output pin
1
Modes 4 to 6*
B'000,
B'001 to
B'011
1
CAS
PG
0
0
output
output
pin
Rev.6.00 Oct.28.2004 page 335 of 1016
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents