Functions | |
bool | core_util_are_interrupts_enabled (void) |
Determine the current interrupts enabled state. More... | |
bool | core_util_is_isr_active (void) |
Determine if this code is executing from an interrupt. More... | |
void | core_util_critical_section_enter (void) |
Mark the start of a critical section. More... | |
void | core_util_critical_section_exit (void) |
Mark the end of a critical section. More... | |
bool | core_util_in_critical_section (void) |
Determine if we are currently in a critical section. More... | |
bool core_util_are_interrupts_enabled | ( | void | ) |
Determine the current interrupts enabled state.
This function can be called to determine whether or not interrupts are currently enabled.
void core_util_critical_section_enter | ( | void | ) |
Mark the start of a critical section.
This function should be called to mark the start of a critical section of code.
void core_util_critical_section_exit | ( | void | ) |
Mark the end of a critical section.
This function should be called to mark the end of a critical section of code.
bool core_util_in_critical_section | ( | void | ) |
Determine if we are currently in a critical section.
bool core_util_is_isr_active | ( | void | ) |
Determine if this code is executing from an interrupt.
This function can be called to determine if the code is running on interrupt context.