Function esp_idf_svc::sys::sdmmc_write_sectors
source ยท pub unsafe extern "C" fn sdmmc_write_sectors(
card: *mut sdmmc_card_t,
src: *const c_void,
start_sector: usize,
sector_count: usize,
) -> i32
Expand description
Write given number of sectors to SD/MMC card
@param card pointer to card information structure previously initialized using sdmmc_card_init @param src pointer to data buffer to read data from; data size must be equal to sector_count * card->csd.sector_size @param start_sector sector where to start writing @param sector_count number of sectors to write @return - ESP_OK on success or sector_count equal to 0 - One of the error codes from SDMMC host controller