
2007 Microchip Technology Inc.
DS41213D-page 9
PIC16F5X
TABLE 2-1:
PIC16F54 PINOUT DESCRIPTION
Name
Function
Input
Type
Output
Type
Description
RA0
TTL
CMOS
Bidirectional I/O pin
RA1
TTL
CMOS
Bidirectional I/O pin
RA2
TTL
CMOS
Bidirectional I/O pin
RA3
TTL
CMOS
Bidirectional I/O pin
RB0
TTL
CMOS
Bidirectional I/O pin
RB1
TTL
CMOS
Bidirectional I/O pin
RB2
TTL
CMOS
Bidirectional I/O pin
RB3
TTL
CMOS
Bidirectional I/O pin
RB4
TTL
CMOS
Bidirectional I/O pin
RB5
TTL
CMOS
Bidirectional I/O pin
RB6/ICSPCLK
RB6
TTL
CMOS
Bidirectional I/O pin
ICSPCLK
ST
—
Serial Programming Clock
RB7/ICSPDAT
RB7
TTL
CMOS
Bidirectional I/O pin
ICSPDAT
ST
CMOS
Serial Programming I/O
T0CKI
ST
—
Clock input to Timer0. Must be tied to VSS or VDD, if not in use, to
reduce current consumption.
MCLR/VPP
MCLR
ST
—
Active-low Reset to device. Voltage on the MCLR/VPP pin must
not exceed VDD to avoid unintended entering of Programming
mode.
VPP
HV
—
Programming voltage input
OSC1/CLKIN
OSC1
XTAL
—
Oscillator crystal input
CLKIN
ST
—
External clock source input
OSC2/CLKOUT
OSC2
—
XTAL
Oscillator crystal output. Connects to crystal or resonator in
Crystal Oscillator mode.
CLKOUT
—
CMOS
In RC mode, OSC2 pin can output CLKOUT, which has 1/4 the
frequency of OSC1.
VDD
Power
—
Positive supply for logic and I/O pins
VSS
Power
—
Ground reference for logic and I/O pins
Legend: I
= input
I/O
= input/output
CMOS = CMOS output
O
= output
—
= Not Used
XTAL
= Crystal input/output
ST
= Schmitt Trigger input
TTL = TTL input
HV
= High Voltage