osSemaphoreNew() function
Create and Initialize a Semaphore object.
Arguments
max_count
maximum number of available tokens.
initial_count
initial number of available tokens.
attr
semaphore attributes; NULL: default values.
Return value
semaphore ID for reference by other functions or NULL in case of error.
Examples
osSemaphoreNew() is referenced by 1 libraries and example projects: