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