Datasheet

© 2007 Microchip Technology Inc. DS41206B-page 37
PIC16F716
7.0 ANALOG-TO-DIGITAL
CONVERTER (ADC) MODULE
The Analog-to-Digital Converter (ADC) allows
conversion of an analog input signal to a 8-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 8-bit binary result via successive
approximation and stores the conversion result into the
ADC result register (ADRES).
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 7-1 shows the block diagram of the ADC.
FIGURE 7-1: ADC BLOCK DIAGRAM
RA0/AN0
RA1/AN1
RA2/AN2
VDD
VREF
ADON
GO/DONE
CHS
ADRES
8
V
SS
RA3/VREF/AN3
000
001
010
011
PFCG<2:0>
(ADCON1 register)
ADC