Home
last modified time | relevance | path

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

1234

/Zephyr-latest/drivers/sensor/st/lsm9ds0_mfd/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
12 Enable driver for LSM9DS0 I2C-based MFD sensor.
88 prompt "Accelerometer full-scale"
92 Specify the default full-scale for accelerometer.
112 bool "Dynamic full-scale for accelerometer"
115 Enable alteration of accelerometer full-scale attribute at
168 prompt "Magnetometer full-scale"
172 Specify the default full-scale for magnetometer.
189 bool "Dynamic full-scale for magnetometer"
192 Enable alteration of magnetometer full-scale attribute at
Dlsm9ds0_mfd.c1 /* sensor_lsm9ds0_mfd.c - Driver for LSM9DS0 accelerometer, magnetometer
8 * SPDX-License-Identifier: Apache-2.0
28 const struct lsm9ds0_mfd_config *config = dev->config; in lsm9ds0_mfd_reboot_memory()
30 if (i2c_reg_update_byte_dt(&config->i2c, LSM9DS0_MFD_REG_CTRL_REG0_XM, in lsm9ds0_mfd_reboot_memory()
33 return -EIO; in lsm9ds0_mfd_reboot_memory()
45 const struct lsm9ds0_mfd_config *config = dev->config; in lsm9ds0_mfd_accel_set_odr_raw()
47 return i2c_reg_update_byte_dt(&config->i2c, LSM9DS0_MFD_REG_CTRL_REG1_XM, in lsm9ds0_mfd_accel_set_odr_raw()
74 if (val->val1 < lsm9ds0_mfd_accel_odr_map[i].freq_int || in lsm9ds0_mfd_accel_set_odr()
75 (val->val1 == lsm9ds0_mfd_accel_odr_map[i].freq_int && in lsm9ds0_mfd_accel_set_odr()
76 val->val2 <= lsm9ds0_mfd_accel_odr_map[i].freq_micro)) { in lsm9ds0_mfd_accel_set_odr()
[all …]
/Zephyr-latest/drivers/sensor/st/lsm9ds0_gyro/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
12 Enable driver for LSM9DS0 I2C-based gyroscope sensor.
19 prompt "Default full-scale"
22 Specify the default full-scale.
36 bool "Dynamic full-scale"
38 Enable alteration of full-scale attribute at runtime.
70 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM9DS0_GYRO),irq-gpios)
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
30 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM6DSL),irq-gpios)
36 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LSM6DSL),irq-gpios)
88 int "Gyroscope full-scale range"
91 Specify the default gyroscope full-scale range.
92 An X value for the config represents a range of +/- X degree per
94 0: Full Scale selected at runtime
95 125: +/- 125dps
96 250: +/- 250dps
97 500: +/- 500dps
[all …]
/Zephyr-latest/drivers/sensor/tdk/mpu6050/
DKconfig1 # MPU6050 Six-Axis Motion Tracking device configuration options
4 # SPDX-License-Identifier: Apache-2.0
7 bool "MPU6050 Six-Axis Motion Tracking Device"
12 Enable driver for MPU6050 I2C-based six-axis motion tracking device.
28 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_MPU6050),int-gpios)
34 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_INVENSENSE_MPU6050),int-gpios)
57 int "Accelerometer full-scale range"
60 Magnetometer full-scale range.
61 An X value for the config represents a range of +/- X g. Valid
65 int "Gyroscope full-scale range"
[all …]
Dmpu6050.c4 * SPDX-License-Identifier: Apache-2.0
26 val->val1 = conv_val / 1000000; in mpu6050_convert_accel()
27 val->val2 = conv_val % 1000000; in mpu6050_convert_accel()
38 val->val1 = conv_val / 1000000; in mpu6050_convert_gyro()
39 val->val2 = conv_val % 1000000; in mpu6050_convert_gyro()
59 val->val1 = tmp_val / 1000000; in mpu6050_convert_temp()
60 val->val2 = tmp_val % 1000000; in mpu6050_convert_temp()
67 struct mpu6050_data *drv_data = dev->data; in mpu6050_channel_get()
71 mpu6050_convert_accel(val, drv_data->accel_x, in mpu6050_channel_get()
72 drv_data->accel_sensitivity_shift); in mpu6050_channel_get()
[all …]
/Zephyr-latest/drivers/sensor/st/lsm6ds0/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
13 Enable driver for LSM6DS0 I2C-based accelerometer and gyroscope
69 int "Gyroscope full-scale range"
72 Specify the default gyroscope full-scale range.
73 An X value for the config represents a range of +/- X degree per
86 int "Accelerometer full-scale range"
89 Specify the default accelerometer full-scale range.
90 An X value for the config represents a range of +/- X G. Valid values
Dlsm6ds0.c1 /* lsm6ds0.c - Driver for LSM6DS0 accelerometer, gyroscope and
8 * SPDX-License-Identifier: Apache-2.0
27 const struct lsm6ds0_config *config = dev->config; in lsm6ds0_reboot()
29 if (i2c_reg_update_byte_dt(&config->i2c, LSM6DS0_REG_CTRL_REG8, in lsm6ds0_reboot()
32 return -EIO; in lsm6ds0_reboot()
43 const struct lsm6ds0_config *config = dev->config; in lsm6ds0_accel_axis_ctrl()
48 return i2c_reg_update_byte_dt(&config->i2c, LSM6DS0_REG_CTRL_REG5_XL, in lsm6ds0_accel_axis_ctrl()
57 const struct lsm6ds0_config *config = dev->config; in lsm6ds0_accel_set_fs_raw()
59 if (i2c_reg_update_byte_dt(&config->i2c, LSM6DS0_REG_CTRL_REG6_XL, in lsm6ds0_accel_set_fs_raw()
62 return -EIO; in lsm6ds0_accel_set_fs_raw()
[all …]
/Zephyr-latest/drivers/adc/
DKconfig.it8xxx24 # SPDX-License-Identifier: Apache-2.0
15 Support 10-bit resolution.
21 bool "ADC internal voltage as full-scale"
24 voltage as full-scale 3300mV.
/Zephyr-latest/drivers/sensor/st/iis2dh/
DKconfig1 # ST Microelectronics IIS2DH 3-axis accelerometer driver
4 # SPDX-License-Identifier: Apache-2.0
31 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_IIS2DH),drdy-gpios)
37 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_IIS2DH),drdy-gpios)
64 int "Accelerometer Full-scale range setting"
67 Specify the default accelerometer full-scale range.
69 0: Full Scale selected at runtime
70 2: +/- 2g
71 4: +/- 4g
72 8: +/- 8g
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/sensor/
Dlps2xdf.h5 * SPDX-License-Identifier: Apache-2.0
36 /* Full Scale Pressure Mode */
40 /* Full Scale Pressure Mode */
Dina237.h4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/dt-util.h>
29 /* Conversion time for bus, shunt and temp in micro-seconds */
58 /* Shunt full scale range selection across IN+ and IN–. */
67 * @param adc_range Shunt full scale range selection across IN+ and IN–.
/Zephyr-latest/drivers/sensor/honeywell/hmc5883l/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
10 Enable driver for HMC5883L I2C-based magnetometer.
26 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_HONEYWELL_HMC5883L),int-gpios)
32 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_HONEYWELL_HMC5883L),int-gpios)
63 string "Full-scale range"
66 Magnetometer full-scale range.
67 An X value for the config represents a range of +/- X gauss. Valid
/Zephyr-latest/dts/bindings/sensor/
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.
36 "active-channel" (single channel mode).
38 true = Auto-Scan conversions as selected by "rr-sequence"
[all …]
Dinvensense,icm42605.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ICM-42605 motion tracking device
6 # ICM-42605 is SPI.
9 include: [sensor-device.yaml, spi-device.yaml]
12 int-gpios:
13 type: phandle-array
16 The INT signal default configuration is active-high. The
20 accel-hz:
24 Default frequency of accelerometer. (Unit - Hz)
27 - 1
[all …]
Dinvensense,mpu9250.yaml2 # SPDX-License-Identifier: Apache-2.0
5 InvenSense MPU-9250 Nine-Axis (Gyro + Accelerometer + Compass). See more
6 info at https://www.invensense.com/products/motion-tracking/9-axis/mpu-9250/
10 include: [sensor-device.yaml, i2c-device.yaml]
13 irq-gpios:
14 type: phandle-array
16 The INT signal default configuration is active-high. The
21 gyro-sr-div:
26 when gyro-dlpf is in range 5-184.
27 rate = sample_rate / (1 + gyro-sr-div)
[all …]
Dnxp,fxos8700-common.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: FXOS8700 6-axis accelerometer/magnetometer sensor
6 include: sensor-device.yaml
9 reset-gpios:
10 type: phandle-array
17 int1-gpios:
18 type: phandle-array
25 int2-gpios:
26 type: phandle-array
38 - 8 # 8g (0.976 mg/LSB)
[all …]
Dst,lps28dfw-common.yaml3 # SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/sensor/lps2xdf.h>
20 include: st,lps22df-common.yaml
27 Specify the full-scale mode.
28 The default is the power-on reset value.
30 - 0 # LPS28DFW_DT_FS_MODE_1_1260
31 - 1 # LPS28DFW_DT_FS_MODE_2_4060
Dinvensense,icm42670.yaml4 # SPDX-License-Identifier: Apache-2.0
6 description: ICM-42670 motion tracking device
8 include: [sensor-device.yaml]
11 int-gpios:
12 type: phandle-array
14 The INT signal default configuration is active-high. The
18 accel-hz:
22 Default frequency of accelerometer. (Unit - Hz)
24 Power-on reset value is 800.
26 - 0
[all …]
/Zephyr-latest/drivers/sensor/st/lis3mdl/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
10 Enable driver for LIS3MDL I2C-based magnetometer.
26 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LIS3MDL_MAGN),irq-gpios)
32 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ST_LIS3MDL_MAGN),irq-gpios)
63 int "Full-scale range"
66 Magnetometer full-scale range.
67 An X value for the config represents a range of +/- X gauss. Valid
/Zephyr-latest/drivers/sensor/nxp/fxas21002/
DKconfig1 # FXAS21002 3-axis gyroscope
4 # SPDX-License-Identifier: Apache-2.0
23 pre-production devices can have a different value. It is unlikely you
27 int "Full scale range"
31 Selects the full scale range
32 0: +/-2000 dps (62.5 mdps/LSB)
33 1: +/-1000 dps (31.25 mdps/LSB)
34 2: +/-500 dps (15.625 mdps/LSB)
35 3: +/-250 dps (7.8125 mdps/LSB)
62 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_NXP_FXAS21002),int1-gpios) ||\
[all …]
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_emul.c3 * SPDX-License-Identifier: Apache-2.0
31 struct icm42688_emul_data *data = target->data; in icm42688_emul_set_reg()
34 memcpy(data->reg + reg_addr, val, count); in icm42688_emul_set_reg()
39 struct icm42688_emul_data *data = target->data; in icm42688_emul_get_reg()
42 memcpy(val, data->reg + reg_addr, count); in icm42688_emul_get_reg()
47 struct icm42688_emul_data *data = target->data; in icm42688_emul_handle_write()
53 memset(data->reg, 0, NUM_REGS); in icm42688_emul_handle_write()
54 /* Initialized the who-am-i register */ in icm42688_emul_handle_write()
55 data->reg[REG_WHO_AM_I] = WHO_AM_I_ICM42688; in icm42688_emul_handle_write()
57 data->reg[REG_INT_STATUS] |= BIT_INT_STATUS_RESET_DONE; in icm42688_emul_handle_write()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmi323/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
13 * Set full scale for accelerometer and gyroscope respectively
21 which soft-resets the device to achieve the lowest possible power
/Zephyr-latest/drivers/sensor/st/lsm303dlhc_magn/
Dlsm303dlhc_magn.c4 * SPDX-License-Identifier: Apache-2.0
21 const struct lsm303dlhc_magn_config *config = dev->config; in lsm303dlhc_sample_fetch()
22 struct lsm303dlhc_magn_data *drv_data = dev->data; in lsm303dlhc_sample_fetch()
27 if (i2c_reg_read_byte_dt(&config->i2c, LSM303DLHC_SR_REG_M, in lsm303dlhc_sample_fetch()
30 return -EIO; in lsm303dlhc_sample_fetch()
35 return -EIO; in lsm303dlhc_sample_fetch()
38 if (i2c_burst_read_dt(&config->i2c, LSM303DLHC_REG_MAGN_X_LSB, in lsm303dlhc_sample_fetch()
41 return -EIO; in lsm303dlhc_sample_fetch()
44 drv_data->magn_x = (magn_buf[0] << 8) | magn_buf[1]; in lsm303dlhc_sample_fetch()
45 drv_data->magn_y = (magn_buf[4] << 8) | magn_buf[5]; in lsm303dlhc_sample_fetch()
[all …]
/Zephyr-latest/drivers/sensor/st/lsm9ds1/
Dlsm9ds1.c4 * SPDX-License-Identifier: Apache-2.0
17 /* Sensitivity of the accelerometer, indexed by the raw full scale value. Unit is µg/ LSB */
21 * Sensitivity of the gyroscope, indexed by the raw full scale value.
23 * proportional to the full scale size.
42 const struct lsm9ds1_config *cfg = dev->config; in lsm9ds1_reboot()
43 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lsm9ds1_reboot()
76 return -EINVAL; in lsm9ds1_accel_range_to_fs_val()
90 return -EINVAL; in lsm9ds1_gyro_range_to_fs_val()
109 return -EINVAL; in lsm9ds1_accel_freq_to_odr_val()
122 return -EINVAL; in lsm9ds1_gyro_freq_to_odr_val()
[all …]

1234