[][src]Function cmsis_rtos2::cmsis_os2::osMutexAcquire

pub unsafe extern "C" fn osMutexAcquire(
    mutex_id: osMutexId_t,
    timeout: u32
) -> osStatus_t

Acquire a Mutex or timeout if it is locked. \param[in] mutex_id mutex ID obtained by \ref osMutexNew. \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. \return status code that indicates the execution status of the function.