PIC16F631/677/685/687/689/690
TABLE 1-2:
PINOUT DESCRIPTION – PIC16F677
Input Output
Function
Name
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
ST
—
—
A/D Channel 0 input.
Comparator C1 non-inverting input.
ICSPDAT
ULPWU
RA1
CMOS ICSP™ Data I/O.
AN
TTL
—
Ultra Low-Power Wake-up input.
RA1/AN1/C12IN0-/VREF/
ICSPCLK
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 inverting 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
RB4/AN10/SDI/SDA
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.
RB5/AN11
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN11
RB6
AN
—
A/D Channel 11 input.
RB6/SCK/SCL
TTL
CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
SCK
SCL
ST
ST
CMOS SPI clock.
2
OD
I C™ clock.
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 16
© 2007 Microchip Technology Inc.