Table 1-3 Pin Functions (cont)
Type
Symbol
Pin No.
I/O
Name and Function
Serial com-
munication
interface (SCI)
TxD
9
Output
Transmit data:
SCI data output
RxD
10
Input
Receive data:
SCI data input
SCK
11
Input/
output
Serial clock:
SCI clock input/output
A/D
converter
AN
7
to AN
0
66 to 59
ADTRG
Input
Analog 7 to 0:
Analog input pins
8
Input
A/D trigger:
External trigger input for starting
A/D conversion
AV
CC
68
Input
Power supply pin for the A/D converter.
Connect to the system power supply (+5 V)
when not using the A/D converter.
AV
SS
58
Input
Ground pin for the A/D converter. Connect to
system ground (0 V) when not using the A/D
converter.
V
REF
67
Input
Reference voltage input pin for the A/D
converter. Connect to the system power supply
(+5 V) when not using the A/D converter.
I/O ports
P1
7
to P1
0
29 to 22
Input/
output
Port 1:
Eight input/output pins. The direction
of each pin can be selected in the port 1 data
direction register (P1DDR).
P2
7
to P2
0
38 to 31
Input/
output
Port 2:
Eight input/output pins. The direction
of each pin can be selected in the port 2 data
direction register (P2DDR).
P3
7
to P3
0
20 to 13
Input/
output
Port 3:
Eight input/output pins. The direction
of each pin can be selected in the port 3 data
direction register (P3DDR).
P5
3
to P5
0
42 to 39
Input/
output
Port 5:
Four input/output pins. The direction of
each pin can be selected in the port 5 data
direction register (P5DDR).
P6
5
to P6
3
, 56 to 54,
P6
0
Input/
output
Port 6:
Four input/output pins. The direction
of each pin can be selected in the port 6 data
direction register (P6DDR).
43
P7
7
to P7
0
P8
3
to P8
0
66 to 59
Input
Port 7:
Eight input pins
72 to 69
Input/
output
Port 8:
Four input/output pins. The direction of
each pin can be selected in the port 8 data
direction register (P8DDR).
12