The ADC input configuration supports several modes of sampling.
- One-shot, one channel
- One-shot, scan (one sample for each channel)
- Continuous, one channel
- Continuous, scan
Note: Scan mode and oversampling should not be combined without burst.
- The ADC must be enabled and started via the ENABLE register and START task.
- At least one channel must be enabled (via the CH[n].CONFIG registers).
- Now the ADC can be sampled, by triggering the SAMPLE task.
The ADC indicates a single ongoing conversion via the register STATUS. During scan, oversampling, or continuous modes, multiple conversions take place in the ADC. As a result, the value in STATUS register toggles at the end of each single conversion.