Datasheet

© 2007 Microchip Technology Inc. DS41268D-page 13
PIC12F510/16F506
TABLE 3-3: PIN DESCRIPTIONS – PIC16F506
Name Function Input Type
Output
Type
Description
RB0/AN0/C1IN+/ICSPDAT RB0 TTL CMOS Bidirectional I/O port. Can be software pro-
grammed for internal weak pull-up and wake-up
from Sleep on pin change.
AN0 AN ADC channel input.
C1IN+ AN Comparator 1 input.
ICSPDAT ST CMOS In-Circuit Serial Programming data pin.
RB1/AN1/C1IN-/ICSPCLK RB1 TTL CMOS Bidirectional I/O port. Can be software pro-
grammed for internal weak pull-up and wake-up
from Sleep on pin change.
AN1 AN ADC channel input.
C1IN- AN Comparator 1 input.
ICSPCLK ST In-Circuit Serial Programming clock pin.
RB2/AN2/C1OUT RB2 TTL CMOS Bidirectional I/O port.
AN2 AN ADC channel input.
C1OUT CMOS Comparator 1 output.
RB3/MCLR
/VPP RB3 TTL Standard TTL input. Can be software programmed
for internal weak pull-up and wake-up from Sleep
on pin change.
MCLR
ST MCLR input – weak pull-up always enabled in this
mode.
V
PP HV Programming voltage input.
RB4/OSC2/CLKOUT RB4 TTL CMOS Bidirectional I/O port. Can be software pro-
grammed for internal weak pull-up and wake-up
from Sleep on pin change.
OSC2 XTAL XTAL oscillator output pin.
CLKOUT CMOS EXTRC/INTOSC CLKOUT pin (FOSC/4).
RB5/OSC1/CLKIN RB5 TTL CMOS Bidirectional I/O port.
OSC1 XTAL XTAL oscillator input pin.
CLKIN ST EXTRC/EC Schmitt Trigger input.
RC0/C2IN+ RC0 TTL CMOS Bidirectional I/O port.
C2IN+ AN Comparator 2 input.
RC1/C2IN- RC1 TTL CMOS Bidirectional I/O port.
C2IN- AN Comparator 2 input.
RC2/CV
REF RC2 TTL CMOS Bidirectional I/O port.
CVREF AN Programmable Voltage Reference output.
RC3 RC3 TTL CMOS Bidirectional I/O port.
RC4/C2OUT RC4 TTL CMOS Bidirectional I/O port.
C2OUT CMOS Comparator 2 output.
RC5/T0CKI RC5 TTL CMOS Bidirectional I/O port.
T0CKI ST Timer0 clock input.
V
DD VDD P Positive supply for logic and I/O pins.
V
SS VSS P Ground reference for logic and I/O pins.
Legend: I = input, O = output, I/O = input/output, P = power, — = Not Used, TTL = TTL input, ST = Schmitt Trigger
input, AN = Analog Voltage, HV = High Voltage