291
Table 5.37
Port H Pin Functions
Pin
Selection Method and Pin Functions
PH3/
CS7
/
OE
/
IRQ7
The pin function is switched as shown below according to the operating mode, bit
EXPE, bit OEE, bit OES, bit CS7E, and bit PH3DDR.
Operating
mode
1, 2, 4, 5, 6
7
EXPE
—
0
1
OEE
0
1
—
0
1
OES
—
0
1
—
—
0
1
CS7E
0
1
0
1
—
—
0
1
0
1
—
PH3DDR
0
1
0
1
0
1
0
1
—
0
1
0
1
0
1
0
1
0
1
—
Pin
function
PH3
input
pin
PH3
output
pin
PH3
input
pin
CS7
output
pin
PH3
input
pin
PH3
output
pin
PH3
input
pin
CS7
output
pin
OE
output
pin
PH3
input
pin
PH3
output
pin
PH3
input
pin
PH3
output
pin
PH3
input
pin
CS7
output
pin
PH3
input
pin
PH3
output
pin
PH3
input
pin
CS7
output
pin
OE
output
pin
IRQ7
interrupt input pin
*
Note:
*
IRQ7
interrupt input pin when bit ITS7 is set to 1 in ITSR.
PH2/
CS6
/
IRQ6
The pin function is switched as shown below according to the operating mode, bit
CS6E, and bit PH2DDR.
Operating
mode
1, 2, 4, 5, 6
7
EXPE
—
0
1
CS6E
0
1
—
0
1
PH2DDR
0
1
0
1
0
1
0
1
0
1
Pin function
PH2
input
pin
PH2
output
pin
PH2
input
pin
CS6
output
pin
PH2
input
pin
PH2
output
pin
PH2
input
pin
PH2
output
pin
PH2
input
pin
CS6
output
pin
IRQ6
interrupt input pin
*
Note:
*
IRQ6
interrupt input pin when bit ITS6 is set to 1 in ITSR.
PH1/
CS5
PH0/
CS4
The pin function is switched as shown below according to the operating mode, bit
CSnE, bits RMTS2 to RMTS0, and bit PHmDDR.
Operating
mode
1, 2, 4, 5, 6
7
EXPE
—
0
1
CSnE
0
1
—
0
1
RMTS2 to
RMTS0
—
Area n
in DRAM
space
Area n
in normal
space
—
—
Area n
in DRAM
space
Area n
in normal
space
PHmDDR
0
1
—
0
1
0
1
0
1
—
0
1
Pin
function
PHm
input
pin
PHm
output
pin
RASn
output
pin
PHm
input
pin
CSn
output
pin
PHm
input
pin
PHm
output
pin
PHm
input
pin
PHm
output
pin
RASn
output
pin
PHm
input
pin
CSn
output
pin
(m = 2 or 1, n = 5 or 4)
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...