English
Language : 

PIC16LF1526 Datasheet, PDF (149/354 Pages) Microchip Technology – 64-Pin Flash Microcontrollers with nanoWatt XLP Technology
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).
Figure 16-1 shows the block diagram of the ADC.
The ADC voltage reference is software selectable to be
either internally generated or externally supplied.
FIGURE 16-1:
ADC BLOCK DIAGRAM
PIC16(L)F1526/27
The ADC can generate an interrupt upon completion of
a conversion. This interrupt can be used to wake-up the
device from Sleep.
VDD
ADPREF = 00
ADPREF = 11
VREF ADPREF = 10
AN0
AN1
AN2
VREF+/AN3
AN4
AN5
AN6
AN29
Temp Indicator
FVR Buffer1
00000
00001
00010
00011
00100
00101
00110
GO/DONE
ADC
11101
11110
11111
CHS<4:0>(2)
ADON(1)
VSS
10
ADFM
0 = Left Justify
1 = Right Justify
16
ADRESH ADRESL
Note 1: When ADON = 0, all multiplexer inputs are disconnected.
2: See ADCON0 register (Example 16-1) for detailed analog channel selection per device.
 2011 Microchip Technology Inc.
Preliminary
DS41458A-page 149