Function esp_idf_sys::pcnt_isr_unregister

source ยท
pub unsafe extern "C" fn pcnt_isr_unregister(
    handle: pcnt_isr_handle_t,
) -> esp_err_t
Expand description

@brief Unregister PCNT interrupt handler (registered by pcnt_isr_register), the handler is an ISR. The handler will be attached to the same CPU core that this function is running on. If the interrupt service is registered by pcnt_isr_service_install, please call pcnt_isr_service_uninstall instead

@param handle handle to unregister the ISR service.

@return - ESP_OK Success - ESP_ERR_NOT_FOUND Can not find the interrupt that matches the flags. - ESP_ERR_INVALID_ARG Function pointer error.