The SAADC 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.
Perform the following steps to sample ADC. At least one channel must be enabled in the register CH[n].CONFIG.
- Enable ADC with register ENABLE.
- Start ADC using the START task.
- Trigger the SAMPLE task to sample ADC.
ADC indicates a single ongoing conversion via the register STATUS. Multiple conversions occur in the ADC during oversampling, noise shaping, scan mode, or continuous modes. As a result, the value in register STATUS will toggle at the end of each single conversion.