31.3.3.4.2 Accumulated Conversion

The figure below shows the timing diagram for the ADC when accumulating two samples in Accumulation mode.

Figure 31-5. Timing Diagram - Accumulated Conversion

The number of samples to accumulate is configured with the Sample Number (SAMPNUM) bit field in the Control B (ADCn.CTRLB) register. The STCONV bit is set for the entire conversion. The total conversion time for n samples is given by:

Total Conversion Time (12-bit) = 2 f CLK_PER + n ( 1 3 .5 + 2 f CLK_ADC + 2 f CLK_PER )