English
Language : 

PIC16F628-20P Datasheet, PDF (11/170 Pages) Microchip Technology – FLASH-Based 8-Bit CMOS Microcontroller
PIC16F62X
TABLE 2-1: PIC16F62X PINOUT DESCRIPTION
Name
RA0/AN0
RA1/AN1
RA2/AN2/VREF
RA3/AN3/CMP1
RA4/T0CKI/CMP2
RA5/MCLR/VPP
RA6/OSC2/CLKOUT
RA7/OSC1/CLKIN
RB0/INT
RB1/RX/DT
RB2/TX/CK
RB3/CCP1
Legend: O = Output
— = Not used
TTL = TTL Input
Function
RA0
AN0
RA1
AN1
RA2
AN2
VREF
RA3
AN3
CMP1
RA4
T0CKI
CMP2
RA5
MCLR
VPP
RA6
OSC2
CLKOUT
RA7
OSC1
CLKIN
RB0
INT
RB1
RX
DT
RB2
TX
CK
RB3
CCP1
Input Type Output Type
Description
ST
CMOS Bi-directional I/O port
AN
—
Analog comparator input
ST
CMOS Bi-directional I/O port
AN
—
Analog comparator input
ST
CMOS Bi-directional I/O port
AN
—
Analog comparator input
—
AN
VREF output
ST
CMOS Bi-directional I/O port
AN
—
Analog comparator input
—
CMOS Comparator 1 output
ST
OD
Bi-directional I/O port
ST
—
Timer0 clock input
—
OD
Comparator 2 output
ST
—
Input port
ST
—
Master clear
—
—
Programming voltage input. 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.
ST
CMOS Bi-directional I/O port
XTAL
—
Oscillator crystal output. Connects to crystal
or resonator in Crystal Oscillator mode.
—
CMOS In ER/INTRC mode, OSC2 pin can output
CLKOUT, which has 1/4 the frequency of
OSC1
ST
CMOS Bi-directional I/O port
XTAL
—
Oscillator crystal input
ST
—
External clock source input. ER biasing pin.
TTL
CMOS Bi-directional I/O port. Can be software
programmed for internal weak pull-up.
ST
—
External interrupt.
TTL
CMOS Bi-directional I/O port. Can be software
programmed for internal weak pull-up.
ST
—
USART receive pin
ST
CMOS Synchronous data I/O.
TTL
CMOS Bi-directional I/O port.
—
CMOS USART transmit pin
ST
CMOS Synchronous clock I/O. Can be software
programmed for internal weak pull-up.
TTL
CMOS Bi-directional I/O port. Can be software
programmed for internal weak pull-up.
ST
CMOS Capture/Compare/PWM I/O
CMOS = CMOS Output
I
= Input
OD = Open Drain Output
P = Power
ST = Schmitt Trigger Input
AN = Analog
 2003 Microchip Technology Inc.
Preliminary
DS40300C-page 9