Hitachi H8S/2678 Series Reference Manual page 204

16-bit single-chip microcomputer
Table of Contents

Advertisement

Port
Description
Port 8 • 6-bit I/O
port
Port A • 8-bit I/O
port
• Built-in
MOS input
pull-up
• Open-drain
output
capability
Port B • 8-bit I/O
port
• Built-in
MOS input
pull-up
Port C • 8-bit I/O
port
• Built-in
MOS input
pull-up
Pins
P85/EDACK3/IRQ5
P84/ EDACK2/IRQ4
P83/ETEND3/IRQ3
P82/ETEND2/IRQ2
P81/EDREQ3/IRQ1
P80/EDREQ2/IRQ0
PA7/A23
PA6/A22
PA5/A21
PA4/A20–PA0/A16
PB7/A15–PB0/A8
PC7/A7–PC0/A0
Modes
Mode
1, 2, 5, 6
6-bit I/O port also functioning as
EXDMA controller I/O pins
(EDACK3, EDACK2, ETEND3,
ETEND2, EDREQ3, EDREQ2)
and interrupt input pins (IRQ5 to
IRQ0)
When A23E to A21E = 1 and
DDR = 0 (after reset): Input port
When A23E to A21E = 0: I/O
port
When A23E to A21E = 1 and
DDR = 1: Address output
Address output When A20E to
A16E = 1 and
DDR = 0 (after
reset): Input
port
When A20E to
A16E = 0: I/O
port
When A20E to
A16E = 1 and
DDR = 1 (after
reset): Address
output
Address output When DDR = 0
(after reset):
Input port
When DDR =
1: Address
output
Address output When DDR = 0
(after reset):
Input port
When DDR =
1: Address
output
4
• When EXPE = 0 (after reset):
6-bit I/O port also functioning
as interrupt input pins (IRQ5
to IRQ0)
• When EXPE = 1: 6-bit I/O port
also functioning as EXDMA
controller I/O pins (EDACK3,
EDACK2, ETEND3, ETEND2,
EDREQ3, EDREQ2) and
interrupt input pins (IRQ5 to
IRQ0)
When EXPE = 0 (after reset), or
when EXPE = 1 and A23E to
A16E = 0: I/O port
When EXPE = 1, A23E to A16E
= 1, and DDR = 0: Input port
When EXPE = 1, A23E to A16E
= 1, and DDR = 1: Address
output
When EXPE = 0 (after reset):
I/O port
When EXPE = 1 and DDR = 0
(after reset): Input port
When EXPE = 1 and DDR = 1:
Address output
When EXPE = 0 (after reset):
I/O port
When EXPE = 1 and DDR = 0:
Input port
When EXPE = 1 and DDR = 1:
Address output
Mode
7
187

Advertisement

Table of Contents
loading

Table of Contents