zephyr/drivers/adc
Peter A. Bigot 4420c5ed40 adc: provide API to help with conversions
Gain values are specified with enumeration values that can't be used
to reverse the effects of scaling the input signal.  Provide a
function that reverses the effect of the gain by scaling a measured
value.

Also provide a function that converts a raw measurement captured with
a reference voltage and specific gain and resolution to the
corresponding voltage in millivolts.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2020-02-03 16:26:51 +01:00
..
CMakeLists.txt adc: provide API to help with conversions 2020-02-03 16:26:51 +01:00
Kconfig drivers: adc: add LMP90xxx ADC driver with GPIO 2020-01-09 17:27:52 +01:00
Kconfig.lmp90xxx drivers: adc: add LMP90xxx ADC driver with GPIO 2020-01-09 17:27:52 +01:00
Kconfig.mcux kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrfx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sam_afec kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.xec kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
adc_common.c adc: provide API to help with conversions 2020-02-03 16:26:51 +01:00
adc_context.h
adc_handlers.c
adc_lmp90xxx.c drivers: adc: add LMP90xxx ADC driver with GPIO 2020-01-09 17:27:52 +01:00
adc_mchp_xec.c
adc_mcux_adc12.c drivers: adc: mcux_adc12: fix DT_INST_2_* usage 2020-01-08 17:32:13 -06:00
adc_mcux_adc16.c
adc_nrfx_adc.c
adc_nrfx_saadc.c drivers: nrfx: Update implementations after switching to nrfx 2.0.0 2019-11-08 14:54:12 +01:00
adc_sam0.c
adc_sam_afec.c
adc_shell.c treewide: use full path to adc.h header 2020-01-26 17:52:12 +01:00
adc_stm32.c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00