Completion of a Conversion

When any individual conversion is complete, the value already in ADRES is written into ADPREV (if ADPSIS = 0) and the new conversion results appear in ADRES. When the conversion completes, the ADC module will:

After every conversion when ADDSEN = 0, or after every other conversion when ADDSEN = 1, the following events occur:

Important: Filter and threshold computations occur after the conversion itself is complete. As such, interrupt handlers responding to ADIF should check ADTIF before reading filter and threshold results.