Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/sdmmc/test/
Dtest_sdio.c312 static void test_cmd53_read_write_multiple_bytes(sdmmc_card_t* card, size_t n_bytes) in test_cmd53_read_write_multiple_bytes() argument
320 for (size_t i = 0; i < (n_bytes + 3) / 4; ++i) { in test_cmd53_read_write_multiple_bytes()
324 TEST_ESP_OK(sdmmc_io_write_bytes(card, 1, scratch_area_reg, src, n_bytes)); in test_cmd53_read_write_multiple_bytes()
325 ESP_LOG_BUFFER_HEX(TAG, src, n_bytes); in test_cmd53_read_write_multiple_bytes()
329 for (size_t i = 0; i < n_bytes; ++i) { in test_cmd53_read_write_multiple_bytes()
332 ESP_LOG_BUFFER_HEX(TAG, dst, n_bytes); in test_cmd53_read_write_multiple_bytes()
333 TEST_ASSERT_EQUAL_UINT8_ARRAY(src, dst, n_bytes); 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()
337 ESP_LOG_BUFFER_HEX(TAG, dst, n_bytes); in test_cmd53_read_write_multiple_bytes()
338 TEST_ASSERT_EQUAL_UINT8_ARRAY(src, dst, n_bytes); in test_cmd53_read_write_multiple_bytes()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
Di2c_cxx.cpp64 std::vector<uint8_t> I2CMaster::sync_read(uint8_t i2c_addr, size_t n_bytes) in sync_read() argument
66 I2CRead reader(n_bytes); in sync_read()
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/
Di2c_cxx.hpp229 std::vector<uint8_t> sync_read(uint8_t i2c_addr, size_t n_bytes);