Arm Community
Site
Search
User
Site
Search
User
Support forums
Architectures and Processors forum
Testing for interrupt
State
Accepted Answer
+1
person also asked this
people also asked this
Locked
Locked
Replies
3 replies
Subscribers
350 subscribers
Views
5821 views
Users
0 members are here
Interrupts
Arm7tdmi
RM7
Options
Share
More actions
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Testing for interrupt
Upp3r Upp3r
over 12 years ago
Note: This was originally posted on 19th November 2008 at
http://forums.arm.com
Im looking for a way to test if there is an interrupt currently processing on my ARM7. I can see that the interrupt disable bits are set to disable the FIQ and IRQ interrupts, but are they set when an interrupt is triggered? In my "TMS470R1x User's Guide" in the section on Exceptions, it gives a run down when an exception occurs and it says it "may also set interrupt disable flags" but nothing decisive.
My question is: Do the CPSR I and F bits signify there is an interrupt in progress, i.e, when an interrupt occurs, is the disable flag set? If not, how could I determine if there is an interrupt in progress?
Top replies
Jacob Bramley
over 12 years ago
+1
verified
Note: This was originally posted on 20th November 2008 at http://forums.arm.com The CPSR I and F bits do not indicate that an interrupt is in progress. They do nothing other than enable or disable interrupts...
0
Quote