Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/sdmmc/test/
Dtest_sdio.c289 const size_t scratch_area_reg = SLCHOST_CONF_W0 - DR_REG_SLCHOST_BASE; in test_cmd52_read_write_single_byte() local
297 err = sdmmc_io_write_byte(card, 1, scratch_area_reg, test_byte_1, &test_byte_1_raw); in test_cmd52_read_write_single_byte()
300 err = sdmmc_io_write_byte(card, 1, scratch_area_reg + 1, test_byte_2, &test_byte_2_raw); in test_cmd52_read_write_single_byte()
305 TEST_ESP_OK(sdmmc_io_read_byte(card, 1, scratch_area_reg, &val)); in test_cmd52_read_write_single_byte()
308 TEST_ESP_OK(sdmmc_io_read_byte(card, 1, scratch_area_reg + 1, &val)); in test_cmd52_read_write_single_byte()
315 const size_t scratch_area_reg = SLCHOST_CONF_W0 - DR_REG_SLCHOST_BASE; in test_cmd53_read_write_multiple_bytes() local
324 TEST_ESP_OK(sdmmc_io_write_bytes(card, 1, scratch_area_reg, src, n_bytes)); in test_cmd53_read_write_multiple_bytes()
330 TEST_ESP_OK(sdmmc_io_read_byte(card, 1, scratch_area_reg + i, &dst[i])); in test_cmd53_read_write_multiple_bytes()
336 TEST_ESP_OK(sdmmc_io_read_bytes(card, 1, scratch_area_reg, dst, n_bytes)); in test_cmd53_read_write_multiple_bytes()