Low-level ADC peripheral driver interface definitions.
 
int32_t adc_sample(adc_t line, adc_res_t res)
Sample a value from the given ADC line.
 
uint_fast8_t adc_t
Define default ADC type identifier.
 
adc_res_t
Possible ADC resolution settings.
 
SAUL battery voltage configuration values.
 
const char * name
name of the device connected to this pin
 
adc_res_t res
ADC resolution.
 
int8_t phydat_scale
Phydat scale of the resulting voltage.
 
adc_t line
ADC line to initialize and expose.