- May 12, 2022
-
-
Andrzej Głąbek authored
This is a follow-up to commits e15bdaa1 and 07bf22cc. The above two commits added some enumerated gain values and those are not currently handled by the inverting function. Add the missing entries to the conversion array in the function. Signed-off-by:
Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
-
- May 06, 2022
-
-
Gerard Marull-Paretas authored
In order to bring consistency in-tree, migrate all drivers to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to #45388 for more details. Signed-off-by:
Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
-
- Jun 08, 2020
-
-
Kumar Gala authored
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by:
Kumar Gala <kumar.gala@linaro.org>
-
- Feb 05, 2020
-
-
Henrik Brix Andersen authored
Add missing entry for ADC_GAIN_128 in the adc_gain_invert() function. This fixes 4420c5ed. Signed-off-by:
Henrik Brix Andersen <hebad@vestas.com>
-
- Feb 03, 2020
-
-
Peter Bigot authored
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>
-