Command disabled: backlink
 
Available Languages?:

OSA : OS_Init

OS_Init ()

Not allowed in interrupt

Initialize all system variables. Called once at the beginning of main() routine.

Call allowed:

Not in interrupt

Parameters:

None

Returns:

nothing

Example:

void main (void)
{
    init();      // init peripherals
    OS_Init();   // Init OSA variables
 
    // Now we can create tasks
    OS_Task_Create(...);
    /*...*/
 
    OS_Run();
 
}

See also

 
en/osa/ref/allservices/os_init.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