Hardware manual

Rev. 3.0, 09/98, page 83 of 361
Table 6.1 Port Functions (cont)
Expanded Modes
Single-Chip
Mode
Port Description Pins Mode 1 Mode 2 Mode 3
Port 7
8-bit input port
P7
7
to P7
0
General input, analog input to A/D converter (AN
7
to AN
0
), or analog output from D/A converter (DA
0
,
DA
1
)
Port 8
7-bit input-output port
P8
6
/SCK
1
/
IRQ
5
P8
5
/RxD
1
/
IRQ
4
P8
4
/TxD
1
/
IRQ
3
General input/output, serial communication
interface 1 input/output (TxD
1
, RxD
1
, SCK
1
), or
external interrupt input (IRQ
3
, IRQ
4
, IRQ
5
)
P8
3
to P8
0
General input/output
Port 9
8-bit input-output port
P9
7
/WAIT WAIT input General input/
output
P9
6
/φ System clock
output
General input
when DDR = ”0”
(initial state)
System clock
output when
DDR = “1”
P9
5
/AS AS output
P9
4
/WR WR output
General input/
output
P9
3
/RD RD output
P9
2
/IRQ
0
P9
1
/IRQ
1
General input/output or external interrupt input
(IRQ
0
, IRQ
1
)
P9
0
/ADTRG/
IRQ
2
General input/output, A/D converter trigger input
(ADTRG), or external interrupt input (IRQ
2
)