How to tell if interrupts are enabled
I need to determine if the interrupts are enabled at one point of my code but I have not been able to find any reference for the STM32G474. It doesn't look like there is a PRIMASK register which is mentions in another post.
I know how do enable and disable the global interrupts: __enable_irq() and __disable_irq(), but I don't know how to determine if the are enabled.
How can I tell if the global interrupts are enabled?
