| Pin |
Symbol |
Description |
| 1 |
VCC |
Positive supply for logic and I/O pins |
| 2 |
RA5/OSC1/CLKIN |
Digital I/O, Oscillator crystal input or external clock input, External clock source input. |
| 3 |
RA4/AN3/OSC2/CLKOUT |
Digital I/O, ADC channel 3, Oscillator crystal output., In RC mode, OSC2 pin outputs CLKOUT |
| 4 |
RA3/MCLR
/VPP
|
Digital input, Active-low Master Clear with internal pull-up, High voltage programming input |
| 5 |
RC5/CCP1/P1A/T0CKI |
Digital I/O, Capture 1 input/Compare 1 output/PWM 1 output, Enhanced CCP1 PWM output, Timer0 external clock input |
| 6 |
RC4/P1B/C12OUT/SRQ |
Digital I/O, Enhanced CCP1 PWM output, Comparator C1 and C2 output, SR Latch output |
| 7 |
RC3/AN7/P1C/C12IN3-/PGM |
Digital I/O, ADC channel 7, Enhanced CCP1 PWM output, Comparator C1 and C2 inverting input, Low-Voltage ICSP Programming enable pin |
| 8 |
RC6/AN8/SS
/T13CKI/T1OSCI
|
Digital I/O, ADC channel 8, SPI slave select input, Timer0 and Timer3 external clock input, Timer1 oscillator input |
| 9 |
RC7/AN9/SDO/T1OSCO |
Digital I/O, ADC channel 9, SPI data out, Timer1 oscillator output |
| 10 |
RB7/TX/CK |
Digital I/O, EUSART asynchronous transmit, EUSART synchronous clock (see related RX/DT) |
| 11 |
RB6/SCK/SCI |
Digital I/O, Synchronous serial clock input/output for SPI mode, Synchronous serial clock input/output for I2C mode |
| 12 |
RB5/AN11/RX/DT |
Digital I/O, ADC channel 11, EUSART asynchronous receive, EUSART synchronous data (see related RX/TX) |
| 13 |
RB4/AN10/SDI/SDA |
Digital I/O, ADC channel 10, SPI data in, I2C data I/O |
| 14 |
RC2/AN6/P1D/C12IN2-/CVREF/INT2 |
Digital I/O, ADC channel 6, Enhanced CCP1 PWM output, Comparator C1 and C2 inverting input, Comparator reference voltage output, External, interrupt 0 |
| 15 |
RC1/AN5/C12IN-/INT1/VREF- |
Digital I/O, ADC channel 5, Comparator C1 and C2 non-inverting input, External interrupt 0, Comparator reference voltage (low) input |
| 16 |
RC0/AN4/C12IN+/INT0/VREF+ |
Digital I/O, ADC channel 4, Comparator C1 and C2 non-inverting input, External interrupt 0, Comparator reference voltage (high) input |
| 17 |
VUSB |
Positive supply for USB transceiver |
| 18 |
RA1/D-/PGC |
Digital input, USB differential minus line (input/output), ICSP programming clock pin |
| 19 |
RA0/D+/PGD |
Digital input, USB differential plus line (input/output), ICSP programming data pin |
| 20 |
GND |
Ground reference for logic and I/O pins |