pub unsafe extern "C" fn heap_caps_get_minimum_free_size(
    caps: u32
) -> usize
Expand description

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

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

@note Note the result may be less than the global all-time minimum available heap of this kind, as “low watermarks” are tracked per-region. Individual regions’ heaps may have reached their “low watermarks” 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