Hitachi H8/3022 Hardware Manual page 140

H8/3022 series hitachi single-chip microcomputer
Table of Contents

Advertisement

Table 7-1 Port Functions
Port
Description
Port 1
• 8-bit I/O port
• Can drive LEDs
Port 2
• 8-bit I/O port
• Input pull-up
• Can drive LEDs
Port 3
• 8-bit I/O port
Port 5
• 4-bit I/O port
• Input pull-up
• Can drive LEDs
Port 6
• 4-bit I/O port
Port 7
• 8-bit Input
port
Port 8
• 2-bit I/O port
• P8
and P8
1
have Schmitt
inputs
128
Pins
Mode 1
P1
to P1
/
Address output
7
0
A
to A
pins (A
7
0
P2
to P2
/
Address output pins (A
7
0
A
to A
to A
15
8
P3
to P3
/
Data input/output (D
7
0
D
to D
7
0
P5
to P5
/
Address output
3
0
A
to A
(A
19
16
Bus control signal output (WR, RD, AS)
P6
/WR,
5
P6
/RD,
4
P6
/AS
3
P6
/WAIT
Bus control signal input/output (WAIT) and 1-bit
0
generic input/output
P7
to P7
/
Analog input (AN
7
0
AN
to AN
7
0
/ IRQ
IRQ
P8
1
1
0
IRQ
P8
/IRQ
0
0
Mode 3
to A
)
7
0
15
)
8
to D
7
to A
)
19
16
to AN
7
0
input and 1-bit generic input
1
input and 1-bit generic input/output
0
Mode 6
Mode 5
Address output (A
to A
7
and generic input
DDR = 0:
generic input
DDR = 1:
address output
Address output (A
15
A
) and generic input
8
DDR = 0:
generic input
DDR = 1:
address output
)
0
Address output (A
19
A
) and 4-bit generic
16
input
DDR = 0:
generic input
DDR = 1:
address output
) to A/D converter, and generic input
Mode 7
)
Generic
0
input/
output
to
Generic
input/
output
Generic
input/
output
to
Generic
input/
output
Generic
input/
output
IRQ
and
1
IRQ
input
0
and generic
input/
output

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents