pub unsafe extern "C" fn osSemaphoreAcquire(
semaphore_id: osSemaphoreId_t,
timeout: u32,
) -> osStatus_t
Expand description
Acquire a Semaphore token or timeout if no tokens are available. \param[in] semaphore_id semaphore ID obtained by \ref osSemaphoreNew. \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.