AnsweredAssumed Answered

Find out if interrupt has occurred?

Question asked by arnold_w on Aug 15, 2017
Latest reply on Aug 15, 2017 by waclawek.jan

I am working with the stm32f4 Discovery Development Board and put simply, there's a while loop (with some conditions) in my main() function. Is it possible for the code inside the while-loop to find out it has been interrupted by an interrupt? Of course, I can use a global volatile boolean variable called intOccurred and set it to true in all interrupt handlers, but is there a more generic way to detect it?

Outcomes