Function esp_idf_sys::heap_caps_get_info

source ยท
pub unsafe extern "C" fn heap_caps_get_info(
    info: *mut multi_heap_info_t,
    caps: u32,
)
Expand description

@brief Get heap info for all regions with the given capabilities.

Calls multi_heap_info() on all heaps which share the given capabilities. The information returned is an aggregate across all matching heaps. The meanings of fields are the same as defined for multi_heap_info_t, except that minimum_free_bytes has the same caveats described in heap_caps_get_minimum_free_size().

@param info Pointer to a structure which will be filled with relevant heap metadata. @param caps Bitwise OR of MALLOC_CAP_* flags indicating the type of memory