English
Language : 

PIC18F2682 Datasheet, PDF (18/484 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2682/2685/4682/4685
TABLE 1-3: PIC18F4682/4685 PINOUT I/O DESCRIPTIONS
Pin Name
Pin Number
Pin Buffer
PDIP QFN TQFP Type Type
Description
MCLR/VPP/RE3
MCLR
VPP
RE3
1 18 18
Master Clear (input) or programming voltage (input).
I
ST
Master Clear (Reset) input. This pin is an
active-low Reset to the device.
P
Programming voltage input.
I
ST
Digital input.
OSC1/CLKI/RA7
OSC1
CLKI
RA7
13 32 30
Oscillator crystal or external clock input.
I
ST
Oscillator crystal input or external clock source input.
ST buffer when configured in RC mode;
CMOS otherwise.
I CMOS External clock source input. Always associated with
pin function OSC1. (See related OSC2/CLKO pin.)
I/O TTL General purpose I/O pin.
OSC2/CLKO/RA6
OSC2
CLKO
RA6
14 33 31
Oscillator crystal or clock output.
O
—
Oscillator crystal output. Connects to crystal or
resonator in Crystal Oscillator mode.
O
—
In RC mode, OSC2 pin outputs CLKO which has 1/4
the frequency of OSC1 and denotes the instruction
cycle rate.
I/O TTL General purpose I/O pin.
Legend: TTL = TTL compatible input
ST = Schmitt Trigger input with CMOS levels
O = Output
CMOS = CMOS compatible input or output
I
= Input
P
= Power
DS39761B-page 16
Preliminary
© 2007 Microchip Technology Inc.