Datasheet
PIC12F635/PIC16F636/639
DS41232D-page 14 © 2007 Microchip Technology Inc.
TABLE 1-3: PIC16F639 PINOUT DESCRIPTIONS
Name Function
Input
Type
Output
Type
Description
LCCOM LCCOM AN — Common reference for analog inputs.
LCX LCX AN — 125 kHz analog X channel input.
LCY LCY AN — 125 kHz analog Y channel input.
LCZ LCZ AN — 125 kHz analog Z channel input.
RA0/C1IN+/ICSPDAT/ULPWU RA0 TTL — General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up/pull-down.
Selectable Ultra Low-Power Wake-up pin.
C1IN+ AN — Comparator1 input – positive.
ICSPDAT TTL CMOS Serial Programming Data IO.
ULPWU AN — Ultra Low-Power Wake-up input.
RA1/C1IN-/V
REF/ICSPCLK RA1 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up/pull-down.
C1IN- AN — Comparator1 input – negative.
V
REF AN — External voltage reference
ICSPCLK ST — Serial Programming Clock.
RA2/T0CKI/INT/C1OUT RA2 ST CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up/pull-down.
T0CKI ST — External clock for Timer0.
INT ST — External Interrupt.
C1OUT — CMOS Comparator1 output.
RA3/MCLR
/VPP
RA3 TTL
—
General purpose input. Individually controlled
interrupt-on-change.
MCLR
ST —
Master Clear Reset. Pull-up enabled when configured as MCLR
.
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/pull-down.
T1G
ST — Timer1 gate.
OSC2 — XTAL XTAL connection.
CLKOUT — CMOS T
OSC reference clock.
RA5/T1CKI/OSC1/CLKIN RA5 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up/pull-down.
T1CKI ST — Timer1 clock.
OSC1 XTAL — XTAL connection.
CLKIN ST — T
OSC/4 reference clock.
RC0/C2IN+ RC0 TTL CMOS General purpose I/O.
C2IN+ AN — Comparator1 input – positive.
RC1/C2IN-/CS
RC1 TTL CMOS General purpose I/O.
C2IN- AN — Comparator1 input – negative.
CS
TTL — Chip select input for SPI communication with internal pull-up
resistor.
RC2/SCLK/ALERT
RC2 TTL CMOS General purpose I/O.
SCLK TTL — Digital clock input for SPI communication.
ALERT
— OD Output with internal pull-up resistor for AFE error signal.
Legend: AN = Analog input or output CMOS = CMOS compatible input or output D = Direct
HV = High Voltage ST = Schmitt Trigger input with CMOS levels OD = Open Drain
TTL = TTL compatible input XTAL = Crystal