ESP-IDF + 0/2 examples
SourceVu will show references to pcnt_unit_clear_count() from the following samples and libraries:
 
Symbols
loading (4/5)...
Files
loading (4/5)...
SummarySyntaxArgumentsRelatedExamplesReferencesCall TreeData Use

Return value

- ESP_OK: Clear PCNT pulse count successfully - ESP_ERR_INVALID_ARG: Clear PCNT pulse count failed because of invalid argument - ESP_FAIL: Clear PCNT pulse count failed because of other error

Notes

It's recommended to call this function after adding a watch point by `pcnt_unit_add_watch_point()`, so that the newly added watch point is effective immediately. This function is allowed to run within ISR context This function will be placed into IRAM if `CONFIG_PCNT_CTRL_FUNC_IN_IRAM`, so that it's allowed to be executed when Cache is disabled

References

from 0/2 examples