Searched refs:PCNT_UNIT_0 (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.4.0/components/driver/test/ |
D | test_pcnt.c | 122 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 …]
|
D | test_ledc.c | 133 .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.4.0/examples/peripherals/pcnt/pulse_count_event/main/ |
D | pcnt_event_example_main.c | 158 int pcnt_unit = PCNT_UNIT_0; in app_main()
|
/hal_espressif-3.4.0/components/driver/include/driver/ |
D | pcnt.h | 37 PCNT_UNIT_0, /*!< PCNT unit 0 */ enumerator
|