Global detection, if interrupt occurs | Cypress Semiconductor
Global detection, if interrupt occurs
is there a simple way to detect, if an interrupt occurs during a specified time. I only need to know if something happened. Within this time there is a time critical procedure. I have to drop the results, if there was an ISR call between processing. But I can not disable global ISR within this time.
Sure, I can use flags inside each ISR. But this is something dificult to do inside the cypress modules (USB_FS e.g.).
So maybe I could check a register?