====== OSA : OS_EI ======
**OS_EI ()**\\
=== ===
{{osa:ref:attr_call_not_int.png|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:services:alphabetical|Alphabetical]]
* [[en:osa:ref:services:brieflist|All services]]
~~UP~~