Symbols
loading...
Files
loading...
SummarySyntaxRelatedReferences

Fields

Field
Declared as
Description
uint32_t
flags defining host properties.
int
slot number, to be passed to host functions.
int
max frequency supported by the host.
float
I/O voltage used by the controller (voltage switching is not supported).
Driver Strength.
Current Limit.
esp_err_t (*)(void)
Host function to initialize the driver.
esp_err_t (*)(int slot, size_t width)
host function to set bus width.
esp_err_t (*)(int slot, bool *is_uhs1)
host slot is set to uhs1 or not.
size_t (*)(int slot)
host function to get bus width.
esp_err_t (*)(int slot, bool ddr_enable)
host function to set DDR mode.
esp_err_t (*)(int slot, uint32_t freq_khz)
host function to set card clock frequency.
esp_err_t (*)(int slot, bool cclk_always_on)
host function to set whether the clock is always enabled.
esp_err_t (*)(int slot, sdmmc_command_t* cmdinfo)
host function to do a transaction.
esp_err_t (*)(int slot)
Host function to enable SDIO interrupt line.
esp_err_t (*)(int slot, TickType_t timeout_ticks)
Host function to wait for SDIO interrupt line to be active.
int
timeout, in milliseconds, of a single command. Set to 0 to use the default value.
esp_err_t (*)(int slot, int* real_freq)
Host function to provide real working freq, based on SDMMC controller setup.
input delay phase, this will only take into effect when the host works in SDMMC_FREQ_HIGHSPEED or SDMMC_FREQ_52M. Driver will print out how long the delay is.
esp_err_t (*)(int slot, sdmmc_delay_phase_t delay_phase)
set input delay phase.
void*
Leave it NULL. Reserved for cache aligned buffers for SDIO mode.
Power control handle.
esp_err_t (*)(int slot, esp_dma_mem_info_t *dma_mem_info)
host function to dma memory information.

References

from examples