OS_Flag_Wait_On (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_On (flag, 0xFF); // Wait for any bit set /*...*/ } }
OS_WaitAnyFlag
OS_Flag_Wait_On