PIC12F508/509/16F505
TABLE 3-3:
Name
PIC16F505 PINOUT DESCRIPTION
Input Output
Function
Description
Type
Type
RB0/ICSPDAT
RB0
TTL
CMOS Bidirectional I/O pin. Can be software programmed for internal
weak pull-up and wake-up from Sleep on pin change.
ICSPDAT
RB1
ST
CMOS In-Circuit Serial Programming™ data pin.
RB1/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
RB2
ST
CMOS In-Circuit Serial Programming clock pin.
CMOS Bidirectional I/O pin.
RB2
TTL
TTL
RB3/MCLR/VPP
RB3
—
Input port. 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
HV
—
Programming voltage input.
RB4/OSC2/CLKOUT
RB4
TTL
CMOS Bidirectional I/O pin. Can be software programmed for internal
weak pull-up and wake-up from Sleep on pin change.
OSC2
—
—
XTAL Oscillator crystal output. Connections to crystal or resonator in
Crystal Oscillator mode (XT, HS and LP modes only).
CLKOUT
CMOS In EXTRC and INTRC modes, the pin output can be
configured for CLKOUT, which has 1/4 the frequency of OSC1
and denotes the instruction cycle rate.
RB5/OSC1/CLKIN
RB5
OSC1
CLKIN
RC0
TTL
XTAL
ST
CMOS Bidirectional I/O pin.
—
—
Crystal input.
External clock source input.
RC0
TTL
TTL
TTL
TTL
TTL
TTL
ST
CMOS Bidirectional I/O pin.
CMOS Bidirectional I/O pin.
CMOS Bidirectional I/O pin.
CMOS Bidirectional I/O pin.
CMOS Bidirectional I/O pin.
CMOS Bidirectional I/O pin.
RC1
RC1
RC2
RC2
RC3
RC3
RC4
RC4
RC5/T0CKI
RC5
T0CKI
VDD
—
P
Clock input to TMR0.
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 13