Skip to content
Commit 572ab242 authored by Francois Ramu's avatar Francois Ramu Committed by Christopher Friedt
Browse files

drivers: adc: stm32 disable the ADC before setting the Resolution



On those STM32 series, setting of this feature is conditioned to
the ADC state: it is allowed to write the Data resolution (RES bits)
in the ADC_CFGR1 register only when ADC is disabled (ADEN=0).

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent affae9b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment