osEventFlagsWait() function
Wait for one or more Event Flags to become signaled.
Arguments
ef_id
event flags ID obtained by osEventFlagsNew.
flags
specifies the flags to wait for.
options
specifies flags options (osFlagsXxxx).
timeout
CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
Return value
event flags before clearing or error code if highest bit set.
osEventFlagsWait() calls 1 function:
![]()
osEventFlagsWait()
osEventFlagsWait():
![]()
osEventFlagsWait()