Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/esp_system/test/
Dtest_delay.c43 int delay_ms = 50; variable
45 .delay_us = delay_ms * 1000,
51 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
56 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
66 int delay_ms = 50; variable
68 .delay_us = delay_ms * 1000,
74 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
79 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
/hal_espressif-3.4.0/components/pthread/test/
Dtest_pthread_cond_var.c7 unsigned delay_ms; member
24 usleep(targs->delay_ms * 1000); in thread_signals()
52 usleep(targs->delay_ms * 1000); in thread_waits()
86 wait[0].args.delay_ms = 50;
87 wait[1].args.delay_ms = 100;
88 wait[2].args.delay_ms = 200;
90 signal[0].args.delay_ms = 30;
91 signal[1].args.delay_ms = 150;
92 …signal[2].args.delay_ms = 500; // highest delay, ensure that broadcast will be received by all wai…
/hal_espressif-3.4.0/components/esp_pm/test/
Dtest_pm.c225 const int delay_ms = 200; variable
226 const int delay_ticks = delay_ms / portTICK_PERIOD_MS;
240 TEST_ASSERT_INT32_WITHIN(2 * portTICK_PERIOD_MS * 1000, delay_ms * 1000, end_hs - start_hs);
241 … TEST_ASSERT_INT32_WITHIN(2 * portTICK_PERIOD_MS * 1000, delay_ms * 1000, end_rtc - start_rtc);
283 int delay_ms = delays[i]; variable
284 args.delay_us = delay_ms * 1000;
287 TEST_ASSERT( xSemaphoreTake(args.done, delay_ms * 10 / portTICK_PERIOD_MS) );
293 TEST_ASSERT( xSemaphoreTake(args.done, delay_ms * 10 / portTICK_PERIOD_MS) );
339 const int delay_ms = 100; variable
352 TEST_ESP_OK(esp_timer_start_periodic(timer1, delay_ms * 1000));
[all …]
/hal_espressif-3.4.0/components/esp_hw_support/test/
Dtest_dport.c77 …task1_func)(void *), const char *task2_description, void (* task2_func)(void *), uint32_t delay_ms) in run_tasks() argument
102 …printf("start wait for %d seconds [Test %s and %s]\n", delay_ms/1000, task1_description, task2_des… in run_tasks()
103 vTaskDelay(delay_ms / portTICK_PERIOD_MS); in run_tasks()
249 uint32_t delay_ms = 5000; variable
251 run_tasks("-", NULL, "accessAPB", accessAPB_measure_performance, delay_ms);
256 run_tasks("accessDPORT_stall_other_cpu", accessDPORT_stall_other_cpu, "-", NULL, delay_ms);
261 run_tasks("accessDPORT_pre_reading_apb", accessDPORT_pre_reading_apb, "-", NULL, delay_ms);
266 …all_other_cpu", accessDPORT_stall_other_cpu, "accessAPB", accessAPB_measure_performance, delay_ms);
271 …e_reading_apb", accessDPORT_pre_reading_apb, "accessAPB", accessAPB_measure_performance, delay_ms);
278 "by different methods for %d seconds.\n", delay_ms/1000);
/hal_espressif-3.4.0/components/esp_timer/test/
Dtest_ets_timer.c87 const int delay_ms = 100; variable
94 ets_timer_arm(&timer1, delay_ms, true);
95 vTaskDelay(delay_ms * (NUM_INTERVALS + 1));
99 TEST_ASSERT_INT32_WITHIN(portTICK_PERIOD_MS, (i + 1) * delay_ms, args.intervals[i]);
Dtest_esp_timer.c229 const int delay_ms = 100; variable
243 TEST_ESP_OK(esp_timer_start_periodic(timer1, delay_ms * 1000));
245 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * NUM_INTERVALS * 2));
249 TEST_ASSERT_INT32_WITHIN(portTICK_PERIOD_MS, (i + 1) * delay_ms, args.intervals[i]);
/hal_espressif-3.4.0/components/vfs/test/
Dtest_vfs_select.c32 int delay_ms; member
115 vTaskDelay(test_task_param->delay_ms / portTICK_PERIOD_MS); in send_task()
171 .delay_ms = 50,
229 .delay_ms = 50,
291 .delay_ms = 50,
340 .delay_ms = 50,
532 .delay_ms = 50,
/hal_espressif-3.4.0/components/efuse/test/
Dtest_efuse.c649 static const int delay_ms = 2000; variable
657 vTaskDelay((delay_ms + 100) / portTICK_PERIOD_MS); in task1()
672 TEST_ASSERT_GREATER_THAN(diff_ms, delay_ms); in task2()
689 TEST_ASSERT_GREATER_THAN(delay_ms, diff_ms); in task3()
/hal_espressif-3.4.0/components/esp_wifi/include/
Desp_mesh.h1347 esp_err_t esp_mesh_set_root_healing_delay(int delay_ms);