- ESP_OK: Get PCNT pulse count successfully - ESP_ERR_INVALID_ARG: Get PCNT pulse count failed because of invalid argument - ESP_FAIL: Get PCNT pulse count failed because of other error
Notes
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
Related Functions
Found 16 other functions taking a pcnt_unit_t
argument:
Add a step notify for PCNT unit, PCNT will generate an event when the incremental(can be positive or negative) of counter value reaches the step interval