Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
External Interrupt Priority Level Register Cortex M3
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
118 subscribers
Views
2937 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
External Interrupt Priority Level Register Cortex M3
Vinayak Ray
over 12 years ago
Note: This was originally posted on 15th July 2010 at
http://forums.arm.com
Hi,
I am trying to program the priority level of external interrupts but without any luck
snippet from the code
-------------------------------------------------------------------------------
#define PRI_3 ((volatile unsigned char *) (0xE000E403))
*PRI_3 = data;
__DSB();
------------------------------------------------------------------------------
When I try to read back the data written using
data = *PRI_3;
__DSB();
I don't get the expected data
Do I have to set any other registers?
Thanks
Vinayak
Parents
Simon Craske
over 12 years ago
Note: This was originally posted on 15th July 2010 at
http://forums.arm.com
What is the value of "data"?
Depending on the configuration of the Cortex-M3 part in question,
it may only be possible to write the values 0x00, 0x20, 0x40, 0x60, 0x80, 0xA0, 0xC0 and 0xE0.
hth
s.
Cancel
Vote up
0
Vote down
Cancel
Reply
Simon Craske
over 12 years ago
Note: This was originally posted on 15th July 2010 at
http://forums.arm.com
What is the value of "data"?
Depending on the configuration of the Cortex-M3 part in question,
it may only be possible to write the values 0x00, 0x20, 0x40, 0x60, 0x80, 0xA0, 0xC0 and 0xE0.
hth
s.
Cancel
Vote up
0
Vote down
Cancel
Children
No data