![](http://datasheet.mmic.net.cn/250000/PIC14000-04_datasheet_15809908/PIC14000-04_9.png)
1996 Microchip Technology Inc.
Preliminary
DS40122B-page 9
PIC14000
TABLE 3-1:
PIN DESCRIPTIONS
Pin Name
Pin
No.
I/O
Pin Type
Input Output
Description
CDAC
22
O
—
AN
A/D ramp current source output. Normally connected to
external capacitor to generate a linear voltage ramp.
Analog input channel 0. This pin can also serve as a
general-purpose I/O.
Analog input channel 1. This pin can connect to a level
shift network. If enabled, a +0.5V offset is added to the
input voltage. This pin can also serve as a general-
purpose I/O.
Analog input channel 2. This pin can also serve as a
general purpose digital I/O.
Analog input channel 3. This pin can also serve as a gen-
eral purpose digital I/O.
AN1 summing junction output. This pin can be connected
to an external capacitor for averaging small duration
pulses.
LED direct-drive output or programmable reference A out-
put. This pin can also serve as a GPIO. If enabled, this
pin has a weak internal pull-up to V
LED direct-drive output or comparator A output. This pin
can also serve as a GPIO. If enabled, this pin has a weak
internal pull-up to V
DD
.
LED direct-drive output. This pin can also serve as a
GPIO. If enabled, this pin has a weak internal pull-up to
V
DD
LED direct-drive output. This pin can also serve as a
GPIO, or an external clock input for Timer0. If enabled,
this pin has a weak internal pull-up to V
LED direct-drive output. This pin can also serve as a
GPIO. If enabled, a change on this pin can cause a CPU
interrupt. If enabled, this pin has a weak internal pull-up
to V
DD
.
LED direct-drive output. This pin can also serve as a
GPIO. If enabled, a change on this pin can cause a CPU
interrupt. If enabled, this pin has a weak internal pull-up
to V
DD
.
General purpose I/O. If enabled, is multiplexed as
synchronous serial clock for I
serial programming clock. If enabled, a change on this pin
can cause a CPU interrupt. This pin has an N-channel
pull-up device which is disabled in I
General purpose I/O. If enabled, is multiplexed as
synchronous serial data I/O for I
serial programming data line. If enabled, a change on this
pin can cause a CPU interrupt. This pin has an N-channel
pull-up device which is disabled in I
General purpose I/O. If enabled, is multiplexed as
synchronous serial clock for I
N-channel pull-up device which is disabled in I
General purpose I/O. If enabled, is multiplexed as
synchronous serial data I/O for I
an N-channel pull-up device which is disabled in I
mode.
General purpose I/O or comparator B output.
RA0/AN0
2
I/O
AN/ST
CMOS
RA1/AN1
1
I/O
AN/ST
CMOS
RA2/AN2
28
I/O
AN/ST
CMOS
RA3/AN3
27
I/O
AN/ST
CMOS
SUM
21
O
—
AN
RC0/REFA
19
I/O-PU
ST
CMOS
DD
.
RC1/CMPA
18
I/O-PU
ST
CMOS
RC2
17
I/O-PU
ST
CMOS
RC3/T0CKI
16
I/O-PU
ST
CMOS
DD
.
RC4
15
I/O-PU
ST
CMOS
RC5
13
I/O-PU
ST
CMOS
RC6/SCLA
12
I/O
ST/SM
NPU/OD
(No P-diode)
2
C interface. Also is the
2
C mode.
RC7/SDAA
11
I/O
ST/SM
NPU/OD
(No P-diode)
2
C interface. Also is the
2
C mode.
RD0/SCLB
6
I/O
ST/SM
NPU/OD
(No P-diode)
2
C interface. This pin has an
2
C mode.
RD1/SDAB
5
I/O
ST/SM
NPU/OD
(No P-diode)
2
C interface. This pin has
2
C
RD2/CMPB
4
I/O-PU
AN/ST
CMOS