2009-06-13 07:54 AM
SETPRIMASK is gone
2011-05-17 04:14 AM
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 ]2011-05-17 04:14 AM
The CMSIS function for this is
void __set_PRIMASK(uint32_t priMask); __SETPRIMASK() become __set_PRIMASK(1) __RESETPRIMASK() become __set_PRIMASK(0)