Datasheet
2003 Microchip Technology Inc. Preliminary DS40300C-page 33
PIC16F62X
TABLE 5-1: PORTA FUNCTIONS
Name
Functio
n
Input
Type
Output
Type
Description
RA0/AN0 RA0 ST CMOS Bi-directional I/O port
AN0 AN — Analog comparator input
RA1/AN1 RA1 ST CMOS Bi-directional I/O port
AN1 AN — Analog comparator input
RA2/AN2/V
REF RA2 ST CMOS Bi-directional I/O port
AN2 AN — Analog comparator input
V
REF —ANVREF output
RA3/AN3/CMP1 RA3 ST CMOS Bi-directional I/O port
AN3 AN — Analog comparator input
CMP1 — CMOS Comparator 1 output
RA4/T0CKI/CMP2 RA4 ST OD Bi-directional I/O port
T0CKI ST — External clock input for TMR0 or comparator output. Output
is open drain type
CMP2 — OD Comparator 2 output
RA5/MCLR
/VPP RA5 ST —
Input port
MCLR
ST —
Master clear
V
PP HV —
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
RA6/OSC2/CLKOUT RA6 ST CMOS Bi-directional I/O port.
OSC2 XTAL — Oscillator crystal output. Connects to crystal resonator in
Crystal Oscillator mode.
CLKOUT — CMOS In ER/INTRC mode, OSC2 pin can output CLKOUT, which
has 1/4 the frequency of OSC1
RA7/OSC1/CLKIN RA7 ST CMOS Bi-directional I/O port
OSC1 XTAL — Oscillator crystal input
CLKIN ST — External clock source input. ER biasing pin.
Legend: ST = Schmitt Trigger input HV = High Voltage OD = Open Drain AN = Analog