PIC16F631/677/685/687/689/690
TABLE 1-4:
PINOUT DESCRIPTION – PIC16F687/PIC16F689
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.
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
RB4/AN10/SDI/SDA
RB5/AN11/RX/DT
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.
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN10
SDI
AN
ST
—
—
A/D Channel 10 input.
SPI data input.
2
SDA
RB5
ST
OD
I C™ data input/output.
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-
change. Individually enabled pull-up.
AN11
RX
AN
ST
ST
—
—
A/D Channel 11 input.
EUSART asynchronous input.
DT
CMOS EUSART synchronous data.
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
OD = Open Drain
DS41262D-page 20
© 2007 Microchip Technology Inc.