Skip to content

Instantly share code, notes, and snippets.

@suru-dissanaike
Created January 26, 2019 19:00
Show Gist options
  • Save suru-dissanaike/2955c27eacd6960a1294c28691754abf to your computer and use it in GitHub Desktop.
Save suru-dissanaike/2955c27eacd6960a1294c28691754abf to your computer and use it in GitHub Desktop.
Espressif Systems adc.h
typedef enum {
 ADC_ATTEN_DB_0 = 0, /*!<The input voltage of ADC will be reduced to about 1/1 */
 ADC_ATTEN_DB_2_5 = 1, /*!<The input voltage of ADC will be reduced to about 1/1.34 */
 ADC_ATTEN_DB_6 = 2, /*!<The input voltage of ADC will be reduced to about 1/2 */
 ADC_ATTEN_DB_11 = 3, /*!<The input voltage of ADC will be reduced to about 1/3.6*/
 ADC_ATTEN_MAX,
} adc_atten_t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment