OS_Flag_Wait_Off (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_Off(flag, 0x13); // Wait for one of bits 0, 1, 4 to be cleared /*...*/ } }
OS_WaitAnyFlagClear
OS_Flag_Wait_Off