Function esp_idf_sys::sdmmc_host_set_input_delay

source ·
pub unsafe extern "C" fn sdmmc_host_set_input_delay(
    slot: c_int,
    delay_phase: sdmmc_delay_phase_t,
) -> esp_err_t
Expand description

@brief set input delay

@note ESP32 doesn’t support this feature, you will get an ESP_ERR_NOT_SUPPORTED

  • This API sets delay when the SDMMC Host samples the signal from the SD Slave.
  • This API will check if the given delay_phase is valid or not.
  • This API will print out the delay time, in picosecond (ps)

@param slot slot number (SDMMC_HOST_SLOT_0 or SDMMC_HOST_SLOT_1) @param delay_phase delay phase, this API will convert the phase into picoseconds and print it out

@return - ESP_OK: ON success. - ESP_ERR_INVALID_ARG: Invalid argument. - ESP_ERR_NOT_SUPPORTED: ESP32 doesn’t support this feature.