OSA : OS_EI

OS_EI ()

Not allowed in interrupt

Enable all interrupts.

Call allowed:

Not in interrupt

Parameters:

None

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_DI();     // Disable interrupts
        /* make critical operations */
        /*...*/
        OS_EI();     // Enable interrupts
        /*...*/
    }
}

See also