pub unsafe extern "C" fn sdmmc_mmc_sanitize(
    card: *mut sdmmc_card_t,
    timeout_ms: u32
) -> esp_err_t
Expand description

Sanitize the data that was unmapped by a Discard command

@note Discard command has to precede sanitize operation. To discard, use MMC_DICARD_ARG with sdmmc_erase_sectors argument

@param card pointer to card information structure previously initialized using sdmmc_card_init @param timeout_ms timeout value in milliseconds required to sanitize the selected range of sectors. @return - ESP_OK on success - One of the error codes from SDMMC host controller