Function esp_idf_svc::sys::sdspi_host_get_real_freq
source ยท pub unsafe extern "C" fn sdspi_host_get_real_freq(
handle: i32,
real_freq_khz: *mut i32,
) -> i32
Expand description
@brief Calculate working frequency for specific device
@param handle SDSPI device handle @param[out] real_freq_khz output parameter to hold the calculated frequency (in kHz)
@return
- ESP_ERR_INVALID_ARG : handle
is NULL or invalid or real_freq_khz
parameter is NULL
- ESP_OK : Success