osSemaphoreAcquire() function
Acquire a Semaphore token or timeout if no tokens are available.
Arguments
semaphore_id
semaphore ID obtained by osSemaphoreNew.
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
osSemaphoreAcquire() is referenced by 1 libraries and example projects: