Question
STM32G474: Put ADC in known reset state?
My board can startup from a variety of different ways: from power-up reset, jump between application and bootloader, external watchdog reset, or software restart for other reasons.
I want to ensure ADC1 and ADC2 are initialized from a clean known state.
Is it okay to use the AHB2RSTR register, ADC12RST bits, at the beginning of the program, to ensure the ADC are starting up same as from power-up reset?