STM32G0 series ADC Analog Watchdog Interrupt Callback function
Hi,
I'm developing an application, which require ADC channel changes when an analog watchdog interrupt triggers.
Now in my IRQ routine, I'm having issues with consistent interrupts triggering, blocking my code outside of the ISR intended to change my channels and run my application. Is there any way to stop this from happening ?
I've tried __disable_irq(); with no luck. And utilizing __enable_irq(); as well.
What I want to do is, prevent all the other interrupts occuring while I am in the ISR, control the flow of the code.
I can't use scan mode scanning multiple channels or the DMA, this is the only way for my application to work.
Thanks,
