Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/driver/test/
Dtest_pcnt.c122 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in event_calculate()
145 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in event_calculate()
202 .unit = PCNT_UNIT_0, in count_mode_test()
222 TEST_ESP_OK(pcnt_counter_pause(PCNT_UNIT_0)); in count_mode_test()
223 TEST_ESP_OK(pcnt_counter_clear(PCNT_UNIT_0)); in count_mode_test()
224 TEST_ESP_OK(pcnt_set_mode(PCNT_UNIT_0, PCNT_CHANNEL_0, in count_mode_test()
227 TEST_ESP_OK(pcnt_counter_resume(PCNT_UNIT_0)); in count_mode_test()
229 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in count_mode_test()
234 TEST_ESP_OK(pcnt_counter_pause(PCNT_UNIT_0)); in count_mode_test()
235 TEST_ESP_OK(pcnt_counter_clear(PCNT_UNIT_0)); in count_mode_test()
[all …]
Dtest_ledc.c133 .unit = PCNT_UNIT_0, in wave_count()
144 TEST_ESP_OK(pcnt_counter_pause(PCNT_UNIT_0)); in wave_count()
145 TEST_ESP_OK(pcnt_counter_clear(PCNT_UNIT_0)); in wave_count()
147 TEST_ESP_OK(pcnt_counter_resume(PCNT_UNIT_0)); in wave_count()
148 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in wave_count()
151 TEST_ESP_OK(pcnt_get_counter_value(PCNT_UNIT_0, &test_counter)); in wave_count()
/hal_espressif-3.5.0/examples/peripherals/pcnt/pulse_count_event/main/
Dpcnt_event_example_main.c158 int pcnt_unit = PCNT_UNIT_0; in app_main()
/hal_espressif-3.5.0/components/driver/include/driver/
Dpcnt.h37 PCNT_UNIT_0, /*!< PCNT unit 0 */ enumerator