OS_Flag_Wait_AllOn (flags, mask)
Only in task
flags |
Variable of OST_FLAGx (x = 8, 16, 32) type |
mask |
Bit mask to operate on |
nothing
OST_FLAG flag; void Task (void) { for (;;) { /*...*/ OS_Flag_Wait_AllOn(flag, 0x03); // Wait for bits 0 and 1 to be set /*...*/ } }
OS_WaitAllFlag
OS_Flag_Wait_AllOn