You are here

Check for pending interrupts | Cypress Semiconductor

Check for pending interrupts

Summary: 3 Replies, Latest post by hli on 31 Jan 2013 09:38 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
abnoname's picture
50 posts



I have some hardware processes the raises some interrupts. The software part must wait for all interrupts completed.  But I have no knowledge about the numer of events.


Is there a way to check for still pending interrupts. I only found functions to clear the queue.




user_14586677's picture
7646 posts

Thru these register reads -



Regards, Dana.

user_78878863's picture
2551 posts

You also should disable the affected interrupts (or maybe all interrupts) before you check for pending ones. Otherwise an interrupt can be triggered the exact moment you detected out that none are active - and then you are screwed :)

user_1377889's picture
9249 posts

Have a look into the  PSoC3 TRM to be found here

There are some explanations regarding the interrupt ctrlr



Log in to post new comments.