Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM Interrupt Register
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
119 subscribers
Views
2335 views
Users
0 members are here
Options
Share
More actions
Cancel
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
ARM Interrupt Register
Shri Ram
over 12 years ago
Note: This was originally posted on 9th May 2013 at
http://forums.arm.com
I am working on Non-Secure Side and i want to find if a Interrupt is pending. What value should i look for to find out if an interrupt is pending in the register:
Highest Pending Interrupt Register (ICCHPIR)
The following URL is confusing:
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0048a/CHDIFEDJ.html
Thanks
Shri Ram
over 12 years ago
Note: This was originally posted on 10th May 2013 at
http://forums.arm.com
I work on both secure and non-secure sides and
I am checking from the Non-Secure Side:
---------------------------------------------------------
My Condition is "NO Non-Secure Interrupt Pending"? - I check for the value 1023. That is If the register read returns 1023 - I assume that there are no non secure interrupts pending. Is this correct?
I am checking from the Secure Side
-------------------------------------------------
My Condition is "NO Non-Secure Interrupt Pending"? - I check for the value 1023. That is If the register read returns 1023 - I assume that there are no non-secure interrupts are pending. Is this correct?
Is my understanding correct?
Cancel
Vote up
0
Vote down
Cancel
Martin Weidmann
over 12 years ago
Note: This was originally posted on 9th May 2013 at
http://forums.arm.com
Are you interested in whether any interrupt is pending, or a specific interrupt is pending?
If "any" then you're looking for the register read not returning one of the reserved IDs (1020-1023). Basically the register returns the IDs of the pending interrupt with the hightest priority. If there are no pending interrupts it will return one of the those four reserved IDs.
Cancel
Vote up
0
Vote down
Cancel