Searched refs:PCNT_EVT_THRES_0 (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/pcnt/pulse_count_event/main/ |
D | pcnt_event_example_main.c | 137 pcnt_set_event_value(unit, PCNT_EVT_THRES_0, PCNT_THRESH0_VAL); in pcnt_example_init() 138 pcnt_event_enable(unit, PCNT_EVT_THRES_0); in pcnt_example_init() 180 if (evt.status & PCNT_EVT_THRES_0) { in app_main()
|
/hal_espressif-3.6.0/components/driver/test/ |
D | test_pcnt.c | 128 if (status & PCNT_EVT_THRES_0) { in event_calculate() 503 …TEST_ESP_OK(pcnt_set_event_value(PCNT_UNIT_0, PCNT_EVT_THRES_0, 1)); // when arrive to minimum th… 504 TEST_ESP_OK(pcnt_event_enable(PCNT_UNIT_0, PCNT_EVT_THRES_0)); 557 TEST_ESP_OK(pcnt_event_disable(PCNT_UNIT_0, PCNT_EVT_THRES_0)); 603 …TEST_ESP_OK(pcnt_set_event_value(PCNT_UNIT_0, PCNT_EVT_THRES_0, 0)); // when arrive to minimum th… 604 TEST_ESP_OK(pcnt_event_enable(PCNT_UNIT_0, PCNT_EVT_THRES_0)); 659 TEST_ESP_OK(pcnt_event_disable(PCNT_UNIT_0, PCNT_EVT_THRES_0));
|
/hal_espressif-3.6.0/components/driver/include/driver/ |
D | pcnt.h | 64 PCNT_EVT_THRES_0 = 1 << 3, /*!< PCNT watch point event: threshold0 value event */ enumerator
|
/hal_espressif-3.6.0/components/driver/ |
D | pcnt.c | 154 case PCNT_EVT_THRES_0: in _pcnt_event_enable() 184 case PCNT_EVT_THRES_0: in _pcnt_set_event_value() 209 case PCNT_EVT_THRES_0: in _pcnt_get_event_value()
|