22.6.1.2.1 Function system_interrupt_is_global_enabled()

Check if global interrupts are enabled.

bool system_interrupt_is_global_enabled( void )

Checks if global interrupts are currently enabled.

Returns

A boolean that identifies if the global interrupts are enabled or not.

Table 22-1. Return Values
Return valueDescription

true

Global interrupts are currently enabled

false

Global interrupts are currently disabled