OSA : OS_Flag_Create

OS_Flag_Create (flags)

Create flag. After creation flag value is zero.

Call allowed:

Everywhere

Parameters:

flags Variable of OST_FLAGx (x = 8, 16, 32) type

Returns:

nothing

Example:

OST_FLAG flag;
 
void Task (void)
{
    OS_Flag_Create (flag);  // Create flag to work with it
    for (;;) {
        /*...*/
    }
}

Old style name

OS_CreateFlag

OS_Flag_Check_On

See also