pcnt_del_unit() is only used within ESP-IDF.
 
Symbols
loading (2/5)...
Files
loading (3/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

- ESP_OK: Delete the PCNT unit successfully - ESP_ERR_INVALID_ARG: Delete the PCNT unit failed because of invalid argument - ESP_ERR_INVALID_STATE: Delete the PCNT unit failed because the unit is not in init state or some PCNT channel is still in working - ESP_FAIL: Delete the PCNT unit failed because of other error

Notes

A PCNT unit can't be in the enable state when this function is invoked. See also `pcnt_unit_disable()` for how to disable a unit.