esp_adc_cal_get_voltage() is only used within ESP-IDF.
 
Symbols
loading...
Files
loading (1/5)...
SummarySyntaxArgumentsReferencesCall TreeData Use

Return value

- ESP_OK: ADC read and converted to mV - ESP_ERR_INVALID_ARG: Error due to invalid arguments - ESP_ERR_INVALID_STATE: Reading result is invalid. Try to read again.

Notes

The Characteristics structure must be initialized before this function is called (call esp_adc_cal_characterize())

References