OS_RI (char)
Restore value of GIEx previously saved by OS_DI().
Not in interrupt
char |
saved value of GIEx |
nothing
void Task (void) { char temp; for (;;) { /*...*/ temp = OS_DI(); // Disable interrupts and store previous GIEx value /*...*/ OS_RI(temp); // Restore previously saved value of GIEx /*...*/ } }