/hal_espressif-3.6.0/components/driver/test/ |
D | test_dac.c | 69 int read_raw = 0, read_old = 0; variable 74 TEST_ESP_OK( adc2_get_raw( ADC_TEST_CHANNEL_NUM, ADC_TEST_WIDTH, &read_raw) ); 75 ESP_LOGI(TAG, "DAC%d - ADC%d", output_data, read_raw); 77 TEST_ASSERT_GREATER_THAN(read_old, read_raw); 79 read_old = read_raw; 116 int read_raw[3] = {0}; variable 119 TEST_ESP_OK( adc2_get_raw( ADC_TEST_CHANNEL_NUM, ADC_TEST_WIDTH, &read_raw[0]) ); 120 ESP_LOGI(TAG, "ADC: %d", read_raw[0]); 125 read_raw[2] = read_raw[1]; 126 read_raw[1] = read_raw[0];
|
D | test_adc2_with_wifi.c | 143 int read_raw; variable 168 TEST_ESP_OK(adc2_get_raw(ADC2_CHAN1, ADC_WIDTH, &read_raw)); 169 printf("Before WiFi starts, ADC read: %d (target_value: %d)\n", read_raw, target_value); 170 TEST_ASSERT_INT_WITHIN(ADC_ERROR_THRES, target_value, read_raw); 175 TEST_ASSERT_EQUAL(adc2_get_raw(ADC2_CHAN1, ADC_WIDTH, &read_raw), ESP_ERR_TIMEOUT); 187 ret = adc2_get_raw(ADC2_CHAN1, ADC_WIDTH, &read_raw); 189 … printf("When WiFi is ON, ADC read: %d (target_value: %d)\n", read_raw, target_value); 190 TEST_ASSERT_INT_WITHIN(ADC_ERROR_THRES, target_value, read_raw); 202 TEST_ESP_OK(adc2_get_raw(ADC2_CHAN1, ADC_WIDTH, &read_raw)); 203 printf("After WiFi is OFF, ADC read: %d (target_value: %d)\n", read_raw, target_value); [all …]
|
/hal_espressif-3.6.0/examples/peripherals/adc/single_read/adc2/main/ |
D | adc2_example_main.c | 31 int read_raw; in app_main() local 55 r = adc2_get_raw( ADC2_EXAMPLE_CHANNEL, width, &read_raw); in app_main() 57 printf("%d: %d\n", output_data, read_raw ); in app_main()
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/ |
D | test_i2c.cpp | 93 TEST_ASSERT_EQUAL(1, slave.read_raw(&buffer, 1, chrono::milliseconds(1000))); in i2c_slave_read_raw_byte() 122 TEST_ASSERT_EQUAL(8, slave.read_raw(buffer, 8, chrono::milliseconds(1000))); in i2c_slave_read_multiple_raw_bytes() 155 TEST_ASSERT_EQUAL(1, slave.read_raw(&slave_read_buffer, 1, chrono::milliseconds(1000))); in i2c_slave_composed_trans() 423 TEST_ASSERT_EQUAL(BUF_SIZE, slave.read_raw(buffer1, BUF_SIZE, chrono::milliseconds(1000))); in i2c_slave_read_multiple_raw_bytes_twice() 424 TEST_ASSERT_EQUAL(BUF_SIZE, slave.read_raw(buffer2, BUF_SIZE, chrono::milliseconds(1000))); in i2c_slave_read_multiple_raw_bytes_twice() 467 TEST_ASSERT_EQUAL(1, slave.read_raw(&slave_read_buffer, 1, chrono::milliseconds(1000))); in i2c_slave_composed_trans_twice() 470 TEST_ASSERT_EQUAL(1, slave.read_raw(&slave_read_buffer, 1, chrono::milliseconds(1000))); in i2c_slave_composed_trans_twice()
|
/hal_espressif-3.6.0/components/nvs_flash/src/ |
D | partition.hpp | 36 virtual esp_err_t read_raw(size_t src_offset, void* dst, size_t size) = 0;
|
D | nvs_partition.hpp | 59 esp_err_t read_raw(size_t src_offset, void* dst, size_t size) override;
|
D | nvs_partition.cpp | 34 esp_err_t NVSPartition::read_raw(size_t src_offset, void* dst, size_t size) in read_raw() function in nvs::NVSPartition
|
D | nvs_page.cpp | 35 auto rc = mPartition->read_raw(mBaseAddress, &header, sizeof(header)); in load() 50 rc = mPartition->read_raw(mBaseAddress + i, block, 4 * BLOCK_SIZE); in load() 521 auto rc = mPartition->read_raw(mBaseAddress + ENTRY_TABLE_OFFSET, mEntryTable.data(), in mLoadEntryTable() 560 auto rc = mPartition->read_raw(entryAddress, &header, sizeof(header)); in mLoadEntryTable()
|
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/ |
D | test_fixtures.hpp | 37 esp_err_t read_raw(size_t src_offset, void* dst, size_t size) override in read_raw() function in PartitionEmulation
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/include/ |
D | i2c_cxx.hpp | 302 virtual int read_raw(uint8_t* buffer, size_t buffer_len, std::chrono::milliseconds timeout);
|
/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/ |
D | i2c_cxx.cpp | 116 int I2CSlave::read_raw(uint8_t *buffer, size_t buffer_len, chrono::milliseconds timeout) in read_raw() function in idf::I2CSlave
|
/hal_espressif-3.6.0/components/nvs_flash/host_test/fixtures/ |
D | test_fixtures.hpp | 53 esp_err_t read_raw(size_t src_offset, void* dst, size_t size) override in read_raw() function in PartitionMock
|
/hal_espressif-3.6.0/tools/test_idf_size/ |
D | overflow_esp32c3.map | 35599 … 0x000000004200bf44 nvs::NVSPartition::read_raw(unsigned int, void*, unsigned int) 70552 nvs::NVSPartition::read_raw(unsigned int, void*, unsigned int) esp-idf/nvs_flash/libnvs_flash.a(nvs…
|