Home
last modified time | relevance | path

Searched refs:gain (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/Zephyr-Core-3.4.0/tests/drivers/build_all/dac/
Dapp.overlay82 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/
Dmec15xxevb_assy6853.overlay18 zephyr,gain = "ADC_GAIN_1";
25 zephyr,gain = "ADC_GAIN_1";
32 zephyr,gain = "ADC_GAIN_1";
39 zephyr,gain = "ADC_GAIN_1";
Dmec172xevb_assy6906.overlay18 zephyr,gain = "ADC_GAIN_1";
25 zephyr,gain = "ADC_GAIN_1";
32 zephyr,gain = "ADC_GAIN_1";
39 zephyr,gain = "ADC_GAIN_1";
Dda1469x_dk_pro.overlay40 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";
Dcy8cproto_062_4343w.overlay24 zephyr,gain = "ADC_GAIN_1";
33 zephyr,gain = "ADC_GAIN_1";
42 zephyr,gain = "ADC_GAIN_1";
51 zephyr,gain = "ADC_GAIN_1";
Dcy8cproto_063_ble.overlay24 zephyr,gain = "ADC_GAIN_1";
33 zephyr,gain = "ADC_GAIN_1";
42 zephyr,gain = "ADC_GAIN_1";
51 zephyr,gain = "ADC_GAIN_1";
Dnucleo_c031c6.overlay20 zephyr,gain = "ADC_GAIN_1";
28 zephyr,gain = "ADC_GAIN_1";
36 zephyr,gain = "ADC_GAIN_1";
Dnrf52840dk_nrf52840.overlay20 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/
Dlis2ds12.c109 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/
Dnrf52840dk_nrf52840_npm6001.overlay30 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/
Dadc_common.c9 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()
Dadc_nrfx_saadc.c62 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()
Diadc_gecko.c24 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/
Ddac_mcp4728.c34 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}), \
Ddac_dacx0508.c37 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/
Drpi_pico_w.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Dadafruit_kb2040.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Dnative_posix.overlay21 zephyr,gain = "ADC_GAIN_1";
29 zephyr,gain = "ADC_GAIN_1";
Dmec15xxevb_assy6853.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Dmec172xevb_assy6906.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Dnpcx7m6fb_evb.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Dnpcx9m6f_evb.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Dtwr_ke18f.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Drpi_pico.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";
Dsparkfun_pro_micro_rp2040.overlay19 zephyr,gain = "ADC_GAIN_1";
27 zephyr,gain = "ADC_GAIN_1";

12345678910>>...12