xSemaphoreCreateBinaryWithCaps() function
@endcond Creates a binary semaphore with specific memory capabilities This function is similar to vSemaphoreCreateBinary(), except that it allows the memory allocated for the binary semaphore to have specific capabilities (e.g., MALLOC_CAP_INTERNAL).
Arguments
uxMemoryCaps
Memory capabilities of the binary semaphore's memory (see esp_heap_caps.h)
Return value
Handle to the created binary semaphore or NULL on failure.
Notes
A binary semaphore created using this function must only be deleted using vSemaphoreDeleteWithCaps()
xSemaphoreCreateBinaryWithCaps() calls 1 function:
![]()
xSemaphoreCreateBinaryWithCaps()
xSemaphoreCreateBinaryWithCaps():
![]()
xSemaphoreCreateBinaryWithCaps()