Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/driver/include/driver/
Dsdmmc_defs.h199 #define MMC_CSD_CSDVER(resp) MMC_RSP_BITS((resp), 126, 2)
203 #define MMC_CSD_MMCVER(resp) MMC_RSP_BITS((resp), 122, 4)
209 #define MMC_CSD_READ_BL_LEN(resp) MMC_RSP_BITS((resp), 80, 4)
210 #define MMC_CSD_C_SIZE(resp) MMC_RSP_BITS((resp), 62, 12)
213 #define MMC_CSD_C_SIZE_MULT(resp) MMC_RSP_BITS((resp), 47, 3)
216 #define MMC_CID_MID_V1(resp) MMC_RSP_BITS((resp), 104, 24)
219 (pnm)[0] = MMC_RSP_BITS((resp), 96, 8); \
220 (pnm)[1] = MMC_RSP_BITS((resp), 88, 8); \
221 (pnm)[2] = MMC_RSP_BITS((resp), 80, 8); \
222 (pnm)[3] = MMC_RSP_BITS((resp), 72, 8); \
[all …]
/hal_espressif-3.4.0/components/sdmmc/test/
Dtest_sd.c72 TEST_ASSERT_EQUAL_HEX32(0x7, MMC_RSP_BITS(data, 0, 4));
73 TEST_ASSERT_EQUAL_HEX32(0x567, MMC_RSP_BITS(data, 0, 12));
74 TEST_ASSERT_EQUAL_HEX32(0xf0, MMC_RSP_BITS(data, 28, 8));
75 TEST_ASSERT_EQUAL_HEX32(0x3, MMC_RSP_BITS(data, 1, 3));
76 TEST_ASSERT_EQUAL_HEX32(0x11, MMC_RSP_BITS(data, 59, 5));