SETPRIMASK is gone
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-06-13 7:54 AM
Posted on June 13, 2009 at 16:54
SETPRIMASK is gone
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:14 AM
Posted on May 17, 2011 at 13:14
Hi folks,
can any one please tell me how to use the former __SETPRIMASK(), __RESETPRIMASK() with the new CMSIS? The according function is now _set_PRIMASK(u32 argument). But what argument do i need to get the same result as the old instructions? [ This message was edited by: nurist_m on 10-06-2009 09:55 ]Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:14 AM
Posted on May 17, 2011 at 13:14
The CMSIS function for this is
void __set_PRIMASK(uint32_t priMask); __SETPRIMASK() become __set_PRIMASK(1) __RESETPRIMASK() become __set_PRIMASK(0)