Microchip® Advanced Software Framework

conf_sd_mmc.h File Reference

SD/MMC stack configuration file.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define SD_MMC_0_CD_DETECT_VALUE   0
 
#define SD_MMC_0_CD_GPIO   (EXT1_PIN_10)
 
#define SD_MMC_CS   EXT1_PIN_15
 
#define SD_MMC_SPI   EXT1_SPI_MODULE
 Select the SPI module SD/MMC is connected to. More...
 
#define SD_MMC_SPI_MAX_CLOCK   10000000
 
#define SD_MMC_SPI_MEM_CNT   1
 
#define SD_MMC_SPI_MODE
 
#define SD_MMC_SPI_PINMUX_PAD0   EXT1_SPI_SERCOM_PINMUX_PAD0
 
#define SD_MMC_SPI_PINMUX_PAD1   EXT1_SPI_SERCOM_PINMUX_PAD1
 
#define SD_MMC_SPI_PINMUX_PAD2   EXT1_SPI_SERCOM_PINMUX_PAD2
 
#define SD_MMC_SPI_PINMUX_PAD3   EXT1_SPI_SERCOM_PINMUX_PAD3
 
#define SD_MMC_SPI_PINMUX_SETTING   EXT1_SPI_SERCOM_MUX_SETTING
 
#define SD_MMC_SPI_SOURCE_CLOCK   GCLK_GENERATOR_0
 

#define SD_MMC_0_CD_DETECT_VALUE   0

Referenced by sd_mmc_select_slot().

#define SD_MMC_0_CD_GPIO   (EXT1_PIN_10)

Referenced by sd_mmc_spi_init().

#define SD_MMC_CS   EXT1_PIN_15
#define SD_MMC_SPI   EXT1_SPI_MODULE

Select the SPI module SD/MMC is connected to.

Referenced by sd_mmc_spi_init().

#define SD_MMC_SPI_MAX_CLOCK   10000000
#define SD_MMC_SPI_MEM_CNT   1
#define SD_MMC_SPI_MODE
#define SD_MMC_SPI_PINMUX_PAD0   EXT1_SPI_SERCOM_PINMUX_PAD0

Referenced by sd_mmc_spi_init().

#define SD_MMC_SPI_PINMUX_PAD1   EXT1_SPI_SERCOM_PINMUX_PAD1

Referenced by sd_mmc_spi_init().

#define SD_MMC_SPI_PINMUX_PAD2   EXT1_SPI_SERCOM_PINMUX_PAD2

Referenced by sd_mmc_spi_init().

#define SD_MMC_SPI_PINMUX_PAD3   EXT1_SPI_SERCOM_PINMUX_PAD3

Referenced by sd_mmc_spi_init().

#define SD_MMC_SPI_PINMUX_SETTING   EXT1_SPI_SERCOM_MUX_SETTING

Referenced by sd_mmc_spi_init().

#define SD_MMC_SPI_SOURCE_CLOCK   GCLK_GENERATOR_0

Referenced by sd_mmc_spi_init().