Home
last modified time | relevance | path

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

/hal_espressif-latest/components/driver/deprecated/
Dpcnt_legacy.c54 static pcnt_isr_func_t *pcnt_isr_func = NULL; variable
267 …PCNT_CHECK(pcnt_isr_func != NULL, "ISR service is not installed, call pcnt_install_isr_service() f… in _pcnt_isr_handler_add()
272 if (pcnt_isr_func) { in _pcnt_isr_handler_add()
273 pcnt_isr_func[unit].fn = isr_handler; in _pcnt_isr_handler_add()
274 pcnt_isr_func[unit].args = args; in _pcnt_isr_handler_add()
285 PCNT_CHECK(pcnt_isr_func != NULL, "ISR service is not installed", ESP_ERR_INVALID_STATE); in _pcnt_isr_handler_remove()
290 if (pcnt_isr_func) { in _pcnt_isr_handler_remove()
291 pcnt_isr_func[unit].fn = NULL; in _pcnt_isr_handler_remove()
292 pcnt_isr_func[unit].args = NULL; in _pcnt_isr_handler_remove()
311 if (pcnt_isr_func[unit].fn != NULL) { in pcnt_intr_service()
[all …]