33.4.2.3 Aborting a Conversion
There are several ways to stop an ongoing conversion:
- Writing STOP to the Start Conversion bit field in the Command register (COMMAND.START)
- Changing the value in the Input Multiplexer Control (INPUTCTRL) register
- Changing the Reference Selection bit field in the Control C register (CTRLC.REFSEL)
When an ongoing conversion is stopped, the Result (RESULT) and Sample (SAMPLE) registers will contain undefined values.
If a conversion is aborted while a series or burst accumulation is ongoing, the conversion
series is aborted, the ADC peripheral returns to the idle state, and the accumulator is reset
to ‘0’.
