Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__get_IPSR

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

Returns the value of the IPSR register (Interrupt Program Status Register). This intrinsic function can only be used in privileged mode, and is only available for Cortex-M devices.

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.