187
Port
Description
Pins
Modes
1, 2, 5, 6
Mode
4
Mode
7
Port 8
•
6-bit I/O
port
P85/
EDACK3
/
IRQ5
P84/
EDACK2
/
IRQ4
P83/
ETEND3
/
IRQ3
P82/
ETEND2
/
IRQ2
P81/
EDREQ3
/
IRQ1
P80/
EDREQ2
/
IRQ0
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):
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
,
ETEND
3,
ETEND
2,
EDREQ
3,
EDREQ2
) and
interrupt input pins (
IRQ5
to
IRQ0
)
Port A
•
8-bit I/O
port
•
Built-in
MOS input
pull-up
•
Open-drain
output
capability
PA7/A23
PA6/A22
PA5/A21
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
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
PA4/A20–PA0/A16
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
Port B
•
8-bit I/O
port
•
Built-in
MOS input
pull-up
PB7/A15–PB0/A8
Address output When DDR = 0
(after reset):
Input port
When 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
Port C
•
8-bit I/O
port
•
Built-in
MOS input
pull-up
PC7/A7–PC0/A0
Address output When DDR = 0
(after reset):
Input port
When 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
Содержание H8S/2670
Страница 5: ......
Страница 9: ......
Страница 199: ...182 ...
Страница 361: ...344 ...
Страница 393: ...376 ...
Страница 647: ...630 ...