PIC16F631/677/685/687/689/690
Figure 9-1 shows the block diagram of the ADC.
9.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 (ADRESL and ADRESH).
Note:
The ADC module applies to PIC16F677/
PIC16F685/PIC16F687/PIC16F689/
PIC16F690 devices only.
The ADC voltage reference is software selectable to
either VDD 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 9-1:
ADC BLOCK DIAGRAM
VDD
VCFG = 0
VCFG = 1
VREF
RA0/AN0/C1IN+/ICSPDAT/ULPWU
RA1/AN1/C12IN0-/VREF/ICSPCLK
RA2/AN2/T0CKI/INT/C1OUT
RA4/AN3/T1G/OSC2/CLKOUT
RC0/AN4/C2IN+
RC1/AN5/C12IN1-
(1)
RC2/AN6/C12IN2-/P1D
ADC
(1)
RC3/AN7/C12IN3-/P1C
10
(2)
GO/DONE
RC6/AN8/SS
(2)
RC7/AN9/SDO
0= Left Justify
1= Right Justify
ADFM
(2)
RB4/AN10/SDI/SDA
(2)
ADON
RB5/AN11/RX/DT
10
CVREF
ADRESH ADRESL
VSS
VP6 Reference
CHS
Note 1: P1C and P1D available on PIC16F685/PIC16F690 only.
2: SS, SDO, SDA, RX and DT available on PIC16F677/PIC16F687/PIC16F689/PIC16F690 only.
3: ADC module applies to the PIC16F677/PIC16F685/PIC16F687/PIC16F689/PIC16F690 devices only.
© 2007 Microchip Technology Inc.
DS41262D-page 107