/Zephyr-latest/tests/drivers/adc/adc_api/boards/ |
D | nrf9280pdk_nrf9280_cpuapp.overlay | 19 zephyr,gain = "ADC_GAIN_1_2"; 28 zephyr,gain = "ADC_GAIN_2"; 37 zephyr,gain = "ADC_GAIN_1_2";
|
D | rp2040_zero.overlay | 17 zephyr,gain = "ADC_GAIN_1"; 25 zephyr,gain = "ADC_GAIN_1";
|
D | frdm_ke17z.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | frdm_ke17z512.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_f722ze.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | rpi_pico_rp2040_w.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | apollo3_evb.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | apollo4p_evb.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | apollo3p_evb.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | frdm_mcxc242.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 28 zephyr,gain = "ADC_GAIN_1";
|
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
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";
|
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 19 zephyr,gain = "ADC_GAIN_1_2"; 28 zephyr,gain = "ADC_GAIN_1_2"; 38 zephyr,gain = "ADC_GAIN_1_2";
|
D | apollo3_evb.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
D | apollo3p_evb.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,gain = "ADC_GAIN_1";
|
/Zephyr-latest/boards/google/twinkie_v2/ |
D | google_twinkie_v2.dts | 69 sense-gain-mult = <100>; 76 sense-gain-mult = <25>; 110 zephyr,gain = "ADC_GAIN_1"; 119 zephyr,gain = "ADC_GAIN_1"; 128 zephyr,gain = "ADC_GAIN_1"; 137 zephyr,gain = "ADC_GAIN_1"; 146 zephyr,gain = "ADC_GAIN_1";
|
/Zephyr-latest/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()
|
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 25 zephyr,gain = "ADC_GAIN_1_2"; 34 zephyr,gain = "ADC_GAIN_1_2"; 44 zephyr,gain = "ADC_GAIN_1_2";
|
D | mec15xxevb_assy6853.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 26 zephyr,gain = "ADC_GAIN_1";
|
D | mec172xevb_assy6906.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 26 zephyr,gain = "ADC_GAIN_1";
|
D | sam_e70_xplained.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 26 zephyr,gain = "ADC_GAIN_1";
|
D | nucleo_c031c6.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 26 zephyr,gain = "ADC_GAIN_1";
|
D | sam_v71_xult_samv71q21.overlay | 19 zephyr,gain = "ADC_GAIN_1"; 26 zephyr,gain = "ADC_GAIN_1";
|
/Zephyr-latest/drivers/dac/ |
D | dac_mcp4728.c | 34 uint8_t gain[MCP4728_MAX_CHANNEL]; member 75 ((config->gain[channel] << MCP4728_MULTI_WRITE_GAIN_POS)) | in mcp4728_write_value() 105 .gain = DT_INST_PROP_OR(index, gain, {0}), \
|
D | dac_dacx0508.c | 37 uint8_t gain[8]; member 301 tmp |= config->gain[i] << i; in dacx0508_setup() 380 .gain[0] = DT_PROP(INST_DT_DACX0508(n, t), channel0_gain), \ 381 .gain[1] = DT_PROP(INST_DT_DACX0508(n, t), channel1_gain), \ 382 .gain[2] = DT_PROP(INST_DT_DACX0508(n, t), channel2_gain), \ 383 .gain[3] = DT_PROP(INST_DT_DACX0508(n, t), channel3_gain), \ 384 .gain[4] = DT_PROP(INST_DT_DACX0508(n, t), channel4_gain), \ 385 .gain[5] = DT_PROP(INST_DT_DACX0508(n, t), channel5_gain), \ 386 .gain[6] = DT_PROP(INST_DT_DACX0508(n, t), channel6_gain), \ 387 .gain[7] = DT_PROP(INST_DT_DACX0508(n, t), channel7_gain), \
|
/Zephyr-latest/drivers/sensor/st/iis328dq/ |
D | iis328dq.c | 41 uint8_t gain; in iis328dq_set_range() local 45 gain = 1; in iis328dq_set_range() 48 gain = 2; in iis328dq_set_range() 51 gain = 4; in iis328dq_set_range() 59 iis328dq->gain = gain; in iis328dq_set_range() 106 static inline void iis328dq_convert(struct sensor_value *val, int raw_val, uint8_t gain) in iis328dq_convert() argument 112 dval = ((int64_t)raw_val * gain * SENSOR_G) / 1000LL; in iis328dq_convert() 142 iis328dq_convert(pval++, iis328dq->acc[i], iis328dq->gain); in iis328dq_channel_get_acc() 179 uint8_t mg_per_digit = iis328dq->gain * 16; in iis328dq_set_threshold()
|