190
Port
Description
Pins
Modes
1, 2, 5, 6
Mode
4
Mode
7
Port G
•
7-bit I/O
port
PG2/
CS2
When CS2E = 0 (after reset):
I/O port
When CS2E = 1 and DDR = 0:
Input port
When CS2E = 1 and DDR = 1:
CS2
output
When EXPE = 0 (after reset), or
when EXPE1 = 1 and CS2E =
0: I/O port
When EXPE = 1, CS2E = 1,
and DDR = 0: Input port
When EXPE = 1, CS2E = 1,
and DDR = 1:
CS2
output
PG1/
CS1
When CS1E = 0 (after reset):
I/O port
When CS1E = 1 and DDR = 0:
Input port
When CS1E = 1 and DDR = 1:
CS1
output
When EXPE = 0 (after reset), or
when EXPE1 = 1 and CS1E =
0: I/O port
When EXPE = 1, CS1E = 1,
and DDR = 0: Input port
When EXPE = 1, CS1E = 1,
and DDR = 1:
CS1
output
PG0/
CS0
When CS0E =
1 and DDR = 1
(after reset):
CS0
output
When CS0E =
0: I/O port
When CS0E =
1 and DDR =
0: Input port
When CS0E =
1 and DDR = 0
(after reset):
Input port
When CS0E =
0: I/O port
When CS0E =
1 and DDR =
1:
CS0
output
When EXPE = 0 (after reset), or
when EXPE1 = 1 and CS0E =
0: I/O port
When EXPE = 1, CS0E = 1,
and DDR = 0: Input port
When EXPE = 1, CS0E = 1,
and DDR = 1:
CS0
output
Port H
•
4-bit I/O
port
PH3/
CS7
/
OE
/
IRQ7
When OEE = 0 and CS7E = 0
(after reset), or when OEE = 1,
OES = 0, and CS7E = 0: I/O
port also functioning as
IRQ7
interrupt input
When OEE = 0, CS7E = 1, and
DDR = 0, or when OEE = 1,
OES = 0, CS7E = 1, and DDR =
0: Input port also functioning as
IRQ7
interrupt input
When OEE = 0, CS7E = 1, and
DDR = 1, or when OEE = 1,
OES = 0, CS7E = 1, and DDR =
1: Dual function as
IRQ7
interrupt input and
CS7
output
When OEE = 1 and OES = 1:
Dual function as
IRQ7
interrupt
input and
OE
output
When EXPE = 0 (after reset), or
when EXPE = 1, OEE = 0, and
CS7E = 0, or when EXPE = 1,
OEE = 1, OES = 0, and CS7E =
0: I/O port also functioning as
IRQ7
interrupt input
When EXPE = 1, OEE = 0,
CS7E = 1, and DDR = 0, or
when EXPE = 1, OEE = 1, OES
= 0, CS7E = 1, and DDR = 0:
Input port also functioning as
IRQ7
interrupt input
When EXPE = 1, OEE = 0,
CS7E = 1, and DDR = 1, or
when OEE = 1, OES = 0, CS7E
= 1, and DDR = 1: Dual function
as
IRQ7
interrupt input and
CS7
output
When EXPE = 1, OEE = 1, and
OES = 1: Dual function as
IRQ7
interrupt input and
OE
output
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...