Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/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-3.6.0/components/esp_hw_support/test/
Dtest_intr_alloc.c210 intr_handle_t handle1, handle2; variable
219 r = esp_intr_alloc(spi_periph_signal[1].irq, 0, int_handler2, NULL, &handle2);
222 … r = esp_intr_alloc(spi_periph_signal[1].irq, ESP_INTR_FLAG_SHARED, int_handler2, &ctx, &handle2);
243 r = esp_intr_free(handle2);
/hal_espressif-3.6.0/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.cpp1812 nvs_handle_t handle1, handle2; variable
1814 TEST_ESP_OK( nvs_open_from_partition("nvs2", "test", NVS_READWRITE, &handle2) );
1816 TEST_ESP_OK( nvs_set_i32(handle2, "foo", 0xcafebabe));
1819 TEST_ESP_OK( nvs_get_i32(handle2, "foo", &v2));
/hal_espressif-3.6.0/components/driver/test/
Dtest_spi_master.c256 spi_device_handle_t handle2; variable
257 spi_bus_add_device(TEST_SPI_HOST, &devcfg, &handle2);
264 success &= spi_test(handle2, 15);
268 success &= spi_test(handle2, 32);
272 success &= spi_test(handle2, 63);
276 success &= spi_test(handle2, 5000);
279 ret = spi_bus_remove_device(handle2);