Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/driver/test/
Dtest_pcnt.c108 int16_t test_counter = 0; in event_calculate() local
116 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in event_calculate()
117 printf("Current counter value :%d\n", test_counter); in event_calculate()
139 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in event_calculate()
140 printf("Current counter value :%d\n", test_counter); in event_calculate()
170 int16_t test_counter; in count_mode_test() local
223 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in count_mode_test()
224 printf("value: %d\n", test_counter); in count_mode_test()
225 TEST_ASSERT_INT16_WITHIN(1, test_counter, result[0]); in count_mode_test()
235 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in count_mode_test()
[all …]
Dtest_pwm.c136 int16_t test_counter; in pcnt_count() local
140 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in pcnt_count()
141 printf("COUNT (before): %d\n", test_counter); in pcnt_count()
143 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in pcnt_count()
144 printf("COUNT (after): %d\n", test_counter); in pcnt_count()
145 return test_counter; in pcnt_count()
Dtest_ledc.c107 int16_t test_counter; in wave_count() local
127 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in wave_count()
130 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in wave_count()
131 return test_counter; in wave_count()
/hal_espressif-2.7.6/components/unity/
Dunity_runner.c217 int test_counter = 0; in print_test_menu() local
224 test = test->next, ++test_counter) { in print_test_menu()
227 UnityPrintNumber(test_counter + 1); in print_test_menu()
254 return test_counter; in print_test_menu()
259 int test_counter = 0; in get_test_count() local
263 ++test_counter; in get_test_count()
265 return test_counter; in get_test_count()