
190
7.9
Port 8
7.9.1
Overview
Port 8 is a 5-bit input/output port that is also used for
CS
3
to
CS
0
output,
IRQ
3
to
IRQ
0
input, and
A/D converter
ADTRG
input. Figure 7.8 shows the pin configuration of port 8.
In modes 1 to 5 (expanded modes), port 8 can provide
CS
3
to
CS
0
output,
IRQ
3
to
IRQ
0
input, and
ADTRG
input. See table 7.14 for the selection of pin functions in expanded modes.
In modes 6 and 7 (single-chip modes), port 8 can provide
IRQ
3
to
IRQ
0
input and
ADTRG
input.
See table 7.15 for the selection of pin functions in single-chip mode.
See section 14, A/D Converter, for a description of the A/D converter’s
ADTRG
input pin.
The
IRQ
3
to
IRQ
0
functions are selected by IER settings, regardless of whether the pin is used for
input or output. Caution is therefore required. For details see section 5.3.1, External Interrupts.
Pins in port 8 can drive one TTL load and a 90-pF capacitive load. They can also drive a
darlington transistor pair.
Pins P8
2
to P8
0
have Schmitt-trigger inputs.
Port 8
P8 /
P8 / /
P8 / /
P8 / /
P8 /
4
3
2
1
0
0
1
2
3
Port 8 pins
CS
CS
CS
CS
3
2
1
IRQ / ADTRG
IRQ
IRQ
IRQ
0
P8 (input)/ (output)
P8 (input)/ (output)/ (input) / ADTRG (input)
P8 (input)/ (output)/ (input)
P8 (input)/ (output)/ (input)
P8 (input/output)/ (input)
4
3
2
1
0
Pin functions in modes 1 to 5
(expanded modes)
0
1
2
3
CS
CS
CS
CS
3
2
1
IRQ
IRQ
IRQ
IRQ
0
P8 /(input/output)
P8 /(input/output)/ (input) /
P8 /(input/output)/ (input)
P8 /(input/output)/ (input)
P8 /(input/output)/ (input)
4
3
2
1
0
Pin functions in modes 6 and 7
(single-chip mode)
IRQ
IRQ
IRQ
IRQ
ADTRG (input)
3
2
1
0
Figure 7.8 Port 8 Pin Configuration
Содержание H8/3060
Страница 10: ......
Страница 16: ......
Страница 114: ...66 ...
Страница 132: ...84 ...
Страница 144: ...96 ...
Страница 170: ...122 ...
Страница 212: ...164 ...
Страница 268: ...220 ...
Страница 332: ...284 ...
Страница 396: ...348 ...
Страница 494: ...446 ...
Страница 698: ...650 ...
Страница 729: ...681 H8 3062F ZTAT or H8 3062F ZTAT R mask version Ports 1 2 5 LED 600 Ω Figure 22 5 Sample LED Circuit ...
Страница 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Страница 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Страница 810: ...762 ...
Страница 994: ...946 ...