English
Language : 

PIC16F526 Datasheet, PDF (60/122 Pages) Microchip Technology – 14-Pin, 8-Bit Flash Microcontroller
PIC16F526
9.1.5 SLEEP
This ADC does not have a dedicated ADC clock, and
therefore, no conversion in Sleep is possible. If a
conversion is underway and a Sleep command is
executed, the GO/DONE and ADON bit will be cleared.
This will stop any conversion in process and power-
down the ADC module to conserve power. Due to the
nature of the conversion process, the ADRES may con-
tain a partial conversion. At least 1 bit must have been
converted prior to Sleep to have partial conversion data
in ADRES. The ADCS and CHS bits are reset to their
default condition; ANS<1:0> = 11 and CHS<1:0> = 11.
• For accurate conversions, TAD must meet the
following:
• 500 ns < TAD < 50 s
• TAD = 1/(FOSC/divisor)
Shaded areas indicate TAD out of range for accurate
conversions. If analog input is desired at these
frequencies, use INTOSC/8 for the ADC clock source.
TABLE 9-2: TAD FOR ADCS SETTINGS WITH VARIOUS OSCILLATORS
Source
ADCS
<1:0>
Divisor
20
MHz
16
MHz
8 MHz 4 MHz 1 MHz
500
kHz
350
kHz
200
kHz
100
kHz
32 kHz
INTOSC 11
FOSC
10
FOSC
01
FOSC
00
4
—
— .5 s 1 s —
—
—
—
—
—
4
.2 s .25 s .5 s 1 s 4 s 8 s 11 s 20 s 40 s 125 s
8
.4 s .5 s 1 s 2 s 8 s 16 s 23 s 40 s 80 s 250 s
16 .8 s 1 s 2 s 4 s 16 s 32 s 46 s 80 s 160 s 500 s
TABLE 9-3: EFFECTS OF SLEEP ON ADCON0
ANS1
ANS0
ADCS1 ADCS0
Entering Unchanged Unchanged
1
1
Sleep
Wake or
1
1
1
1
Reset
CHS1
1
1
CHS0
1
GO/DONE
0
ADON
0
1
0
0
DS41326D-page 60
 2010 Microchip Technology Inc.