EasyManua.ls Logo

Espressif ESP32-S2 - SPI Flash API

Espressif ESP32-S2
1695 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2. API Reference
uint32_t is_mem : 1
Bit indicates if the card is a memory card
uint32_t is_sdio : 1
Bit indicates if the card is an IO card
uint32_t is_mmc : 1
Bit indicates if the card is MMC
uint32_t num_io_functions : 3
If is_sdio is 1, contains the number of IO functions on the card
uint32_t log_bus_width : 2
log2(bus width supported by card)
uint32_t is_ddr : 1
Card supports DDR mode
uint32_t reserved : 23
Reserved for future expansion
Macros
SDMMC_HOST_FLAG_1BIT
host supports 1-line SD and MMC protocol
SDMMC_HOST_FLAG_4BIT
host supports 4-line SD and MMC protocol
SDMMC_HOST_FLAG_8BIT
host supports 8-line MMC protocol
SDMMC_HOST_FLAG_SPI
host supports SPI protocol
SDMMC_HOST_FLAG_DDR
host supports DDR mode for SD/MMC
SDMMC_HOST_FLAG_DEINIT_ARG
host deinit function called with the slot argument
SDMMC_FREQ_DEFAULT
SD/MMC Default speed (limited by clock divider)
SDMMC_FREQ_HIGHSPEED
SD High speed (limited by clock divider)
SDMMC_FREQ_PROBING
SD/MMC probing speed
SDMMC_FREQ_52M
MMC 52MHz speed
SDMMC_FREQ_26M
MMC 26MHz speed
Type Definitions
typedef uint32_t sdmmc_response_t[4]
SD/MMC command response buffer
2.5.6 SPI Flash API
Espressif Systems 739
Submit Document Feedback
Release v4.4

Table of Contents