Function osEventFlagsWait

Source
pub unsafe extern "C" fn osEventFlagsWait(
    ef_id: osEventFlagsId_t,
    flags: u32,
    options: u32,
    timeout: u32,
) -> u32
Expand description

Wait for one or more Event Flags to become signaled. \param[in] ef_id event flags ID obtained by \ref osEventFlagsNew. \param[in] flags specifies the flags to wait for. \param[in] options specifies flags options (osFlagsXxxx). \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. \return event flags before clearing or error code if highest bit set.