OS_Init ()
Initialize all system variables. Called once at the beginning of main() routine.
Not in interrupt
None
nothing
void main (void) { init(); // init peripherals OS_Init(); // Init OSA variables // Now we can create tasks OS_Task_Create(...); /*...*/ OS_Run(); }