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

Return value

- ESP_OK success - ESP_ERR_INVALID_ARG Parameter error

Notes

For any given channel, this function must be called before the first time ``adc1_get_raw()`` is called for that channel. This function can be called multiple times to configure multiple ADC channels simultaneously. You may call ``adc1_get_raw()`` only after configuring a channel.

References