Table 1-3 Pin Functions (cont)
Type
Symbol
Pin No.
I/O
Name and Function
Programmable
timing pattern
controller (TPC)
TP
15
to
TP
0
9 to 2,
100 to 93
Output
TPC output 15 to 0:
Pulse output
TxD
1
,
TxD
0
RxD
1
,
RxD
0
SCK
1
,
SCK
0
AN
7
to AN
0
85 to 78
ADTRG
13, 12
Output
Transmit data (channels 0 and 1):
SCI data
output
15, 14
Input
Receive data (channels 0 and 1):
SCI data
input
17, 16
Input/
output
Serial clock (channels 0 and 1):
SCI clock
input/output
A/D converter
Input
Analog 7 to 0:
Analog input pins
9
Input
A/D trigger:
External trigger input for starting
A/D conversion
D/A converter
DA
1
, DA
0
85, 84
Output
Analog output:
Analog output from the
D/A converter
A/D and D/A
converters
AV
CC
76
Input
Power supply pin for the A/D and
D/A converters. Connect to the system power
supply (+5 V) when not using the A/D and
D/A converters.
AV
SS
86
Input
Ground pin for the A/D and D/A converters.
Connect to system ground (0 V).
V
REF
77
Input
Reference voltage input pin for the A/D and
D/A converters. Connect to the system power
supply (+5 V) when not using the A/D and
D/A converters.
I/O ports
P1
7
to P1
0
43 to 36
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
52 to 45
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
34 to 27
Input/
output
Port 3:
Eight input/output pins. The direction of
each pin can be selected in the port 3 data
direction register (P3DDR).
P4
7
to P4
0
26 to 23,
21 to 18
Input/
output
Port 4:
Eight input/output pins. The
direction of each pin can be selected in the port
4 data direction register (P4DDR).
Serial com-
munication
interface (SCI)
13