Function esp_idf_sys::esp_himem_unmap

source ยท
pub unsafe extern "C" fn esp_himem_unmap(
    range: esp_himem_rangehandle_t,
    ptr: *mut c_void,
    len: usize,
) -> esp_err_t
Expand description

@brief Unmap a region

@param range Range handle @param ptr Pointer returned by esp_himem_map @param len Length of the block to be unmapped. Must be aligned to the SPI RAM MMU blocksize (32K) @returns - ESP_OK if the memory is succesfully unmapped, - ESP_ERR_INVALID_ARG if ptr or len are invalid.