Home
last modified time | relevance | path

Searched refs:PCNT_EVT_H_LIM (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.4.0/examples/peripherals/pcnt/pulse_count_event/main/
Dpcnt_event_example_main.c141 pcnt_event_enable(unit, PCNT_EVT_H_LIM); in pcnt_example_init()
186 if (evt.status & PCNT_EVT_H_LIM) { in app_main()
/hal_espressif-3.4.0/components/driver/
Dpcnt.c160 case PCNT_EVT_H_LIM: in _pcnt_event_enable()
179 …PCNT_CHECK(!(evt_type == PCNT_EVT_H_LIM && value < 0), PCNT_LIMT_VAL_ERR_STR, ESP_ERR_INVALID_ARG); in _pcnt_set_event_value()
190 case PCNT_EVT_H_LIM: in _pcnt_set_event_value()
215 case PCNT_EVT_H_LIM: in _pcnt_get_event_value()
370 _pcnt_set_event_value(pcnt_port, unit, PCNT_EVT_H_LIM, pcnt_config->counter_h_lim); in _pcnt_unit_config()
373 _pcnt_event_enable(pcnt_port, unit, PCNT_EVT_H_LIM, false); in _pcnt_unit_config()
/hal_espressif-3.4.0/examples/peripherals/pcnt/rotary_encoder/components/rotary_encoder/src/
Drotary_encoder_pcnt_ec11.c105 if (status & PCNT_EVT_H_LIM) { in ec11_pcnt_overflow_handler()
164 pcnt_event_enable(ec11->pcnt_unit, PCNT_EVT_H_LIM); in rotary_encoder_new_ec11()
/hal_espressif-3.4.0/components/driver/test/
Dtest_pcnt.c136 if (status & PCNT_EVT_H_LIM) { in event_calculate()
506 … TEST_ESP_OK(pcnt_event_enable(PCNT_UNIT_0, PCNT_EVT_H_LIM)); // when arrive to max limit trigger
606 … TEST_ESP_OK(pcnt_event_enable(PCNT_UNIT_0, PCNT_EVT_H_LIM)); // when arrive to max limit trigger
/hal_espressif-3.4.0/components/driver/include/driver/
Dpcnt.h66 PCNT_EVT_H_LIM = 1 << 5, /*!< PCNT watch point event: Maximum counter value */ enumerator