Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/driver/
Dpcnt.c64 static pcnt_isr_func_t *pcnt_isr_func = NULL; variable
252 …PCNT_CHECK(pcnt_isr_func != NULL, "ISR service is not installed, call pcnt_install_isr_service() f… in _pcnt_isr_handler_add()
257 if (pcnt_isr_func) { in _pcnt_isr_handler_add()
258 pcnt_isr_func[unit].fn = isr_handler; in _pcnt_isr_handler_add()
259 pcnt_isr_func[unit].args = args; in _pcnt_isr_handler_add()
270 PCNT_CHECK(pcnt_isr_func != NULL, "ISR service is not installed", ESP_ERR_INVALID_STATE); in _pcnt_isr_handler_remove()
275 if (pcnt_isr_func) { in _pcnt_isr_handler_remove()
276 pcnt_isr_func[unit].fn = NULL; in _pcnt_isr_handler_remove()
277 pcnt_isr_func[unit].args = NULL; in _pcnt_isr_handler_remove()
296 if (pcnt_isr_func[unit].fn != NULL) { in pcnt_intr_service()
[all …]