Function esp_idf_sys::touch_pad_isr_deregister
source · pub unsafe extern "C" fn touch_pad_isr_deregister(
fn_: Option<unsafe extern "C" fn(arg1: *mut c_void)>,
arg: *mut c_void,
) -> esp_err_t
Expand description
@brief Deregister the handler previously registered using touch_pad_isr_handler_register @param fn handler function to call (as passed to touch_pad_isr_handler_register) @param arg argument of the handler (as passed to touch_pad_isr_handler_register) @return - ESP_OK on success - ESP_ERR_INVALID_STATE if a handler matching both fn and arg isn’t registered