FreeRTOS + 0/43 examples
CodeScope will show references to osSemaphoreWait() from the following samples and libraries:
Libraries
Examples
STM32469I_EVAL
Demonstrations
Applications
FreeRTOS
LwIP
mbedTLS
USB_Host
STM32F413H-Discovery
Demonstrations
STM32446E_EVAL
Applications
FreeRTOS
USB_Host
STM32469I-Discovery
Applications
USB_Host
STM324x9I_EVAL
Applications
FreeRTOS
LwIP
mbedTLS
USB_Host
STM324xG_EVAL
Applications
FreeRTOS
LwIP
mbedTLS
USB_Host
STM32F412G-Discovery
Applications
FreeRTOS
STM32F412ZG-Nucleo
Applications
USB_Host
STM32F413ZH-Nucleo
Applications
FreeRTOS
STM32F429ZI-Nucleo
Applications
LwIP
 
Symbols
loading...
Files
loading...

osSemaphoreWait() function

Wait until a Semaphore token becomes available

Syntax

int32_t osSemaphoreWait (osSemaphoreId semaphore_id,     uint32_t millisec);
Implemented in cmsis_os.c:779

Arguments

semaphore_id

semaphore object referenced with osSemaphore .

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.

References

LocationText
cmsis_os.c:779
int32_t osSemaphoreWait (osSemaphoreId semaphore_id, uint32_t millisec)
cmsis_os.h:679
int32_t osSemaphoreWait (osSemaphoreId semaphore_id, uint32_t millisec);

Call Tree

Functions called by osSemaphoreWait()
osSemaphoreWait()
Data read by osSemaphoreWait()
Data written by osSemaphoreWait()
osSemaphoreWait()
osSemaphoreWait()::ticks
all items filtered out
Type of osSemaphoreWait()
osSemaphoreWait()
int32_t
all items filtered out