Home
last modified time | relevance | path

Searched +full:i2c +full:- +full:conversion (Results 1 – 25 of 85) sorted by relevance

1234

/Zephyr-latest/dts/bindings/sensor/
Dmaxim,max31875.yaml4 # SPDX-License-Identifier: Apache-2.0
8 Maxim MAX31875 Low-Power I2C Temperature Sensor.
14 include: [sensor-device.yaml, i2c-device.yaml]
17 conversions-per-second:
20 0.25 conversions per second is the power-on reset configuration.
26 - "0.25"
27 - "1"
28 - "4"
29 - "8"
30 extended-mode:
[all …]
Dti,tmp1075.yaml2 # SPDX-License-Identifier: Apache-2.0
10 include: [sensor-device.yaml, i2c-device.yaml]
13 conversion-rate:
14 description: Conversion rate in us.
17 - 27500 # 27.5ms
18 - 55000 # 55ms
19 - 110000 # 110ms
20 - 220000 # 220ms
21 alert-gpios:
22 type: phandle-array
[all …]
Dti,tmp112.yaml2 # SPDX-License-Identifier: Apache-2.0
10 include: [sensor-device.yaml, i2c-device.yaml]
13 conversion-rate:
14 description: Conversion rate in mHz (milli-Hertz)
18 - 250
19 - 1000
20 - 4000
21 - 8000
22 extended-mode:
23 description: When true use 13-bit data format allowing measuring temperature up to 128°C
Dti,tmag5273.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Texas Instruments Low-Power Linear 3D Hall-Effect Sensor with an I2C interface.
7 See the specification for the default I2C address.
17 #include <zephyr/dt-bindings/sensor/tmag5273.h>
27 include: [sensor-device.yaml, i2c-device.yaml]
30 operation-mode:
38 - 0 # TMAG5273_DT_OPER_MODE_CONTINUOUS (continuous)
39 - 1 # TMAG5273_DT_OPER_MODE_STANDBY (standby)
49 - 0 # TMAG5273_DT_AXIS_NONE
50 - 1 # TMAG5273_DT_AXIS_X
[all …]
Dti,ina226.yaml2 # SPDX-License-Identifier: Apache-2.0
6 The <zephyr/dt-bindings/sensor/ina226.h> file should be included in the
12 include: [sensor-device.yaml, i2c-device.yaml]
15 avg-count:
19 Default is the power-on reset value.
23 vbus-conversion-time-us:
26 Vbus conversion time in microseconds.
27 Default is the power-on reset value.
31 vshunt-conversion-time-us:
34 Vshunt conversion time in microseconds.
[all …]
Dmicrochip,tcn75a.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 alert-gpios:
12 type: phandle-array
22 default: "9-bit"
24 - "9-bit"
25 - "10-bit"
26 - "11-bit"
27 - "12-bit"
29 Sensor resolution. Higher resolutions will result in longer conversion
[all …]
Dti,ina219.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 lsb-microamp:
17 example: 100 -> ~3A
18 shunt-milliohm:
31 The default of 32V is the power-on reset value of the device.
35 - 0
36 - 1
42 0 = 1 -> ±40 mV
43 1 = /2 -> ±80 mV
[all …]
Dti,fdc2x1x.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 sd-gpios:
12 type: phandle-array
18 intb-gpios:
19 type: phandle-array
28 Set to identify the sensor as FDC2114 or FDC2214 (4-channel version)
33 Set the Auto-Scan Mode.
35 false = Continuous conversion on the single channel selected by
36 "active-channel" (single channel mode).
[all …]
Dti,ina3221.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Texas Instruments INA3221 Triple-Channel Current/Power Monitor
8 include: [sensor-device.yaml, i2c-device.yaml]
11 conv-time-shunt:
15 Shunt-voltage conversion time.
16 The default of 1.1 ms is the power-on reset value of the device.
26 - 0
27 - 1
28 - 2
29 - 3
[all …]
/Zephyr-latest/dts/bindings/adc/
Dlltc,ltc2451.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: i2c-device.yaml
11 conversion-speed:
15 - 30
16 - 60
18 Set conversion speed in Hz
Dti,ads1x1x-base.yaml3 include: [adc-controller.yaml, i2c-device.yaml]
6 "#io-channel-cells":
9 alert-rdy-gpios:
10 type: phandle-array
11 description: Interrupt pin. Comparator output or conversion ready
13 io-channel-cells:
14 - input
/Zephyr-latest/drivers/sensor/ti/tmp112/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
10 select I2C
12 Enable the driver for Texas Instruments TMP112 High-Accuracy Digital
28 bool "Allow to set conversion rate at runtime"
31 When set conversion rate can be set at runtime using sensor_attr_set
/Zephyr-latest/drivers/sensor/meas/ms5837/
Dms5837.h4 * SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/drivers/i2c.h>
71 /* Conversion commands */
75 /* Conversion delay in ms*/
83 struct i2c_dt_spec i2c; member
/Zephyr-latest/drivers/sensor/honeywell/mpr/
Dmpr.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/i2c.h>
26 /* MPR register read data conversion delay [ms] */
36 struct i2c_dt_spec i2c; member
/Zephyr-latest/drivers/sensor/ti/ti_hdc/
Dti_hdc.h4 * SPDX-License-Identifier: Apache-2.0
21 /* For 14bit conversion RH needs 6.5ms and Temp 6.35ms */
25 struct i2c_dt_spec i2c; member
/Zephyr-latest/samples/sensor/thermometer/boards/
Dnucleo_h7a3zi_q.overlay4 * SPDX-License-Identifier: Apache-2.0
9 ambient-temp0 = &tmp1075_temperature;
14 * Note - TMP1075 is not present on the Nucleo h7a3zi_q eval board, and must be
18 pinctrl-0 = <&i2c1_sda_pb7 &i2c1_scl_pb6>;
19 pinctrl-names = "default";
20 compatible = "st,stm32-i2c-v2";
24 friendly-name = "texas_temperature_tmp1075";
26 alert-gpios = <&gpiob 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
27 conversion-rate = <220000>;
28 lower-threshold = <27>;
[all …]
/Zephyr-latest/drivers/sensor/hp206c/
Dhp206c.c5 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/drivers/i2c.h>
26 const struct hp206c_device_config *cfg = dev->config; in hp206c_bus_config()
31 return i2c_configure(cfg->i2c.bus, i2c_cfg); in hp206c_bus_config()
37 const struct hp206c_device_config *cfg = dev->config; in hp206c_read()
41 if (i2c_burst_read_dt(&cfg->i2c, cmd, data, len) < 0) { in hp206c_read()
42 return -EIO; in hp206c_read()
59 const struct hp206c_device_config *cfg = dev->config; in hp206c_write()
63 if (i2c_burst_write_dt(&cfg->i2c, cmd, data, len) < 0) { in hp206c_write()
64 return -EIO; in hp206c_write()
[all …]
/Zephyr-latest/drivers/adc/
Dadc_ltc2451.c5 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/i2c.h>
19 struct i2c_dt_spec i2c; member
28 if (channel_cfg->channel_id != 0) { in ltc2451_channel_setup()
29 LOG_ERR("Invalid channel id '%d'", channel_cfg->channel_id); in ltc2451_channel_setup()
30 return -EINVAL; in ltc2451_channel_setup()
38 const struct ltc2451_config *config = dev->config; in ltc2451_set_conversion_speed()
47 LOG_ERR("Invalid conversion speed selected"); in ltc2451_set_conversion_speed()
48 return -EINVAL; in ltc2451_set_conversion_speed()
51 err = i2c_write_dt(&config->i2c, wr_buf, sizeof(wr_buf)); in ltc2451_set_conversion_speed()
[all …]
/Zephyr-latest/drivers/sensor/meas/ms5607/
Dms5607.h4 * SPDX-License-Identifier: Apache-2.0
13 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i2c)
14 #include <zephyr/drivers/i2c.h>
15 #endif /* DT_ANY_INST_ON_BUS_STATUS_OKAY(i2c) */
82 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i2c)
93 #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i2c)
94 struct i2c_dt_spec i2c; member
115 /* conversion commands */
/Zephyr-latest/boards/shields/p3t1755dp_ard_i2c/doc/
Dindex.rst9 P3T1755DP is a ±0.5 °C accurate temperature-to-digital converter
10 with a -40 °C to 125 °C range.
21 for different operation conditions: continuous conversion, one-shot mode
22 or shutdown mode. The device supports 2-wire serial I3C (up to 12.5 MHz)
25 For more information about P3T1755DP-ARD see these NXP documents:
27 - `Getting Started with the P3T1755DP-ARD Evaluation Board`_
28 - `P3T1755DP-ARD Evaluation Board User Manual`_
32 - Shield board p3t1755dp_ard in I3C mode
33 J10, J11, J12 3-5, the i3c addr is 0x4800000236152a0090
34 JP2, Jp3 1-2
[all …]
/Zephyr-latest/boards/shields/p3t1755dp_ard_i3c/doc/
Dindex.rst9 P3T1755DP is a ±0.5 °C accurate temperature-to-digital converter
10 with a -40 °C to 125 °C range.
21 for different operation conditions: continuous conversion, one-shot mode
22 or shutdown mode. The device supports 2-wire serial I3C (up to 12.5 MHz)
25 For more information about P3T1755DP-ARD see these NXP documents:
27 - `Getting Started with the P3T1755DP-ARD Evaluation Board`_
28 - `P3T1755DP-ARD Evaluation Board User Manual`_
32 - Shield board p3t1755dp_ard in I3C mode
33 J10, J11, J12 3-5, the i3c addr is 0x4800000236152a0090
34 JP2, Jp3 1-2
[all …]
/Zephyr-latest/drivers/sensor/ti/tmp1075/
Dtmp1075.h4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/drivers/i2c.h>
24 /* Scale in micro degrees Celsius -> 0.0625°C per ADC bit resolution */
27 /* Macro to set or clear the TMP1075_OS (One-shot conversion mode) bit based on a boolean value */
31 /* Macro to set the TMP1075_R (Conversion rate) bits */
/Zephyr-latest/drivers/sensor/silabs/si7210/
Dsi7210.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/i2c.h>
113 const struct si7210_config *config = dev->config; in si7210_sleep()
114 struct si7210_data *data = dev->data; in si7210_sleep()
119 * the register, but they get reloaded from OTP during wake-up. in si7210_sleep()
121 rc = i2c_reg_write_byte_dt(&config->bus, SI7210_REG_CTRL3, 0); in si7210_sleep()
128 rc = i2c_reg_write_byte_dt(&config->bus, SI7210_REG_POWER_CTRL, in si7210_sleep()
136 data->reg_dspsigsel = 0x00; in si7210_sleep()
137 data->reg_arautoinc = 0x00; in si7210_sleep()
145 const struct si7210_config *config = dev->config; in si7210_wakeup()
[all …]
/Zephyr-latest/drivers/sensor/ti/tmp108/
Dtmp108.h3 * Copyright (c) 2022 T-Mobile USA, Inc.
5 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/drivers/i2c.h>
91 uint16_t CONF_CR0; /** Conversion rate 1 configuration bit */
92 uint16_t CONF_CR1; /** Conversion rate 2 configuration bit */
99 uint16_t WAKEUP_TIME_IN_MS; /** Wake up and conversion time from one shot */
103 #define TI_TMP108_GET_CONF(x, cfg) ((struct tmp108_config *)(x->config))->reg_def.cfg
/Zephyr-latest/drivers/sensor/maxim/max30101/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
10 select I2C
63 bool "Multi-LED mode"
65 Set to operate in multi-LED mode. The green, red, and/or IR LED
75 Set the ADC's full-scale range.
87 pulse/conversion per active LED channel. In SpO2 mode, these means
88 one IR pulse/conversion and one red pulse/conversion per sample

1234