pcnt_unit_remove_watch_point() function
Remove a watch point for PCNT unit
Arguments
unit
PCNT unit handle created by `pcnt_new_unit()`
watch_point
Watch point value
Return value
- 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