Function esp_idf_svc::hal::sys::sdmmc_card_init
source ยท pub unsafe extern "C" fn sdmmc_card_init(
host: *const sdmmc_host_t,
out_card: *mut sdmmc_card_t,
) -> i32
Expand description
Probe and initialize SD/MMC card using given host
@note Only SD cards (SDSC and SDHC/SDXC) are supported now. Support for MMC/eMMC cards will be added later.
@param host pointer to structure defining host controller @param out_card pointer to structure which will receive information about the card when the function completes @return - ESP_OK on success - One of the error codes from SDMMC host controller