245
Table 9-1 Port Functions (cont)
Port
Description
Pins
Mode 1
Mode 2
Mode 3
Mode 4
Mode 5
Mode 6
Mode 7
Port 9
6-bit I/O port
P9
5
/SCK
1
/IRQ
5
, Input and output (SCK
1
, SCK
0
, RxD
1
, RxD
0
, TxD
1
, TxD
0
) for serial
P9
4
/SCK
0
/IRQ
4
, communication interfaces 1 and 0 (SCI1/0), IRQ
5
and IRQ
4
input, and
P9
3
/RxD
1
,
6-bit generic input/output
P9
2
/RxD
0
,
P9
1
/TxD
1
,
P9
0
/TxD
0
PA
7
/TP
7
/
Output (TP
7
)
Address output
TIOCB
2
/A
20
from pro-
(A
20
)
grammable
timing pattern
controller (TPC),
input or output
(TIOCB
2
) for
16-bit integrated
timer unit
(ITU), and
generic input/
output
Port A
8-bit I/O port
Schmitt inputs
TPC output Address
(TP
7
), ITU
input or
output
(TIOCB
2
),
and generic
input/output
TPC
output
(TP
7
),
ITU input
or output
(TIOCB
2
),
and
generic
input/
output
output
(A
20
)
PA
6
/TP
6
/
TIOCA
2
/A
21
/CS
4
(TP
6
to TP
4
),
PA
5
/TP
5
/
TIOCB
1
/A
22
/CS
5
output (TIOCA
2
,
PA
4
/TP
4
/
TIOCA
1
/A
23
/CS
6
TIOCA
1
),
CS
4
to
TPC output
TPC output
(TP
6
to TP
4
),
ITU input and
output (TIOCA
2
,
TIOCB
1
,
TIOCA
1
),
address output
(A
23
to A
21
),
CS
4
to
CS
6
output,
and generic
input/output
TPC output TPC output TPC
(TP
6
to TP
4
), (TP
6
to TP
4
), output
ITU input
ITU input
and output
and output
(TIOCA
2
,
(TIOCA
2
,
TIOCB
1
,
TIOCB
1
,
TIOCA
1
),
TIOCA
1
),
CS
4
to CS
6
address
output, and output
generic
(A
23
to A
21
), and
input/output
CS
4
to
CS
6
output, and input/
generic
input/output
ITU input and
(TP
6
to
TP
4
), ITU
input and
output
(TIOCA
2
,
TIOCB
1
,
TIOCA
1
),
TIOCB
1
,
CS
6
output, and
generic input/
output
generic
output
PA
3
/TP
3
/
TIOCB
0
/TCLKD, (DMAC), ITU input and output (TCLKD, TCLKC, TCLKB, TCLKA,
PA
2
/TP
2
/
TIOCB
0
, TIOCA
0
), and generic input/output
TIOCA
0
/TCLKC,
PA
1
/TP
1
/
TEND
1
/TCLKB,
PA
0
/TP
0
/
TEND
0
/TCLKA
PB
7
/TP
15
/
TPC output (TP
15
), DMAC input (DREQ
1
), trigger input (ADTRG) to A/D
DREQ
1
/ADTRG, converter, and generic input/output
PB
6
/TP
14
/
TPC output (TP
14
), DMAC input (DREQ
0
), CS
7
output,
DREQ
0
,/CS
7
and generic input/output
TPC output (TP
3
to TP
0
), output (TEND
1
, TEND
0
) from DMA controller
Port B
TPC output
(TP
14
),
DMAC
input
(DREQ
0
),
and generic
input/
output
8-bit I/O port
Can drive LEDs
PB
3
to PB
0
have Schmitt
inputs