AnsweredAssumed Answered

How to set and reset ADC1 VBAT channel with Cube

Question asked by wild.andreas on Dec 22, 2015
Hello to all,

I can set the ADC1 Vbat Channel für a STM32F2xx with
HAL_ADC_ConfigChannel().

But how can I reset the bit in order to save the battery from leakage current?

I could not find a cube function similar to :
ADC->CCR &= (uint32_t)(~ADC_CCR_VBATE) which clears the bit

Thank you
Andy

Outcomes