|
PIC16F628-20P Datasheet, PDF (35/170 Pages) Microchip Technology – FLASH-Based 8-Bit CMOS Microcontroller | |||
|
◁ |
PIC16F62X
TABLE 5-1: PORTA FUNCTIONS
Name
Functio Input
n
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/VREF
RA2
ST
CMOS Bi-directional I/O port
AN2
AN
â Analog comparator input
VREF
â
AN VREF 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
VPP
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
 2003 Microchip Technology Inc.
Preliminary
DS40300C-page 33
|
▷ |