atomic_leave_critical

Exit atomic section.

void atomic_leave_critical(
    hal_atomic_t volatile * atomic
)

Enables global interrupts. Supports nested critical sections, so that global interrupts are only re-enabled upon leaving the outermost nested critical section.

Parameters

atomic

Type: hal_atomic_t typedef volatile *

The pointer to a variable, which stores the latest stored value of the global interrupt enable flag

Returns

Type: void