Home
last modified time | relevance | path

Searched full:gain (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/Zephyr-Core-3.5.0/dts/bindings/dac/
Dti,dacx0508-base.yaml15 channel0-gain:
19 Channel 0 gain select
23 channel1-gain:
27 Channel 1 gain select
31 channel2-gain:
35 Channel 2 gain select
39 channel3-gain:
43 Channel 3 gain select
47 channel4-gain:
51 Channel 4 gain select
[all …]
Dmicrochip,mcp4728.yaml32 gain:
36 Gain selection bit.
37 0 = x1 (gain of 1)
38 1 = x2 (gain of 2)
/Zephyr-Core-3.5.0/tests/drivers/build_all/dac/
Dapp.overlay93 channel0-gain = <0>;
94 channel1-gain = <0>;
95 channel2-gain = <0>;
96 channel3-gain = <0>;
97 channel4-gain = <0>;
98 channel5-gain = <0>;
99 channel6-gain = <0>;
100 channel7-gain = <0>;
109 channel0-gain = <0>;
110 channel1-gain = <0>;
[all …]
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/
Daics.h67 /** Initial audio input gain (-128 to 127) */
68 int8_t gain; member
76 /** Initial audio input gain units (N * 0.1 dB) */
79 /** Initial audio input minimum gain */
82 /** Initial audio input maximum gain */
175 * @param gain The gain setting value.
179 typedef void (*bt_aics_state_cb)(struct bt_aics *inst, int err, int8_t gain,
183 * @brief Callback function for the gain settings.
193 * Gain Setting value in 0.1 decibel units.
194 * @param minimum The minimum gain allowed for the gain setting.
[all …]
/Zephyr-Core-3.5.0/dts/bindings/iio/afe/
Dcurrent-sense-amplifier.yaml29 sense-gain-mult:
33 Amplifier gain multiplier. The default is <1>.
35 sense-gain-div:
39 Amplifier gain divider. The default is <1>.
/Zephyr-Core-3.5.0/samples/drivers/adc/boards/
Dmr_canhubk3.overlay24 zephyr,gain = "ADC_GAIN_1";
39 zephyr,gain = "ADC_GAIN_1";
56 zephyr,gain = "ADC_GAIN_1";
64 zephyr,gain = "ADC_GAIN_1";
72 zephyr,gain = "ADC_GAIN_1";
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.5.0/dts/bindings/adc/
Despressif,esp32-adc.yaml15 Zephyr API is using gain unit to characterize ADC input.
16 To achieve compatibility we choose to select those gain,
19 ESP32,attenuation ~ zephyr,gain
26 In case unsupported gain is selected the adc_channel_setup()
/Zephyr-Core-3.5.0/dts/bindings/sensor/
Dhamamatsu,s11059.yaml13 high-gain:
16 When present, the high gain is enabled.
17 The gain ratio is 10 times from low to high.
/Zephyr-Core-3.5.0/dts/bindings/net/wireless/
Dgeneric-fem-two-ctrl-pins.yaml47 tx-gain-db:
50 TX gain of the PA of the FEM device, in dB.
52 rx-gain-db:
55 RX gain of the LNA of the FEM device, in dB.
/Zephyr-Core-3.5.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.5.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
217 /* Gain is in mg/LSB */ in lis2ds12_convert()
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()
[all …]
/Zephyr-Core-3.5.0/tests/drivers/adc/adc_rescale/boards/
Dnative_posix.overlay27 sense-gain-mult = <100>;
46 zephyr,gain = "ADC_GAIN_1";
55 zephyr,gain = "ADC_GAIN_1";
64 zephyr,gain = "ADC_GAIN_1";
/Zephyr-Core-3.5.0/drivers/dac/
Ddac_dacx0508.c37 uint8_t gain[8]; member
283 LOG_ERR("GAIN Register update failed"); in dacx0508_setup()
290 LOG_ERR("GAIN Register update failed"); in dacx0508_setup()
296 tmp |= config->gain[i] << i; in dacx0508_setup()
301 LOG_ERR("Unable to read GAIN Register"); in dacx0508_setup()
308 LOG_ERR("Unable to write GAIN Register"); 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), \
[all …]
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}), \
/Zephyr-Core-3.5.0/boards/arm/google_twinkie_v2/
Dgoogle_twinkie_v2.dts69 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-Core-3.5.0/subsys/bluetooth/audio/shell/
Dmicp_mic_ctlr.c78 shell_error(ctx_shell, "Set gain failed (%d) for inst %p", in micp_mic_ctlr_aics_set_gain_cb()
81 shell_print(ctx_shell, "Gain set for inst %p", inst); in micp_mic_ctlr_aics_set_gain_cb()
129 int8_t gain, uint8_t mute, uint8_t mode) in micp_mic_ctlr_aics_state_cb() argument
135 shell_print(ctx_shell, "AICS inst %p state gain %d, mute %u, " in micp_mic_ctlr_aics_state_cb()
136 "mode %u", inst, gain, mute, mode); in micp_mic_ctlr_aics_state_cb()
146 shell_error(ctx_shell, "AICS gain settings get failed (%d) for " in micp_mic_ctlr_aics_gain_setting_cb()
149 shell_print(ctx_shell, "AICS inst %p gain settings units %u, " in micp_mic_ctlr_aics_gain_setting_cb()
557 long gain; in cmd_micp_mic_ctlr_aics_gain_set() local
573 gain = shell_strtol(argv[2], 0, &result); in cmd_micp_mic_ctlr_aics_gain_set()
575 shell_error(sh, "Could not parse gain: %d", result); in cmd_micp_mic_ctlr_aics_gain_set()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_aics.c68 void btp_send_aics_state_ev(struct bt_conn *conn, uint8_t att_status, int8_t gain, uint8_t mute, in btp_send_aics_state_ev() argument
76 ev.gain = gain; in btp_send_aics_state_ev()
156 LOG_DBG("AICS set gain %d", cp->gain); in aics_set_gain()
159 if (bt_aics_gain_set(aics_client_instance.aics[0], cp->gain) != 0) { in aics_set_gain()
164 if (bt_aics_gain_set(aics_server_instance.aics[i], cp->gain) != 0) { in aics_set_gain()
283 LOG_DBG("AICS Gain settings properties"); in aics_gain_setting_prop_get()
304 LOG_DBG("AICS set manual gain mode"); in aics_man_gain_set()
325 LOG_DBG("AICS set automatic gain mode"); in aics_auto_gain_set()
345 LOG_DBG("AICS manual gain only set"); in aics_set_man_gain_only()
359 LOG_DBG("AICS auto gain only set"); in aics_set_auto_gain_only()
[all …]
/Zephyr-Core-3.5.0/drivers/adc/
Dadc_ads1x1x.c74 /* +/-6.144V range = Gain 1/3 */
76 /* +/-4.096V range = Gain 1/2 */
78 /* +/-2.048V range = Gain 1 (default) */
80 /* +/-1.024V range = Gain 2 */
82 /* +/-0.512V range = Gain 4 */
84 /* +/-0.256V range = Gain 8 */
366 /* programmable gain amplifier support */ in ads1x1x_channel_setup()
367 switch (channel_cfg->gain) { in ads1x1x_channel_setup()
387 LOG_ERR("unsupported channel gain '%d'", channel_cfg->gain); in ads1x1x_channel_setup()
391 /* no programmable gain amplifier, so only allow ADC_GAIN_1 */ in ads1x1x_channel_setup()
[all …]

12345678910>>...16