
2010-2012 Microchip Technology Inc.
DS41414D-page 161
PIC16(L)F1946/47
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).
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.