Disable interrupts, enter critical section.
void atomic_enter_critical( hal_atomic_t volatile * atomic )
Disables global interrupts. Supports nested critical sections, so that global interrupts are only re-enabled upon leaving the outermost nested critical section.
Type: hal_atomic_t typedef volatile *
The pointer to a variable to store the value of global interrupt enable flag
Type: void