Chapter 2. API Reference
Public Members
uint8_t power_class
Power class used by the card
struct sdmmc_switch_func_rsp_t
SD SWITCH_FUNC response buffer
Public Members
uint32_t data[512 / 8 / sizeof(uint32_t)]
response data
struct sdmmc_command_t
SD/MMC command information
Public Members
uint32_t opcode
SD or MMC command index
uint32_t arg
SD/MMC command argument
sdmmc_response_t response
response buffer
void *data
buffer to send or read into
size_t datalen
length of data buffer
size_t blklen
block length
int flags
see below
esp_err_t error
error returned from transfer
int timeout_ms
response timeout, in milliseconds
struct sdmmc_host_t
SD/MMC Host description
This structure defines properties of SD/MMC host and functions of SD/MMC host which can be used by upper
layers.
Public Members
uint32_t flags
flags defining host properties
int slot
slot number, to be passed to host functions
int max_freq_khz
max frequency supported by the host
Espressif Systems 737
Submit Document Feedback
Release v4.4