Datasheet
2006-2012 Microchip Technology Inc. DS41291G-page 19
PIC16F882/883/884/886/887
RB3/AN9/PGM/C12IN2- RB3 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN9 AN — A/D Channel 9.
PGM ST — Low-voltage ICSP™ Programming enable pin.
C12IN2- AN — Comparator C1 or C2 negative input.
RB4/AN11/P1D RB4 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN11 AN — A/D Channel 11.
P1D — CMOS PWM output.
RB5/AN13/T1G
RB5 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
AN13 AN — A/D Channel 13.
T1G
ST — Timer1 Gate input.
RB6/ICSPCLK RB6 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
ICSPCLK ST — Serial Programming Clock.
RB7/ICSPDAT RB7 TTL CMOS General purpose I/O. Individually controlled interrupt-on-change.
Individually enabled pull-up.
ICSPDAT ST CMOS ICSP™ Data I/O.
RC0/T1OSO/T1CKI RC0 ST CMOS General purpose I/O.
T1OSO — CMOS Timer1 oscillator output.
T1CKI ST — Timer1 clock input.
RC1/T1OSI/CCP2 RC1 ST CMOS General purpose I/O.
T1OSI ST — Timer1 oscillator input.
CCP2 ST CMOS Capture/Compare/PWM2.
RC2/P1A/CCP1 RC2 ST CMOS General purpose I/O.
P1A — CMOS PWM output.
CCP1 ST CMOS Capture/Compare/PWM1.
RC3/SCK/SCL RC3 ST CMOS General purpose I/O.
SCK ST CMOS SPI clock.
SCL ST OD I
2
C™ clock.
RC4/SDI/SDA RC4 ST CMOS General purpose I/O.
SDI ST — SPI data input.
SDA ST OD I
2
C data input/output.
RC5/SDO RC5 ST CMOS General purpose I/O.
SDO — CMOS SPI data output.
RC6/TX/CK RC6 ST CMOS General purpose I/O.
TX — CMOS EUSART asynchronous transmit.
CK ST CMOS EUSART synchronous clock.
RC7/RX/DT RC7 ST CMOS General purpose I/O.
RX ST — EUSART asynchronous input.
DT ST CMOS EUSART synchronous data.
RE3/MCLR
/VPP RE3 TTL — General purpose input.
MCLR
ST — Master Clear with internal pull-up.
V
PP HV — Programming voltage.
V
SS VSS Power — Ground reference.
V
DD VDD Power — Positive supply.
TABLE 1-1: PIC16F882/883/886 PINOUT DESCRIPTION (CONTINUED)
Name Function
Input
Type
Output
Type
Description
Legend: AN = Analog input or output CMOS = CMOS compatible input or output OD = Open Drain
TTL = TTL compatible input ST = Schmitt Trigger input with CMOS levels
HV = High Voltage XTAL = Crystal