Command disabled: backlink
 
Available Languages?:

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

 
en/osa/ref/allservices/os_ei.txt · Last modified: 07.10.2010 13:56 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki