Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/spi_flash/test/
Dtest_mmap.c22 static spi_flash_mmap_handle_t handle1, handle2, handle3; variable
58 if (handle2) { in setup_mmap_tests()
59 spi_flash_munmap(handle2); in setup_mmap_tests()
60 handle2 = 0; in setup_mmap_tests()
120 … ESP_ERROR_CHECK( spi_flash_mmap(start - 0x10000, 0x20000, SPI_FLASH_MMAP_DATA, &ptr2, &handle2) );
121 printf("mmap_res: handle=%d ptr=%p\n", handle2, ptr2);
145 spi_flash_munmap(handle2);
146 handle2 = 0;
184 spi_flash_mmap_handle_t handle2; variable
186 … ESP_ERROR_CHECK( spi_flash_mmap(start - 0x10000, 0x20000, SPI_FLASH_MMAP_INST, &ptr2, &handle2) );
[all …]
/hal_espressif-2.7.6/components/esp_system/test/
Dtest_intr_alloc.c205 intr_handle_t handle1, handle2; variable
214 r = esp_intr_alloc(spi_periph_signal[1].irq, 0, int_handler2, NULL, &handle2);
217 … r = esp_intr_alloc(spi_periph_signal[1].irq, ESP_INTR_FLAG_SHARED, int_handler2, &ctx, &handle2);
238 r = esp_intr_free(handle2);
/hal_espressif-2.7.6/components/nvs_flash/test_nvs_host/
Dtest_nvs_handle.cpp66 NVSHandleSimple *handle2; variable
72 …SPartitionManager::get_instance()->open_handle("test", "ns_1", NVS_READWRITE, &handle2) == ESP_OK);
80 delete handle2;
Dtest_nvs.cpp1807 nvs_handle_t handle1, handle2; variable
1809 TEST_ESP_OK( nvs_open_from_partition("nvs2", "test", NVS_READWRITE, &handle2) );
1811 TEST_ESP_OK( nvs_set_i32(handle2, "foo", 0xcafebabe));
1814 TEST_ESP_OK( nvs_get_i32(handle2, "foo", &v2));
/hal_espressif-2.7.6/components/driver/test/
Dtest_spi_master.c235 spi_device_handle_t handle2; variable
236 spi_bus_add_device(TEST_SPI_HOST, &devcfg, &handle2);
243 success &= spi_test(handle2, 15);
247 success &= spi_test(handle2, 32);
251 success &= spi_test(handle2, 63);
255 success &= spi_test(handle2, 5000);
258 ret=spi_bus_remove_device(handle2);