Datasheet
PIC16F631/677/685/687/689/690
DS40001262F-page 14 2005-2015 Microchip Technology Inc.
TABLE 1-1: PINOUT DESCRIPTION – PIC16F631
Name Function
Input
Type
Output
Type
Description
RA0/C1IN+/ICSPDAT/ULPWU RA0 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
C1IN+ AN — Comparator C1 non-inverting input.
ICSPDAT ST CMOS ICSP™ Data I/O.
ULPWU AN — Ultra Low-Power Wake-up input.
RA1/C12IN0-/ICSPCLK RA1 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
C12IN0- AN — Comparator C1 or C2 inverting input.
ICSPCLK ST — ICSP™ clock.
RA2/T0CKI/INT/C1OUT RA2 ST CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
T0CKI ST — Timer0 clock input.
INT ST — External interrupt pin.
C1OUT — CMOS Comparator C1 output.
RA3/MCLR
/VPP RA3 TTL — General purpose input. Individually controlled interrupt-on-
change.
MCLR
ST — Master Clear with internal pull-up.
V
PP HV — Programming voltage.
RA4/T1G
/OSC2/CLKOUT RA4 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
T1G
ST — Timer1 gate input.
OSC2 — XTAL Crystal/Resonator.
CLKOUT — CMOS F
OSC/4 output.
RA5/T1CKI/OSC1/CLKIN RA5 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
T1CKI ST — Timer1 clock input.
OSC1 XTAL — Crystal/Resonator.
CLKIN ST — External clock input/RC oscillator connection.
RB4 RB4 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
RB5 RB5 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
RB6 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/C2IN+ RC0 ST CMOS General purpose I/O.
C2IN+ AN — Comparator C2 non-inverting input.
RC1/C12IN1- RC1 ST CMOS General purpose I/O.
C12IN1- AN — Comparator C1 or C2 inverting input.
RC2/C12IN2- RC2 ST CMOS General purpose I/O.
C12IN2- AN — Comparator C1 or C2 inverting input.
RC3/C12IN3- RC3 ST CMOS General purpose I/O.
C12IN3- AN — Comparator C1 or C2 inverting input.
RC4/C2OUT RC4 ST CMOS General purpose I/O.
C2OUT — CMOS Comparator C2 output.
RC5 RC5 ST CMOS General purpose I/O.
Legend: AN = Analog input or output CMOS=CMOS compatible input or output
TTL = TTL compatible input ST= Schmitt Trigger input with CMOS levels
HV = High Voltage XTAL= Crystal