Datasheet

PIC16F72
DS39597C-page 6 © 2007 Microchip Technology Inc.
TABLE 1-1: PIC16F72 PINOUT DESCRIPTION
Pin Name
PDIP,
SOIC,
SSOP
Pin#
MLF
Pin#
I/O/P
Type
Buffer
Type
Description
OSC1/CLKI 9 6 I
ST/CMOS
(3)
Oscillator crystal input/external clock source input.
OSC2/CLKO 10 7 O Oscillator crystal output. Connects to crystal or resonator in Crystal
Oscillator mode. In RC mode, the OSC2 pin outputs CLKO, which has
1/4 the frequency of OSC1, and denotes the instruction cycle rate.
MCLR
/VPP
1 26 I/P ST Master Clear (Reset) input or programming voltage input. This pin is
an active low RESET to the device.
PORTA is a bi-directional I/O port.
RA0/AN0 2 27 I/O TTL RA0 can also be analog input0.
RA1/AN1 3 28 I/O TTL RA1 can also be analog input1.
RA2/AN2 4 1 I/O TTL RA2 can also be analog input2.
RA3/AN3/V
REF 5 2 I/O TTL RA3 can also be analog input3 or analog reference voltage.
RA4/T0CKI 6 3 I/O ST RA4 can also be the clock input to the Timer0 module. Output is
open drain type.
RA5/AN4/SS
7 4 I/O TTL RA5 can also be analog input4 or the slave select for the
synchronous serial port.
PORTB is a bi-directional I/O port. PORTB can be software
programmed for internal weak pull-up on all inputs.
RB0/INT 21 18 I/O TTL/ST
(1)
RB0 can also be the external interrupt pin.
RB1 22 19 I/O TTL
RB2 23 20 I/O TTL
RB3 24 21 I/O TTL
RB4 25 22 I/O TTL Interrupt-on-change pin.
RB5 26 23 I/O TTL Interrupt-on-change pin.
RB6/PGC 27 24 I/O TTL/ST
(2)
Interrupt-on-change pin. Serial programming clock.
RB7/PGD 28 25 I/O TTL/ST
(2)
Interrupt-on-change pin. Serial programming data.
PORTC is a bi-directional I/O port.
RC0/T1OSO/
T1CKI
11 8 I/O ST RC0 can also be the Timer1 oscillator output or Timer1 clock input.
RC1/T1OSI 12 9 I/O ST RC1 can also be the Timer1 oscillator input.
RC2/CCP1 13 10 I/O ST RC2 can also be the Capture1 input/Compare1 output/
PWM1 output.
RC3/SCK/SCL 14 11 I/O ST RC3 can also be the synchronous serial clock input/output for both
SPI and I
2
C modes.
RC4/SDI/SDA 15 12 I/O ST RC4 can also be the SPI Data In (SPI mode) or
Data I/O (I
2
C mode).
RC5/SDO 16 13 I/O ST RC5 can also be the SPI Data Out (SPI mode).
RC6 17 14 I/O ST
RC7 18 15 I/O ST
V
SS 8, 19 5, 16 P Ground reference for logic and I/O pins.
V
DD 20 17 P Positive supply 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
Note 1: This buffer is a Schmitt Trigger input when configured as the external interrupt.
2: This buffer is a Schmitt Trigger input when used in Serial Programming mode.
3: This buffer is a Schmitt Trigger input when configured in RC Oscillator mode and a CMOS input otherwise.