Searched refs:test_counter (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-2.7.6/components/driver/test/ |
D | test_pcnt.c | 108 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 …]
|
D | test_pwm.c | 136 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()
|
D | test_ledc.c | 107 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/ |
D | unity_runner.c | 217 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()
|