PIC16HV785 Microchip Technology Inc., PIC16HV785 Datasheet - Page 90

no-image

PIC16HV785

Manufacturer Part Number
PIC16HV785
Description
20-pin Flash-based 8-bit Cmos Microcontroller
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV785-E/ML
Manufacturer:
LEGERITY
Quantity:
100
Part Number:
PIC16HV785-E/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SO
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16HV785-I/ML
Manufacturer:
MICROCHIP
Quantity:
12 000
PIC16F785/HV785
12.3
The A/D Converter module can operate during Sleep.
This requires the A/D clock source to be set to the F
option. When the RC clock source is selected, the A/D
waits one instruction before starting the conversion.
This allows the SLEEP instruction to be executed, thus
eliminating much of the switching noise from the con-
version. When the conversion is complete, the GO/
DONE bit is cleared and the result is loaded into the
ADRESH:ADRESL registers. If the A/D interrupt is
enabled (ADIE and PEIE bits set), the device awakens
from Sleep. If the GIE bit (INTCON<7>) is set, the pro-
gram counter is set to the interrupt vector (0004h). If
GIE is clear, the next instruction is executed. If the A/D
interrupt is not enabled, the A/D module is turned off,
although the ADON bit remains set.
FIGURE 12-5:
DS41249D-page 88
A/D Operation During Sleep
A/D TRANSFER FUNCTION
0V
3FDh
3FCh
3FEh
3FBh
3FFh
004h
003h
002h
001h
000h
1 LSb ideal
Zero-Scale
Transition
Full-Scale Range
Preliminary
RC
When the A/D clock source is something other than
RC, a SLEEP instruction causes the present conversion
to be aborted and the A/D module is turned off. The
ADON bit remains set.
V
REF
Full-Scale
Transition
1 LSb ideal
Analog Input Voltage
© 2006 Microchip Technology Inc.

Related parts for PIC16HV785