Question
How to set and reset ADC1 VBAT channel with Cube
Posted on December 22, 2015 at 15:01
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