PIC12F508/509/16F505
TABLE 3-2:
Name
PIC12F508/509 PINOUT DESCRIPTION
Input Output
Function
Description
Type
Type
GP0/ICSPDAT
GP0
TTL
CMOS Bidirectional I/O pin. Can be software programmed for internal
weak pull-up and wake-up from Sleep on pin change.
ICSPDAT
GP1
ST
CMOS In-Circuit Serial Programming™ data pin.
GP1/ICSPCLK
TTL
CMOS Bidirectional I/O pin. Can be software programmed for internal
weak pull-up and wake-up from Sleep on pin change.
ICSPCLK
GP2
ST
TTL
ST
CMOS In-Circuit Serial Programming clock pin.
CMOS Bidirectional I/O pin.
GP2/T0CKI
T0CKI
GP3
—
—
Clock input to TMR0.
GP3/MCLR/VPP
TTL
Input pin. Can be software programmed for internal weak
pull-up and wake-up from Sleep on pin change.
MCLR
ST
—
Master Clear (Reset). When configured as MCLR, this pin is
an active-low Reset to the device. Voltage on MCLR/VPP must
not exceed VDD during normal device operation or the device
will enter Programming mode. Weak pull-up always on if
configured as MCLR.
VPP
GP4
HV
TTL
—
—
Programming voltage input.
GP4/OSC2
CMOS Bidirectional I/O pin.
OSC2
XTAL Oscillator crystal output. Connections to crystal or resonator in
Crystal Oscillator mode (XT and LP modes only, GPIO in other
modes).
GP5/OSC1/CLKIN
GP5
OSC1
CLKIN
VDD
TTL
XTAL
ST
CMOS Bidirectional I/O pin.
—
—
P
Oscillator crystal input.
External clock source input.
VDD
VSS
—
Positive supply for logic and I/O pins.
Ground reference for logic and I/O pins.
VSS
—
P
Legend: I = Input, O = Output, I/O = Input/Output, P = Power, — = Not used, TTL = TTL input,
ST = Schmitt Trigger input, HV = High Voltage
© 2007 Microchip Technology Inc.
Preliminary
DS41236C-page 11