Datasheet

© 2007 Microchip Technology Inc. DS41268D-page 11
PIC12F510/16F506
TABLE 3-2: PIN DESCRIPTIONS – PIC12F510
Name I/O/P Type Input Type
Output
Type
Description
GP0/AN0/C1IN+/ICSPDAT GP0 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 input.
ICSPDAT ST CMOS In-Circuit Serial Programming data pin.
GP1/AN1/C1IN-/ICSPCLK GP1 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 input.
ICSPCLK ST In-Circuit Serial Programming clock pin.
GP2/AN2/T0CKI/C1OUT GP2 TTL CMOS Bidirectional I/O port.
AN2 AN ADC channel input.
T0CKI ST Timer0 clock input.
C1OUT CMOS Comparator output.
GP3/MCLR/
VPP GP3 TTL Standard TTL input. Can be software pro-
grammed 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.
GP4/OSC2 GP4 TTL CMOS Bidirectional I/O port.
OSC2 XTAL XTAL oscillator output pin.
GP5/OSC1/CLKIN GP5 TTL CMOS Bidirectional I/O port.
OSC1 XTAL XTAL oscillator input pin.
CLKIN ST EXTRC Schmitt Trigger 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