Table 1-3 Pin Functions (cont)
Type
Symbol
Pin No.
I/O
Name and Function
Programmable
TP
15
to
9 to 2,
Output TPC output 15 to 0: Pulse output
timing pattern
TP
0
100 to 93
controller (TPC)
TxD
1
, 13,
12
Output Transmit data (channels 0 and 1): SCI data
TxD
0
output
RxD
1
, 15,
14
Input
Receive data (channels 0 and 1): SCI data
RxD
0
input
SCK
1
, 17,
16
Input/
Serial clock (channels 0 and 1): SCI clock
SCK
0
output
input/output
A/D converter
AN
7
to AN
0
85 to 78
Input
Analog 7 to 0: Analog input pins
ADTRG
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
AV
CC
76
Input
Power supply pin for the A/D and
converters
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/
Port 1: Eight input/output pins. The direction of
output
each pin can be selected in the port 1 data
direction register (P1DDR).
P2
7
to P2
0
52 to 45
Input/
Port 2: Eight input/output pins. The direction of
output
each pin can be selected in the port 2 data
direction register (P2DDR).
P3
7
to P3
0
34 to 27
Input/
Port 3: Eight input/output pins. The direction of
output
each pin can be selected in the port 3 data
direction register (P3DDR).
P4
7
to P4
0
26 to 23,
Input/
Port 4: Eight input/output pins. The
21 to 18
output
direction of each pin can be selected in the port
4 data direction register (P4DDR).
Serial com-
munication
interface (SCI)
13
www.DataSheet4U.com