sdspi_host_get_real_freq() function
Calculate working frequency for specific device
Arguments
handle
SDSPI device handle
real_freq_khz
output parameter to hold the calculated frequency (in kHz)
Return value
- ESP_ERR_INVALID_ARG : ``handle`` is NULL or invalid or ``real_freq_khz`` parameter is NULL - ESP_OK : Success
Examples
sdspi_host_get_real_freq() is referenced by 3 libraries and example projects: