Command disabled: backlink
 
Available Languages?:

OSA : OS_Flag_Init

OS_Flag_Init (flags, value)
OS_Flag_Init_I (flags, value)

flags = value

Set value of flag.

Call allowed:

Everywhere

Parameters:

flags Variable of OST_FLAGx (x = 8, 16, 32) type
value Flag initial value.

Returns:

nothing

Example:

OST_FLAG flag;
 
void Task (void)
{
    for (;;) {
        /*...*/
        OS_Flag_Init (flag, 0x1234);
        /*...*/
    }
}

Old style name

OS_InitFlag
OS_Flag_Check_On

See also

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