Skip to main content

IAR Embedded Workbench for RX 5.20

__get_interrupt_level

In this section:
Syntax
__ilevel_t __get_interrupt_level(void);
Description

Returns the current interrupt level. The return type __ilevel_t has this definition:

typedef unsigned char __ilevel_t;

The return value of __get_interrupt_level can be used as an argument to the __set_interrupt_level intrinsic function.

Note

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