Function esp_idf_svc::hal::sys::heap_caps_get_total_size
source ยท pub unsafe extern "C" fn heap_caps_get_total_size(caps: u32) -> usize
Expand description
@brief Get the total size of all the regions that have the given capabilities
This function takes all regions capable of having the given capabilities allocated in them and adds up the total space they have.
@param caps Bitwise OR of MALLOC_CAP_* flags indicating the type of memory
@return total size in bytes