osMutexAcquire() function
Acquire a Mutex or timeout if it is locked.
Arguments
mutex_id
mutex ID obtained by osMutexNew.
timeout
CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
Return value
status code that indicates the execution status of the function.
Examples
osMutexAcquire() is referenced by 2 libraries and example projects: