osSemaphoreWait() function
Wait until a Semaphore token becomes available
Arguments
semaphore_id
millisec
timeout value or 0 in case of no time-out.
Return value
number of available tokens, or -1 in case of incorrect parameters.
Notes
MUST REMAIN UNCHANGED: \b osSemaphoreWait shall be consistent in every CMSIS-RTOS.
Examples
osSemaphoreWait() is referenced by
43 libraries and example projects.
Functions called by osSemaphoreWait()
osSemaphoreWait()
Data read by osSemaphoreWait()
Data written by osSemaphoreWait()
osSemaphoreWait()::ticks osSemaphoreWait()::taskWoken all items filtered out
osSemaphoreWait()
osSemaphoreWait()::ticks all items filtered out
Type of osSemaphoreWait()
osSemaphoreWait()
int32_t all items filtered out