SDMMC slot configuration. More...
SDMMC slot configuration.
If the ESP32x variant uses the GPIO matrix to route the SDMMC signals to arbitrary pins (i.e. SOC_SDMMC_USE_GPIO_MATRIX
is defined in SoC capabilities file), the pins must be configured. The bus width is then determined from the defined pins. Define the pins for the DAT lines as GPIO_UNDEF
to use a smaller data bus width. If the ESP32x variant uses direct I/O (i.e. SOC_SDMMC_USE_IOMUX
is defined in SoC capabilities file), the bus width has to be specified instead.
Definition at line 704 of file periph_cpu.h.
#include <periph_cpu.h>
Data Fields | |
sdmmc_slot_t | slot |
SDMMC slot used [ SDMMC_SLOT_0 | SDMMC_SLOT_1]. | |
gpio_t | cd |
Card Detect pin (must be GPIO_UNDEF if not connected) | |
gpio_t | wp |
Write Protect pin (must be GPIO_UNDEF if not connected) | |
gpio_t | clk |
CLK pin (must be defined) | |
gpio_t | cmd |
CMD pin (must be defined) | |
gpio_t | dat0 |
DAT[0] pin (must be defined) | |
gpio_t | dat1 |
DAT[1] pin (GPIO_UNDEF if not connected) | |
gpio_t | dat2 |
DAT[2] pin (GPIO_UNDEF if not connected) | |
gpio_t | dat3 |
DAT[3] pin (GPIO_UNDEF if not connected) | |
gpio_t | dat4 |
DAT[4] pin (GPIO_UNDEF if not connected) | |
gpio_t | dat5 |
DAT[5] pin (GPIO_UNDEF if not connected) | |
gpio_t | dat6 |
DAT[6] pin (GPIO_UNDEF if not connected) | |
gpio_t | dat7 |
DAT[7] pin (GPIO_UNDEF if not connected) | |