int adc_vref_to_gpio25(void)
Output ADC reference voltage to GPIO25.
@ ADC_ATTENUATION_0_DB
full-range is about 1.1 V (Vref)
unsigned int adc_t
Define default ADC type identifier.
Low-level ADC peripheral driver interface definitions.
adc_attenuation_t
Attenuations that can be set for ADC lines.
int adc_set_attenuation(adc_t line, adc_attenuation_t atten)
Set the attenuation for the ADC line.
@ ADC_ATTENUATION_6_DB
full-range is about 2.2 V
@ ADC_ATTENUATION_11_DB
full-range is about 3.3 V
Low-level GPIO peripheral driver interface definitions.
@ ADC_ATTENUATION_3_DB
full-range is about 1.5 V