Datasheet
2003 Microchip Technology Inc. Preliminary DS40300C-page 9
PIC16F62X
TABLE 2-1: PIC16F62X PINOUT DESCRIPTION
Name Function 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 — Timer0 clock input
CMP2 — OD Comparator 2 output
RA5/MCLR
/VPP RA5
ST — Input port
MCLR
ST — Master clear
V
PP — — Programming voltage input. When configured
as MCLR
, this pin is an active low RESET to
the device. Voltage on MCLR
/VPP must not
exceed V
DD during normal device operation.
RA6/OSC2/CLKOUT RA6 ST CMOS Bi-directional I/O port
OSC2 XTAL — Oscillator crystal output. Connects to crystal
or 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.
RB0/INT RB0 TTL CMOS Bi-directional I/O port. Can be software
programmed for internal weak pull-up.
INT ST — External interrupt.
RB1/RX/DT RB1 TTL CMOS Bi-directional I/O port. Can be software
programmed for internal weak pull-up.
RX ST — USART receive pin
DT ST CMOS Synchronous data I/O.
RB2/TX/CK RB2 TTL CMOS Bi-directional I/O port.
TX — CMOS USART transmit pin
CK ST CMOS Synchronous clock I/O. Can be software
programmed for internal weak pull-up.
RB3/CCP1 RB3 TTL CMOS Bi-directional I/O port. Can be software
programmed for internal weak pull-up.
CCP1 ST CMOS Capture/Compare/PWM I/O
Legend: O = Output CMOS = CMOS Output P = Power
— = Not used I = Input ST = Schmitt Trigger Input
TTL = TTL Input OD = Open Drain Output AN = Analog