Home
last modified time | relevance | path

Searched +full:2 +full:- +full:axis (Results 1 – 25 of 170) sorted by relevance

1234567

/Zephyr-latest/drivers/sensor/st/lsm6ds0/
DKconfig5 # SPDX-License-Identifier: Apache-2.0
13 Enable driver for LSM6DS0 I2C-based accelerometer and gyroscope
19 bool "Accelerometer X axis"
22 Enable/disable accelerometer X axis totally by stripping everything
26 bool "Accelerometer Y axis"
29 Enable/disable accelerometer Y axis totally by stripping everything
33 bool "Accelerometer Z axis"
36 Enable/disable accelerometer Z axis totally by stripping everything
40 bool "Gyroscope X axis"
43 Enable/disable gyroscope X axis totally by stripping everything
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dti,tmag5273.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Texas Instruments Low-Power Linear 3D Hall-Effect Sensor with an I2C interface.
17 #include <zephyr/dt-bindings/sensor/tmag5273.h>
21 axis = <TMAG5273_DT_AXIS_XYZ>;
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)
41 axis:
44 enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
[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 …]
Dti,tmag5170.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Texas Instruments TMAG5170 high-precision, linear 3D Hall-effect sensor.
8 include: [sensor-device.yaml, spi-device.yaml]
11 int-gpios:
12 type: phandle-array
18 operating-mode:
23 1 - stand-by mode - in this mode the device waits for application to trigger
25 2 - active measure mode - continuous sampling on all enabled channels
28 3 - active trigger mode - in this mode, similar to stand-by mode, the device
30 the conversion is shorter than in stand-by mode, on the cost of increased power
[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 …]
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372.h4 * SPDX-License-Identifier: Apache-2.0
39 #define ADXL372_STATUS_2 0x05u /* Status register 2 */
42 #define ADXL372_X_DATA_H 0x08u /* X-axis acceleration data [11:4] */
43 #define ADXL372_X_DATA_L 0x09u /* X-axis acceleration data [3:0] */
44 #define ADXL372_Y_DATA_H 0x0Au /* Y-axis acceleration data [11:4] */
45 #define ADXL372_Y_DATA_L 0x0Bu /* Y-axis acceleration data [3:0] */
46 #define ADXL372_Z_DATA_H 0x0Cu /* Z-axis acceleration data [11:4] */
47 #define ADXL372_Z_DATA_L 0x0Du /* Z-axis acceleration data [3:0] */
48 #define ADXL372_X_MAXPEAK_H 0x15u /* X-axis MaxPeak acceleration data */
49 #define ADXL372_X_MAXPEAK_L 0x16u /* X-axis MaxPeak acceleration data */
[all …]
DKconfig1 # Micropower, 3-Axis, +/-200g Digital Accelerometer
4 # SPDX-License-Identifier: Apache-2.0
7 bool "ADXL372 Three Axis High-g I2C/SPI accelerometer"
14 Enable driver for ADXL372 Three-Axis Digital Accelerometers.
25 In most high-g applications, a single (3-axis) acceleration sample at
47 int "In-activity threshold in mg"
51 Threshold for in-activity detection.
66 int "In-activity time"
68 default 2
77 bool "Use referenced activity/in-activity detection"
[all …]
/Zephyr-latest/samples/sensor/accel_polling/
DREADME.rst1 .. zephyr:code-sample:: accel_polling
2 :name: Generic 3-Axis accelerometer polling
3 :relevant-api: sensor_interface
5 Get 3-Axis accelerometer data from a sensor (polling mode).
10 This sample application demonstrates how to use 3-Axis accelerometers.
15 This sample supports up to 10 3-Axis accelerometers. Each accelerometer needs
18 .. code-block:: devicetree
28 .. zephyr-app-commands::
29 :zephyr-app: samples/sensor/accel_polling
37 .. code-block:: console
[all …]
/Zephyr-latest/samples/subsys/usb/hid-mouse/
DREADME.rst1 .. zephyr:code-sample:: usb-hid-mouse
3 :relevant-api: _usb_device_core_api usb_hid_device_api input_interface
13 the number of buttons on the board) a right mouse button, X-axis movement,
14 and Y-axis movement.
17 This sample can be found under :zephyr_file:`samples/subsys/usb/hid-mouse` in the
24 There must be a :dtcompatible:`gpio-keys` group of buttons or keys defined at
30 - ``INPUT_KEY_0``: left button
31 - ``INPUT_KEY_1``: right button
32 - ``INPUT_KEY_2``: move the mouse along the x-axis
33 - ``INPUT_KEY_3``: move the mouse along the y-axis
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367.h4 * SPDX-License-Identifier: Apache-2.0
54 #define ADXL367_SERIAL_NR_2 0x05u /* Serial Number 2 */
57 #define ADXL367_XDATA 0x08u /* X-axis acceleration data [13:6] */
58 #define ADXL367_YDATA 0x09u /* Y-axis acceleration data [13:6] */
59 #define ADXL367_ZDATA 0x0Au /* Z-axis acceleration data [13:6] */
63 #define ADXL367_X_DATA_H 0x0Eu /* X-axis acceleration data [13:6] */
64 #define ADXL367_X_DATA_L 0x0Fu /* X-axis acceleration data [5:0] */
65 #define ADXL367_Y_DATA_H 0x10u /* Y-axis acceleration data [13:6] */
66 #define ADXL367_Y_DATA_L 0x11u /* Y-axis acceleration data [5:0] */
67 #define ADXL367_Z_DATA_H 0x12u /* Z-axis acceleration data [13:6] */
[all …]
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/include/zephyr/drivers/sensor/
Dtmag5273.h4 * SPDX-License-Identifier: Apache-2.0
16 /* --- Additional TMAG5273 definitions */
21 * Magnitude measurement result between two axis in Gs.
31 * Angle result in deg, magnitude result in Gs and magnitude MSB between two axis.
39 * Define axis relation measurements.
41 * - \c TMAG5273_DT_ANGLE_MAG_NONE (0)
42 * - \c TMAG5273_DT_ANGLE_MAG_XY (1)
43 * - \c TMAG5273_DT_ANGLE_MAG_YZ (2)
44 * - \c TMAG5273_DT_ANGLE_MAG_XZ (3)
57 #define TMAG5273_ANGLE_CALC_YZ 2
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/
DREADME.rst1 .. _x-nucleo-iks4a1-std-sample:
3 X-NUCLEO-IKS4A1 shield Standard (Mode 1) sample
8 This sample is provided as an example to test the X-NUCLEO-IKS4A1 shield
10 Please refer to :ref:`x-nucleo-iks4a1-mode-1` for more info on this configuration.
12 This sample enables the following four sensors of a X-NUCLEO-IKS4A1 shield, and then
15 - LSM6DSV16X 6-Axis acceleration and angular velocity
16 - LSM6DSO16IS 6-Axis acceleration and angular velocity
17 - LPS22DF ambient temperature and atmospheric pressure
18 - LIS2MDL 3-Axis magnetic field intensity
19 - LIS2DUXS12 3-Axis acceleration
[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"
58 default 2
60 Magnetometer full-scale range.
61 An X value for the config represents a range of +/- X g. Valid
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/standard/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks01a2-std
2 :name: X-NUCLEO-IKS01A2 shield - Standard (Mode 1)
3 :relevant-api: sensor_interface
5 Interact with all the sensors of an X-NUCLEO-IKS01A2 shield using Standard Mode.
9 This sample enables all sensors of a X-NUCLEO-IKS01A2 shield, and then
12 - HTS221: Ambient temperature and relative humidity
13 - LPS22HB: Atmospheric pressure and ambient temperature
14 - LSM6DSL: 3-Axis Acceleration and 3-Axis Angular Velocity
15 - LSM303AGR 3-Axis Acceleration and 3-axis Magnetic field intensity
20 This sample communicates over I2C with the X-NUCLEO-IKS01A2 shield
[all …]
/Zephyr-latest/drivers/sensor/st/lsm303dlhc_magn/
DKconfig1 # LSM303DLHC Three Axis Magnetometer configuration options
4 # SPDX-License-Identifier: Apache-2.0
7 bool "LSM303DLHC Three Axis Magnetometer"
12 Enable driver for LSM303DLHC I2C-based triaxial magnetometer sensor.
20 1: +/-1.3 gauss
21 2: +/-1.9 gauss
22 3: +/-2.5 gauss
23 4: +/-4 gauss
24 5: +/-4.7 gauss
25 6: +/-5.6 gauss
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/sensorhub/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks02a1-shub
2 :name: X-NUCLEO-IKS02A1 shield - SensorHub (Mode 2)
3 :relevant-api: sensor_interface
5 Interact with all the sensors of an X-NUCLEO-IKS02A1 shield using Sensor Hub mode.
9 This sample is provided as an example to test the X-NUCLEO-IKS02A1 shield
10 configured in Sensor Hub mode (Mode 2).
11 Please refer to :ref:`x-nucleo-iks02a1` for more info on this configuration.
20 - IIS2DLPC 3-Axis acceleration
21 - ISM330DHCX 6-Axis acceleration and angular velocity
22 - ISM330DHCX (from IIS2MDC) 3-Axis magnetic field intensity
[all …]
/Zephyr-latest/boards/shields/x_nucleo_iks02a1/doc/
Dindex.rst1 .. _x-nucleo-iks02a1:
3 X-NUCLEO-IKS02A1: MEMS Inertial and Environmental Multi sensor shield
8 The X-NUCLEO-IKS02A1 is a motion MEMS expansion board for the STM32 Nucleo,
11 is designed around the ISM330DHCX 3-axis accelerometer and 3-axis gyroscope,
12 the IIS2MDC 3-axis magnetometer, the IIS2DLPC 3-axis accelerometer and
15 The X-NUCLEO-IKS02A1 interfaces with the STM32 microcontroller via the I2C pin,
18 .. image:: img/x-nucleo-iks02a1.jpg
20 :alt: X-NUCLEO-IKS02A1
23 `X-NUCLEO-IKS02A1 website`_.
28 X-NUCLEO-IKS02A1 provides the following key features:
[all …]
/Zephyr-latest/samples/boards/st/steval_stwinbx1/sensors/
DREADME.rst1 .. zephyr:code-sample:: stwinbx1_sensors
15 - STTS22H: Digital temperature sensor
16 - IIS2MDC: 3-axis magnetometer
17 - ISM330DHCX: IMU, 3D accelerometer and 3D gyroscope with Machine Learning Core and Finite State Ma…
18 - IIS2DLPC: high-performance ultra-low-power 3-axis accelerometer for industrial applications
19 - IIS2ICLX: high-accuracy, high-resolution, low-power, 2-axis digital inclinometer with Machine Lea…
20 - ILPS22QS: ultra-compact piezoresistive absolute pressure sensor
31 - :zephyr:board:`steval_stwinbx1`
38 .. zephyr-app-commands::
39 :zephyr-app: samples/boards/st/steval_stwinbx1/sensors
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/sensorhub/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks01a3-shub
2 :name: X-NUCLEO-IKS01A3 shield - SensorHub (Mode 2)
3 :relevant-api: sensor_interface
5 Interact with all the sensors of an X-NUCLEO-IKS01A3 shield using Sensor Hub mode.
9 This sample is provided as an example to test the X-NUCLEO-IKS01A3 shield
10 configured in Sensor Hub mode (Mode 2).
11 Please refer to :ref:`x-nucleo-iks01a3` for more info on this configuration.
20 - LIS2DW12 3-Axis acceleration
21 - LSM6DSO 6-Axis acceleration and angular velocity
22 - LSM6DSO (from LIS2MDL) 3-Axis magnetic field intensity
[all …]
/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.
95 bool "2G"
112 bool "Dynamic full-scale for accelerometer"
115 Enable alteration of accelerometer full-scale attribute at
119 bool "Accelerometer X axis"
124 bool "Accelerometer Y axis"
129 bool "Accelerometer Z axis"
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks02a1-std
2 :name: X-NUCLEO-IKS02A1 shield - Standard (Mode 1)
3 :relevant-api: sensor_interface
5 Interact with all the sensors of an X-NUCLEO-IKS02A1 shield using Standard mode.
9 This sample is provided as an example to test the X-NUCLEO-IKS02A1 shield
11 Please refer to :ref:`x-nucleo-iks02a1` for more info on this configuration.
13 This sample enables all sensors of a X-NUCLEO-IKS02A1 shield, and then
16 - IIS2MDC 3-Axis magnetic field intensity
17 - IIS2DLPC 3-Axis acceleration
18 - ISM330DHCX 6-Axis acceleration and angular velocity
[all …]
/Zephyr-latest/dts/bindings/input/
Dst,stmpe811.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [i2c-device.yaml, touchscreen-common.yaml]
11 int-gpios:
12 type: phandle-array
17 raw-x-min:
20 Signed raw X axis start for scaling the reported coordinates.
23 raw-y-min:
26 Signed raw Y axis start for scaling the reported coordinates.
29 raw-x-max:
32 Raw X axis end for scaling the reported coordinates.
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub2/
DREADME.rst1 .. _x-nucleo-iks4a1-shub2-sample:
3 X-NUCLEO-IKS4A1: shield SHUB2 (Mode 2) sample
8 This sample is provided as an example to test the X-NUCLEO-IKS4A1 shield
9 configured in Sensor Hub mode (Mode 2).
10 Please refer to :ref:`x-nucleo-iks4a1-mode-2` for more info on this configuration.
17 - LSM6DSO16IS 6-Axis acceleration and angular velocity
18 - LSM6DSO16IS (from LIS2MDL) 3-Axis magnetic field intensity
19 - LSM6DSO16IS (from LPS22DF) ambient temperature and atmospheric pressure
24 This sample communicates over I2C with the X-NUCLEO-IKS4A1 shield
31 This sample runs with X-NUCLEO-IKS4A1 stacked on any board with a matching
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks01a3-std
2 :name: X-NUCLEO-IKS01A3 shield - Standard (Mode 1)
3 :relevant-api: sensor_interface
5 Interact with all the sensors of an X-NUCLEO-IKS01A3 shield using Standard mode.
9 This sample is provided as an example to test the X-NUCLEO-IKS01A3 shield
11 Please refer to :ref:`x-nucleo-iks01a3` for more info on this configuration.
13 This sample enables all sensors of a X-NUCLEO-IKS01A3 shield, and then
16 - HTS221: ambient temperature and relative humidity
17 - LPS22HH ambient temperature and atmospheric pressure
18 - LIS2MDL 3-Axis magnetic field intensity
[all …]

1234567