pub unsafe extern "C" fn sdmmc_card_init(
    host: *const sdmmc_host_t,
    out_card: *mut sdmmc_card_t
) -> esp_err_t
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