Datasheet

Table Of Contents
2011 Microchip Technology Inc. Preliminary DS41615A-page 113
PIC12(L)F1501
15.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 15-1 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 15-1: ADC BLOCK DIAGRAM
VDD
VREF+
ADPREF =
10
ADPREF = 00
FVR Buffer1
Note 1: When ADON = 0, all multiplexer inputs are disconnected.
ADON
GO/DONE
VSS
ADC
00000
00001
00010
00011
CHS<4:0>
AN0
V
REF+/AN1
AN2
AN3
11111
ADRESH ADRESL
10
16
ADFM
0 = Left Justify
1 = Right Justify
DAC
11110
VREF- = VSS
VREF+
11101 Temp Indicator
Reserved
11100
Reserved
00100