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.
Functions called by osSemaphoreAcquire()
osSemaphoreAcquire()
_txe_semaphore_get() all items filtered out
Data read by osSemaphoreAcquire()
Data written by osSemaphoreAcquire()
osSemaphoreAcquire()
osSemaphoreAcquire()::status osSemaphoreAcquire()::tx_status all items filtered out
Type of osSemaphoreAcquire()
osSemaphoreAcquire()