/Zephyr-Core-3.4.0/tests/drivers/build_all/dac/ |
D | app.overlay | 82 channel0-gain = <0>; 83 channel1-gain = <0>; 84 channel2-gain = <0>; 85 channel3-gain = <0>; 86 channel4-gain = <0>; 87 channel5-gain = <0>; 88 channel6-gain = <0>; 89 channel7-gain = <0>; 98 channel0-gain = <0>; 99 channel1-gain = <0>; [all …]
|
/Zephyr-Core-3.4.0/samples/drivers/adc/boards/ |
D | mec15xxevb_assy6853.overlay | 18 zephyr,gain = "ADC_GAIN_1"; 25 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1"; 39 zephyr,gain = "ADC_GAIN_1";
|
D | mec172xevb_assy6906.overlay | 18 zephyr,gain = "ADC_GAIN_1"; 25 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,gain = "ADC_GAIN_1"; 39 zephyr,gain = "ADC_GAIN_1";
|
D | da1469x_dk_pro.overlay | 40 zephyr,gain = "ADC_GAIN_1_3"; 49 zephyr,gain = "ADC_GAIN_1_3"; 58 zephyr,gain = "ADC_GAIN_1_3"; 67 zephyr,gain = "ADC_GAIN_1_3"; 85 zephyr,gain = "ADC_GAIN_1"; 94 zephyr,gain = "ADC_GAIN_1"; 104 zephyr,gain = "ADC_GAIN_1_4";
|
D | cy8cproto_062_4343w.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1"; 42 zephyr,gain = "ADC_GAIN_1"; 51 zephyr,gain = "ADC_GAIN_1";
|
D | cy8cproto_063_ble.overlay | 24 zephyr,gain = "ADC_GAIN_1"; 33 zephyr,gain = "ADC_GAIN_1"; 42 zephyr,gain = "ADC_GAIN_1"; 51 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_c031c6.overlay | 20 zephyr,gain = "ADC_GAIN_1"; 28 zephyr,gain = "ADC_GAIN_1"; 36 zephyr,gain = "ADC_GAIN_1";
|
D | nrf52840dk_nrf52840.overlay | 20 zephyr,gain = "ADC_GAIN_1_6"; 29 zephyr,gain = "ADC_GAIN_1_6"; 39 zephyr,gain = "ADC_GAIN_1_5";
|
/Zephyr-Core-3.4.0/drivers/sensor/lis2ds12/ |
D | lis2ds12.c | 109 data->gain = lis2ds12_from_fs2g_to_mg(1); in lis2ds12_set_range() 113 data->gain = lis2ds12_from_fs4g_to_mg(1); in lis2ds12_set_range() 117 data->gain = lis2ds12_from_fs8g_to_mg(1); in lis2ds12_set_range() 121 data->gain = lis2ds12_from_fs16g_to_mg(1); in lis2ds12_set_range() 213 float gain) in lis2ds12_convert() argument 219 dval = ((int64_t)raw_val * gain * SENSOR_G) / 1000; in lis2ds12_convert() 227 float gain) in lis2ds12_get_channel() argument 231 lis2ds12_convert(val, data->sample_x, gain); in lis2ds12_get_channel() 234 lis2ds12_convert(val, data->sample_y, gain); in lis2ds12_get_channel() 237 lis2ds12_convert(val, data->sample_z, gain); in lis2ds12_get_channel() [all …]
|
/Zephyr-Core-3.4.0/tests/drivers/regulator/voltage/boards/ |
D | nrf52840dk_nrf52840_npm6001.overlay | 30 zephyr,gain = "ADC_GAIN_1_6"; 39 zephyr,gain = "ADC_GAIN_1_6"; 48 zephyr,gain = "ADC_GAIN_1_6"; 57 zephyr,gain = "ADC_GAIN_1_6"; 66 zephyr,gain = "ADC_GAIN_1_6";
|
/Zephyr-Core-3.4.0/drivers/adc/ |
D | adc_common.c | 9 int adc_gain_invert(enum adc_gain gain, in adc_gain_invert() argument 40 if ((uint8_t)gain < ARRAY_SIZE(gains)) { in adc_gain_invert() 41 const struct gain_desc *gdp = &gains[gain]; in adc_gain_invert()
|
D | adc_nrfx_saadc.c | 62 switch (channel_cfg->gain) { in adc_nrfx_channel_setup() 64 config.gain = NRF_SAADC_GAIN1_6; in adc_nrfx_channel_setup() 67 config.gain = NRF_SAADC_GAIN1_5; in adc_nrfx_channel_setup() 70 config.gain = NRF_SAADC_GAIN1_4; in adc_nrfx_channel_setup() 73 config.gain = NRF_SAADC_GAIN1_3; in adc_nrfx_channel_setup() 76 config.gain = NRF_SAADC_GAIN1_2; in adc_nrfx_channel_setup() 79 config.gain = NRF_SAADC_GAIN1; in adc_nrfx_channel_setup() 82 config.gain = NRF_SAADC_GAIN2; in adc_nrfx_channel_setup() 85 config.gain = NRF_SAADC_GAIN4; in adc_nrfx_channel_setup()
|
D | iadc_gecko.c | 24 IADC_CfgAnalogGain_t gain; member 64 initAllConfigs.configs[0].analogGain = channel_config->gain; in adc_gecko_set_config() 377 switch (channel_cfg->gain) { in adc_gecko_channel_setup() 380 channel_config->gain = iadcCfgAnalogGain0P25x; in adc_gecko_channel_setup() 384 channel_config->gain = iadcCfgAnalogGain0P5x; in adc_gecko_channel_setup() 387 channel_config->gain = iadcCfgAnalogGain1x; in adc_gecko_channel_setup() 390 channel_config->gain = iadcCfgAnalogGain2x; in adc_gecko_channel_setup() 393 channel_config->gain = iadcCfgAnalogGain3x; in adc_gecko_channel_setup() 396 channel_config->gain = iadcCfgAnalogGain4x; in adc_gecko_channel_setup() 399 LOG_ERR("unsupported channel gain '%d'", channel_cfg->gain); in adc_gecko_channel_setup()
|
/Zephyr-Core-3.4.0/drivers/dac/ |
D | dac_mcp4728.c | 34 uint8_t gain[MCP4728_MAX_CHANNEL]; member 71 ((config->gain[channel] << MCP4728_MULTI_WRITE_GAIN_POS)) | in mcp4728_write_value() 101 .gain = DT_INST_PROP_OR(index, gain, {0}), \
|
D | dac_dacx0508.c | 37 uint8_t gain[8]; member 296 tmp |= config->gain[i] << i; in dacx0508_setup() 375 .gain[0] = DT_PROP(INST_DT_DACX0508(n, t), channel0_gain), \ 376 .gain[1] = DT_PROP(INST_DT_DACX0508(n, t), channel1_gain), \ 377 .gain[2] = DT_PROP(INST_DT_DACX0508(n, t), channel2_gain), \ 378 .gain[3] = DT_PROP(INST_DT_DACX0508(n, t), channel3_gain), \ 379 .gain[4] = DT_PROP(INST_DT_DACX0508(n, t), channel4_gain), \ 380 .gain[5] = DT_PROP(INST_DT_DACX0508(n, t), channel5_gain), \ 381 .gain[6] = DT_PROP(INST_DT_DACX0508(n, t), channel6_gain), \ 382 .gain[7] = DT_PROP(INST_DT_DACX0508(n, t), channel7_gain), \
|
/Zephyr-Core-3.4.0/tests/drivers/adc/adc_api/boards/ |
D | rpi_pico_w.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | adafruit_kb2040.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | native_posix.overlay | 21 zephyr,gain = "ADC_GAIN_1"; 29 zephyr,gain = "ADC_GAIN_1";
|
D | mec15xxevb_assy6853.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | mec172xevb_assy6906.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | npcx7m6fb_evb.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | npcx9m6f_evb.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | twr_ke18f.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | rpi_pico.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | sparkfun_pro_micro_rp2040.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|