Function esp_idf_sys::pcnt_unit_remove_watch_point

source ยท
pub unsafe extern "C" fn pcnt_unit_remove_watch_point(
    unit: pcnt_unit_handle_t,
    watch_point: c_int,
) -> esp_err_t
Expand description

@brief Remove a watch point for PCNT unit

@param[in] unit PCNT unit handle created by pcnt_new_unit() @param[in] watch_point Watch point value @return - ESP_OK: Remove watch point successfully - ESP_ERR_INVALID_ARG: Remove watch point failed because of invalid argument - ESP_ERR_INVALID_STATE: Remove watch point failed because the watch point was not added by pcnt_unit_add_watch_point() yet - ESP_FAIL: Remove watch point failed because of other error