> why there are no intrinsic functions for this? These are available in the ARM CMSIS: __get_PRIMASK(), __disable_irq() and __set_PRIMASK().
> why there are no intrinsic functions for this?
These are available in the ARM CMSIS: __get_PRIMASK(), __disable_irq() and __set_PRIMASK().