Synopsis
#include <ctl_api.h>
int ctl_global_interrupts_enable(void);
Description

ctl_global_interrupts_enable enables global interrupts and returns the return the enabled state of interrupts before they were enabled. You can pass the return value of ctl_global_interrupts_enable to ctl_global_interrupts_set to restore the previous global interrupt enable state.

Portability

ctl_global_interrupts_enable is provided in every implementation of the CrossWorks tasking library.

See Also

Global interrupts control