adc: stm32: stop ADC before disabling it
It is advised to stop any ongoing ADC conversion before
disabling the peripheral.
Added some comments so that ADC state isn't left into
intermediate state that would prevent correctly
enabling or disabling the peripheral
Signed-off-by:
Cyril Fougeray <cyril.fougeray@worldcoin.org>
Loading
Please sign in to comment