Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__get_FAULTMASK

In this section:
Syntax
unsigned int __get_FAULTMASK(void);
Description

Returns the value of the FAULTMASK register. This intrinsic function can only be used in privileged mode and it requires a Cortex-M3, Cortex-M4, or Cortex-M7 device.

Note

This intrinsic function cannot be used in 64-bit mode.

See also

__arm_rsr, __arm_rsr64, __arm_rsrp.

Note

To use intrinsic functions in an application, you must include the header file(s) where they are declared, see Summary of intrinsic functions.