[][src]Function esp_idf_bindgen::heap_caps_get_minimum_free_size

pub unsafe extern "C" fn heap_caps_get_minimum_free_size(caps: u32) -> size_t

@brief Get the total minimum free memory of all regions with the given capabilities

This adds all the low water marks of the regions capable of delivering the memory with the given capabilities.

Note the result may be less than the global all-time minimum available heap of this kind, as "low water marks" are tracked per-region. Individual regions' heaps may have reached their "low water marks" at different points in time. However this result still gives a "worst case" indication for all-time minimum free heap.

@param caps Bitwise OR of MALLOC_CAP_* flags indicating the type of memory

@return Amount of free bytes in the regions