PIC16F631/677/685/687/689/690
TABLE 1-3:
PINOUT DESCRIPTION – PIC16F685
Input Output
Name
Function
Description
Type
Type
RA0/AN0/C1IN+/ICSPDAT/
ULPWU
RA0
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN0
C1IN+
AN
AN
—
—
A/D Channel 0 input.
Comparator C1 positive input.
ICSPDAT
ULPWU
RA1
TTL
AN
CMOS ICSP™ Data I/O.
—
Ultra Low-Power Wake-up input.
RA1/AN1/C12IN0-/VREF/ICSPCLK
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN1
C12IN0-
VREF
AN
AN
AN
ST
ST
—
—
—
—
A/D Channel 1 input.
Comparator C1 or C2 negative input.
External Voltage Reference for A/D.
ICSP™ clock.
ICSPCLK
RA2
RA2/AN2/T0CKI/INT/C1OUT
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN2
T0CKI
INT
AN
ST
ST
—
—
—
—
A/D Channel 2 input.
Timer0 clock input.
External interrupt pin.
C1OUT
RA3
CMOS Comparator C1 output.
RA3/MCLR/VPP
TTL
—
General purpose input. Individually controlled interrupt-on-
change.
MCLR
VPP
ST
HV
—
—
Master Clear with internal pull-up.
Programming voltage.
RA4/AN3/T1G/OSC2/CLKOUT
RA4
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN3
T1G
AN
ST
—
—
—
A/D Channel 3 input.
Timer1 gate input.
OSC2
CLKOUT
RA5
XTAL Crystal/Resonator.
CMOS FOSC/4 output.
—
RA5/T1CKI/OSC1/CLKIN
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
T1CKI
OSC1
CLKIN
RB4
ST
XTAL
ST
—
—
—
Timer1 clock input.
Crystal/Resonator.
External clock input/RC oscillator connection.
RB4/AN10
RB5/AN11
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN10
RB5
AN
—
A/D Channel 10 input.
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN11
RB6
AN
—
A/D Channel 11 input.
RB6
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
RB7
RB7
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
RC0/AN4/C2IN+
RC0
AN4
ST
AN
AN
CMOS General purpose I/O.
—
—
A/D Channel 4 input.
C2IN+
Comparator C2 positive input.
Legend:
AN
TTL
HV
=
=
=
Analog input or output
TTL compatible input
High Voltage
CMOS = CMOS compatible input or output
ST = Schmitt Trigger input with CMOS levels
XTAL = Crystal
DS41262D-page 18
© 2007 Microchip Technology Inc.