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

Return value

- ESP_OK: Create PCNT unit successfully - ESP_ERR_INVALID_ARG: Create PCNT unit failed because of invalid argument (e.g. high/low limit value out of the range) - ESP_ERR_NO_MEM: Create PCNT unit failed because out of memory - ESP_ERR_NOT_FOUND: Create PCNT unit failed because all PCNT units are used up and no more free one - ESP_FAIL: Create PCNT unit failed because of other error

Notes

The newly created PCNT unit is put in the init state.

References

from 0/2 examples