English
Language : 

PIC18LF24K Datasheet, PDF (425/594 Pages) –
PIC18(L)F26/45/46K40
31.0 ANALOG-TO-DIGITAL
CONVERTER WITH
COMPUTATION (ADC2)
MODULE
The Analog-to-Digital Converter with Computation
(ADC2) 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).
Additionally, the following features are provided within
the ADC module:
• 8-bit Acquisition Timer
• Hardware Capacitive Voltage Divider (CVD)
support:
- 8-bit precharge timer
- Adjustable sample and hold capacitor array
- Guard ring digital output drive
• Automatic repeat and sequencing:
- Automated double sample conversion for
CVD
- Two sets of result registers (Result and
Previous result)
- Auto-conversion trigger
- Internal retrigger
• Computation features:
- Averaging and low-pass filter functions
- Reference comparison
- 2-level threshold comparison
- Selectable interrupts
Figure 31-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 and upon threshold comparison. These
interrupts can be used to wake-up the device from
Sleep.
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 425