sdmmc_host_deinit() function
Disable SDMMC host and release allocated resources forcefully
Return value
- ESP_OK on success - ESP_ERR_INVALID_STATE if SDMMC host has not been initialized
Notes
This function will deinitialize the host immediately, regardless of the number of active slots This function is not thread safe
sdmmc_host_deinit() calls 2 functions:
![]()
sdmmc_host_deinit()
sdmmc_host_deinit() reads 2 variables:
![]()
sdmmc_host_deinit()