English
Language : 

PIC16F1934_11 Datasheet, PDF (157/472 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16(L)F1934/6/7
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
VREF-
ADNREF = 1
ADNREF = 0
VDD VSS
ADPREF = 00
ADPREF = 11
VREF+ ADPREF = 10
AN0
AN1
AN2
AN3
AN4
AN5(2)
AN6(2)
AN7(2)
AN8
AN9
AN10
AN11
AN12
AN13
Temperature Sensor
DAC
FVR Buffer1
00000
00001
00010
00011
00100
00101
00110
00111
01000
01001
01010
01011
01100
01101
11101
11110
11111
GO/DONE
ADC
ADON(1)
VSS
CHS<4:0>
Note 1: When ADON = 0, all multiplexer inputs are disconnected.
2: Not available on PIC16(L)F1936.
10
ADFM
0 = Left Justify
1 = Right Justify
16
ADRESH ADRESL
 2008-2011 Microchip Technology Inc.
DS41364E-page 157