6.34 __get_PRIMASK Intrinsic Function

Returns the value of the PRIMASK register. This intrinsic function can only be used in privileged mode and it requires a Cortex-M device.

Suggested Replacement

__get_PRIMASK

Caveats

None.

Examples

unsigned int __get_PRIMASK(void); 

Further Information

None.