Searched refs:MMC_RSP_BITS (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-2.7.6/components/driver/include/driver/ |
D | sdmmc_defs.h | 193 #define MMC_CSD_CSDVER(resp) MMC_RSP_BITS((resp), 126, 2) 197 #define MMC_CSD_MMCVER(resp) MMC_RSP_BITS((resp), 122, 4) 203 #define MMC_CSD_READ_BL_LEN(resp) MMC_RSP_BITS((resp), 80, 4) 204 #define MMC_CSD_C_SIZE(resp) MMC_RSP_BITS((resp), 62, 12) 207 #define MMC_CSD_C_SIZE_MULT(resp) MMC_RSP_BITS((resp), 47, 3) 210 #define MMC_CID_MID_V1(resp) MMC_RSP_BITS((resp), 104, 24) 213 (pnm)[0] = MMC_RSP_BITS((resp), 96, 8); \ 214 (pnm)[1] = MMC_RSP_BITS((resp), 88, 8); \ 215 (pnm)[2] = MMC_RSP_BITS((resp), 80, 8); \ 216 (pnm)[3] = MMC_RSP_BITS((resp), 72, 8); \ [all …]
|
/hal_espressif-2.7.6/components/sdmmc/test/ |
D | test_sd.c | 79 TEST_ASSERT_EQUAL_HEX32(0x7, MMC_RSP_BITS(data, 0, 4)); 80 TEST_ASSERT_EQUAL_HEX32(0x567, MMC_RSP_BITS(data, 0, 12)); 81 TEST_ASSERT_EQUAL_HEX32(0xf0, MMC_RSP_BITS(data, 28, 8)); 82 TEST_ASSERT_EQUAL_HEX32(0x3, MMC_RSP_BITS(data, 1, 3)); 83 TEST_ASSERT_EQUAL_HEX32(0x11, MMC_RSP_BITS(data, 59, 5));
|