32.3.3.3 Aborting a Conversion

These actions will abort an ongoing conversion:

  • Writing STOP to the START bit field in the Command (ADCn.COMMAND) register
  • Writing a new value that changes the Reference Selection bit field (REFSEL) in the (ADCn.CTRLC) register during a conversion
  • Writing a new value that changes Positive Input Multiplexer (ADCn.MUXPOS) register

This will result in undefined values in the RESULT and SAMPLE registers. A new conversion will start immediately, since the settling time associated with the updated parameter must pass before the ADC is ready.