Home
last modified time | relevance | path

Searched refs:ext_csd (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-2.7.6/components/sdmmc/
Dsdmmc_mmc.c29 uint8_t* ext_csd = heap_caps_malloc(EXT_CSD_MMC_SIZE, MALLOC_CAP_DMA); in sdmmc_init_mmc_read_ext_csd() local
30 if (!ext_csd) { in sdmmc_init_mmc_read_ext_csd()
44 err = sdmmc_mmc_send_ext_csd_data(card, ext_csd, EXT_CSD_MMC_SIZE); in sdmmc_init_mmc_read_ext_csd()
49 card_type = ext_csd[EXT_CSD_CARD_TYPE]; in sdmmc_init_mmc_read_ext_csd()
73 card->ext_csd.power_class = ext_csd[(card->max_freq_khz > SDMMC_FREQ_26M) ? in sdmmc_init_mmc_read_ext_csd()
77 card->ext_csd.power_class = ext_csd[(card->max_freq_khz > SDMMC_FREQ_26M) ? in sdmmc_init_mmc_read_ext_csd()
81 … card->ext_csd.power_class = 0; //card must be able to do full rate at powerclass 0 in 1-bit mode in sdmmc_init_mmc_read_ext_csd()
85 sectors = ( ext_csd[EXT_CSD_SEC_COUNT + 0] << 0 ) in sdmmc_init_mmc_read_ext_csd()
86 | ( ext_csd[EXT_CSD_SEC_COUNT + 1] << 8 ) in sdmmc_init_mmc_read_ext_csd()
87 | ( ext_csd[EXT_CSD_SEC_COUNT + 2] << 16 ) in sdmmc_init_mmc_read_ext_csd()
[all …]
/hal_espressif-2.7.6/components/driver/include/driver/
Dsdmmc_types.h170 sdmmc_ext_csd_t ext_csd; /*!< decoded EXT_CSD (Extended Card Specific Data) register value */ member