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

Return value

- ESP_OK: On success - ESP_ERR_INVALID_ARG: Invalid arguments - ESP_ERR_INVALID_STATE: Driver state is invalid, you shouldn't call this API at this moment

Notes

User can deregister a previously registered callback by calling this function and setting the to-be-deregistered callback member in the `cbs` structure to NULL. When CONFIG_ADC_CONTINUOUS_ISR_IRAM_SAFE is enabled, the callback itself and functions called by it should be placed in IRAM. Involved variables (including `user_data`) should be in internal RAM as well. You should only call this API when the ADC continuous mode driver isn't started. Check return value to know this.

References

from 0/1 examples