Microchip Technology AC244044 Data Sheet

Page of 448
 2010-2012 Microchip Technology Inc.
DS41440C-page 149
PIC16(L)F1825/1829
16.0 ANALOG-TO-DIGITAL 
CONVERTER (ADC) MODULE
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 (ADRESH:ADRESL register pair).
 shows the block diagram of the ADC.
The ADC voltage reference is software selectable to be
either internally generated or externally supplied.
The ADC can generate an interrupt upon completion of
a conversion. This interrupt can be used to wake-up the
device from Sleep.
FIGURE 16-1:
ADC BLOCK DIAGRAM
 DAC_output
V
DD
V
REF
+
ADPREF = 10
ADPREF = 00
ADPREF = 11
FVR Buffer1
V
SS
V
REF
-
ADNREF = 1
ADNREF = 0
Note 1:
When ADON = 0, all multiplexer inputs are disconnected.
2:
PIC16(L)F1829 only.
ADON
GO/DONE
V
SS
ADC
00000
00001
00010
00011
00100
00101
00111
00110
01000
01001
01010
01011
11110
CHS<4:0>
AN0
AN1
AN2
AN4
AN5
AN6
AN7
AN3
AN8
(2)
AN9
(2)
AN10
(2)
AN11
(2)
11111
ADRESH ADRESL
10
16
ADFM
0 = Left Justify
1 = Right Justify
 Temp Indicator
11101