pcnt_unit_disable() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

- ESP_OK: Disable PCNT unit successfully - ESP_ERR_INVALID_ARG: Disable PCNT unit failed because of invalid argument - ESP_ERR_INVALID_STATE: Disable PCNT unit failed because the unit is not enabled yet - ESP_FAIL: Disable PCNT unit failed because of other error

Notes

This function will do the opposite work to the `pcnt_unit_enable()` Disable a PCNT unit doesn't mean to stop it. See also `pcnt_unit_stop()` for how to stop the PCNT counter.

References