English
Language : 

PIC16F627A Datasheet, PDF (37/168 Pages) Microchip Technology – FLASH-Based 8-Bit CMOS Microcontrollers
PIC16F627A/628A/648A
TABLE 5-1: PORTA FUNCTIONS
Name
Function
Input
Type
Output
Type
Description
RA0/AN0
RA1/AN1
RA2/AN2/VREF
RA3/AN3/CMP1
RA4/T0CKI/CMP2
RA5/MCLR/VPP
RA0
AN0
RA1
AN1
RA2
AN2
VREF
RA3
AN3
CMP1
RA4
T0CKI
CMP2
RA5
MCLR
RA6/OSC2/CLKOUT
VPP
RA6
OSC2
CLKOUT
RA7/OSC1/CLKIN
RA7
OSC1
CLKIN
Legend: O = Output
— = Not used
TTL = TTL Input
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. Output is open drain type.
ST
— External clock input for TMR0 or comparator output
—
OD Comparator 2 output
ST
— Input port
ST
— Master clear. 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.
HV
— Programming voltage input.
ST
CMOS Bi-directional I/O port
—
XTAL Oscillator crystal output. Connects to crystal resonator in
Crystal Oscillator mode.
—
CMOS In RC or INTOSC 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. Connects to crystal resonator in
Crystal Oscillator mode.
ST
— External clock source input. RC biasing pin.
CMOS = CMOS Output
I
= Input
OD = Open Drain Output
P = Power
ST = Schmitt Trigger Input
AN = Analog
 2002 Microchip Technology Inc.
Preliminary
DS40044A-page 35