/Zephyr-latest/tests/drivers/adc/adc_api/boards/ |
D | mck_ra8t1.overlay | 33 zephyr,gain = "ADC_GAIN_1"; 42 zephyr,gain = "ADC_GAIN_1";
|
D | stm32f3_disco.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_f091rc.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_l073rz.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_l152re.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_u083rc.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_f746zg.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_g474re.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | stm32h573i_dk.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | cy8cproto_062_4343w.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | b_u585i_iot02a.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1";
|
D | cy8cproto_063_ble.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | frdm_rw612.overlay | 21 zephyr,gain = "ADC_GAIN_1"; 31 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_f207zg.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_f401re.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_f429zi.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_wl55jc.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | rd_rw612_bga.overlay | 21 zephyr,gain = "ADC_GAIN_1"; 31 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_wb55rg.overlay | 25 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_wba52cg.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1";
|
/Zephyr-latest/drivers/adc/ |
D | adc_nrfx_saadc.c | 189 switch (channel_cfg->gain) { in adc_nrfx_channel_setup() 192 config.gain = NRF_SAADC_GAIN1_6; in adc_nrfx_channel_setup() 197 config.gain = NRF_SAADC_GAIN1_5; in adc_nrfx_channel_setup() 202 config.gain = NRF_SAADC_GAIN1_4; in adc_nrfx_channel_setup() 207 config.gain = NRF_SAADC_GAIN1_3; in adc_nrfx_channel_setup() 212 config.gain = NRF_SAADC_GAIN2_5; in adc_nrfx_channel_setup() 217 config.gain = NRF_SAADC_GAIN1_2; in adc_nrfx_channel_setup() 222 config.gain = NRF_SAADC_GAIN2_3; in adc_nrfx_channel_setup() 226 config.gain = NRF_SAADC_GAIN1; in adc_nrfx_channel_setup() 229 config.gain = NRF_SAADC_GAIN2; in adc_nrfx_channel_setup() [all …]
|
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
D | frdm_rw612.overlay | 21 zephyr,gain = "ADC_GAIN_1"; 31 zephyr,gain = "ADC_GAIN_1";
|
D | rd_rw612_bga.overlay | 21 zephyr,gain = "ADC_GAIN_1"; 31 zephyr,gain = "ADC_GAIN_1";
|
/Zephyr-latest/include/zephyr/drivers/ |
D | adc.h | 73 int adc_gain_invert(enum adc_gain gain, 92 enum adc_gain gain; member 240 .gain = DT_STRING_TOKEN(node_id, zephyr_gain), \ 867 enum adc_gain gain, in adc_raw_to_millivolts() argument 872 int ret = adc_gain_invert(gain, &adc_mv); in adc_raw_to_millivolts() 920 return adc_raw_to_millivolts(vref_mv, spec->channel_cfg.gain, in adc_raw_to_millivolts_dt()
|
/Zephyr-latest/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 84 enum veml7700_als_gain gain; member 151 if (!is_veml7700_gain_in_range(data->gain) || !is_veml7700_it_in_range(data->it)) { in veml7700_counts_to_lux() 154 *lux = counts * veml7700_resolution[data->gain][data->it]; in veml7700_counts_to_lux() 161 if (!is_veml7700_gain_in_range(data->gain) || !is_veml7700_it_in_range(data->it)) { in veml7700_lux_to_counts() 164 *counts = lux / veml7700_resolution[data->gain][data->it]; in veml7700_lux_to_counts() 186 if (!is_veml7700_gain_in_range(data->gain) || !is_veml7700_it_in_range(data->it)) { in veml7700_build_als_conf_param() 192 param |= data->gain << 11; in veml7700_build_als_conf_param() 379 data->gain = (enum veml7700_als_gain)val->val1; in veml7700_attr_set() 417 val->val1 = data->gain; in veml7700_attr_get() 561 data->gain = VEML7700_ALS_GAIN_1_4; in veml7700_init()
|