[−][src]Function esp_idf_bindgen::spi_flash_write
pub unsafe extern "C" fn spi_flash_write(
dest_addr: size_t,
src: *const c_void,
size: size_t
) -> esp_err_t
@brief Write data to Flash.
@note For fastest write performance, write a 4 byte aligned size at a 4 byte aligned offset in flash from a source buffer in DRAM. Varying any of these parameters will still work, but will be slower due to buffering.
@note Writing more than 8KB at a time will be split into multiple write operations to avoid disrupting other tasks in the system.
@param dest_addr Destination address in Flash. @param src Pointer to the source buffer. @param size Length of data, in bytes.
@return esp_err_t