Function esp_idf_sys::pcnt_event_disable
source ยท pub unsafe extern "C" fn pcnt_event_disable(
unit: pcnt_unit_t,
evt_type: pcnt_evt_type_t,
) -> esp_err_t
Expand description
@brief Disable PCNT event of PCNT unit
@param unit PCNT unit number @param evt_type Watch point event type. All enabled events share the same interrupt (one interrupt per pulse counter unit). @return - ESP_OK Success - ESP_ERR_INVALID_STATE pcnt driver has not been initialized - ESP_ERR_INVALID_ARG Parameter error