Function esp_idf_svc::hal::sys::xEventGroupCreateWithCaps
source · pub unsafe extern "C" fn xEventGroupCreateWithCaps(
uxMemoryCaps: u32,
) -> *mut EventGroupDef_t
Expand description
@brief Creates an event group with specific memory capabilities
This function is similar to xEventGroupCreate(), except that it allows the memory allocated for the event group to have specific capabilities (e.g., MALLOC_CAP_INTERNAL).
@note An event group created using this function must only be deleted using vEventGroupDeleteWithCaps() @param uxMemoryCaps Memory capabilities of the event group’s memory (see esp_heap_caps.h) @return Handle to the created event group or NULL on failure.