PIC16F913/914/916/917/946
The ADC voltage reference is software selectable to be
either internally generated or externally supplied.
12.0 ANALOG-TO-DIGITAL
CONVERTER (ADC) MODULE
The ADC can generate an interrupt upon completion of
a conversion. This interrupt can be used to wake-up the
device from Sleep.
The Analog-to-Digital Converter (ADC) allows
conversion of an analog input signal to a 10-bit binary
representation of that signal. This device uses analog
inputs, which are multiplexed into a single sample and
hold circuit. The output of the sample and hold is
connected to the input of the converter. The converter
generates a 10-bit binary result via successive
approximation and stores the conversion result into the
ADC result registers (ADRESL and ADRESH).
Figure 12-1 shows the block diagram of the ADC.
FIGURE 12-1:
ADC BLOCK DIAGRAM
VDD
VCFG0 = 0
VCFG0 = 1
VREF+
000
001
010
011
100
101
110
111
RA0/AN0
RA1/AN1
ADC
RA2/AN2
RA3/AN3
10
GO/DONE
RA5/AN4
0= Left Justify
1= Right Justify
ADFM
RE0/AN5(1)
RE1/AN6(1)
RE2/AN7(1)
ADON
VSS
10
ADRESH ADRESL
VCFG1 = 0
VCFG1 = 1
CHS
VREF-
Note 1: These channels are only available on PIC16F914/917 and PIC16F946 devices.
© 2007 Microchip Technology Inc.
DS41250F-page 175