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

Return value

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

Notes

This function should be called when the unit is in the enable state (i.e. after calling `pcnt_unit_enable()`) This function is allowed to run within ISR context This function will be placed into IRAM if `CONFIG_PCNT_CTRL_FUNC_IN_IRAM` is on, so that it's allowed to be executed when Cache is disabled

References

from 0/2 examples