- ESP_OK: Add watch point successfully - ESP_ERR_INVALID_ARG: Add watch point failed because of invalid argument (e.g. the value to be watched is out of the limitation set in `pcnt_unit_config_t`) - ESP_ERR_INVALID_STATE: Add watch point failed because the same watch point has already been added - ESP_ERR_NOT_FOUND: Add watch point failed because no more hardware watch point can be configured - ESP_FAIL: Add watch point failed because of other error
Related Functions
Found 16 other functions taking a pcnt_unit_t
argument:
Add a step notify for PCNT unit, PCNT will generate an event when the incremental(can be positive or negative) of counter value reaches the step interval