Skip to main content

IAR Embedded Workbench for Arm 9.70.x

__disable_irq

In this section:
Syntax
void __disable_irq(void);
Description

In 32-bit mode: Disables interrupt requests (irq). This intrinsic function can only be used in privileged mode and is not available for Cortex-M devices.

In 64-bit mode: Disables interrupt requests in the DAIF system register (bit 2).

Note

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