OS_EI ()
Enable all interrupts.
Not in interrupt
None
nothing
void Task (void) { for (;;) { /*...*/ OS_DI(); // Disable interrupts /* make critical operations */ /*...*/ OS_EI(); // Enable interrupts /*...*/ } }