[][src]Function esp_idf_bindgen::esp_partition_main_flash_region_safe

pub unsafe extern "C" fn esp_partition_main_flash_region_safe(
    addr: size_t,
    size: size_t
) -> bool

Check whether the region on the main flash is safe to write.

@param addr Start address of the region @param size Size of the region

@return true if the region is safe to write, otherwise false.