Datasheet
2010 Microchip Technology Inc. DS41302D-page 79
PIC12F609/615/617/12HV609/615
10.0 ANALOG-TO-DIGITAL
CONVERTER (ADC) MODULE
(PIC12F615/617/HV615 ONLY)
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).
The ADC voltage reference is software selectable to
either V
DD or a voltage applied to the external reference
pins.
The ADC can generate an interrupt upon completion of
a conversion. This interrupt can be used to wake-up the
device from Sleep.
Figure 10-1 shows the block diagram of the ADC.
FIGURE 10-1: ADC BLOCK DIAGRAM
Note: The ADRESL and ADRESH registers are
Read Only.
GP0/AN0
A/D
GP1/AN1/VREF
GP2/AN2
CV
REF
VDD
VREF
ADON
GO/DONE
VCFG = 1
VCFG = 0
CHS
VSS
0.6V Reference
1.2V Reference
GP4/AN3
ADRESH ADRESL
10
10
ADFM
0 = Left Justify
1 = Right Justify
000
001
010
011
100
101
110