Function esp_idf_svc::hal::sys::sdmmc_read_sectors

source ยท
pub unsafe extern "C" fn sdmmc_read_sectors(
    card: *mut sdmmc_card_t,
    dst: *mut c_void,
    start_sector: usize,
    sector_count: usize,
) -> i32
Expand description

Read given number of sectors from the SD/MMC card

@param card pointer to card information structure previously initialized using sdmmc_card_init @param dst pointer to data buffer to write into; buffer size must be at least sector_count * card->csd.sector_size @param start_sector sector where to start reading @param sector_count number of sectors to read @return - ESP_OK on success or sector_count equal to 0 - One of the error codes from SDMMC host controller