pub unsafe extern "C" fn sdspi_host_set_card_clk(
    host: sdspi_dev_handle_t,
    freq_khz: u32
) -> esp_err_t
Expand description

@brief Set card clock frequency

Currently only integer fractions of 40MHz clock can be used. For High Speed cards, 40MHz can be used. For Default Speed cards, 20MHz can be used.

@note This function is not thread safe

@param host Handle of the sdspi device @param freq_khz card clock frequency, in kHz @return - ESP_OK on success - other error codes may be returned in the future