pub unsafe extern "C" fn sdspi_host_get_real_freq(
    handle: sdspi_dev_handle_t,
    real_freq_khz: *mut c_int
) -> esp_err_t
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