Home
last modified time | relevance | path

Searched refs:NUM_INTERVALS (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/test/
Dtest_esp_timer.cpp79 const size_t NUM_INTERVALS = 3u; variable
82 int intervals[NUM_INTERVALS];
91 if (cur_interval < NUM_INTERVALS) { in __anon7588ac300202()
97 if (cur_interval == NUM_INTERVALS) { in __anon7588ac300202()
109 TEST_ASSERT(xSemaphoreTake(done, DELAY_MS * NUM_INTERVALS * 2));
112 TEST_ASSERT_EQUAL_UINT32(NUM_INTERVALS, cur_interval);
113 for (size_t i = 0; i < NUM_INTERVALS; ++i) {
119 #undef NUM_INTERVALS
/hal_espressif-3.6.0/components/esp_timer/test/
Dtest_ets_timer.c58 #define NUM_INTERVALS 16 macro
63 int intervals[NUM_INTERVALS];
79 if (p_args->cur_interval == NUM_INTERVALS) { in test_periodic_correct_delays_timer_func()
95 vTaskDelay(delay_ms * (NUM_INTERVALS + 1));
97 TEST_ASSERT_EQUAL_UINT32(NUM_INTERVALS, args.cur_interval);
98 for (size_t i = 0; i < NUM_INTERVALS; ++i) {
103 #undef NUM_INTERVALS
Dtest_esp_timer.c200 #define NUM_INTERVALS 16 macro
205 int intervals[NUM_INTERVALS];
220 if (p_args->cur_interval == NUM_INTERVALS) { in test_periodic_correct_delays_timer_func()
245 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * NUM_INTERVALS * 2));
247 TEST_ASSERT_EQUAL_UINT32(NUM_INTERVALS, args.cur_interval);
248 for (size_t i = 0; i < NUM_INTERVALS; ++i) {
258 #undef NUM_INTERVALS
/hal_espressif-3.6.0/components/esp_pm/test/
Dtest_pm.c310 #define NUM_INTERVALS 16 macro
315 int intervals[NUM_INTERVALS];
330 if (p_args->cur_interval == NUM_INTERVALS) {
354 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * NUM_INTERVALS * 2));
356 TEST_ASSERT_EQUAL_UINT32(NUM_INTERVALS, args.cur_interval);
357 for (size_t i = 0; i < NUM_INTERVALS; ++i) {
368 #undef NUM_INTERVALS