/Zephyr-latest/dts/bindings/sensor/ |
D | ti,tmag5273.yaml | 2 # 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 …]
|
D | invensense,mpu9250.yaml | 2 # 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 …]
|
D | memsic,mc3419.yaml | 1 # SPDX-License-Identifier: Apache-2.0 5 MC3419 3-axis accel sensor 8 #include <zephyr/dt-bindings/sensor/mc3419.h> 13 lpf-fc-sel = <MC3419_LPF_DISABLE>; 14 decimation-rate = <MC3419_DECIMATE_IDR_BY_1>; 19 include: [sensor-device.yaml, i2c-device.yaml] 22 int-gpios: 23 type: phandle-array 28 int-pin2: 36 lpf-fc-sel: [all …]
|
D | st,lsm9ds1.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 STMicroelectronics LSM9DS1 9-axis IMU (Inertial Measurement Unit) sensor 10 When setting the accel-range, gyro-range, imu-odr properties in 15 #include <zephyr/dt-bindings/sensor/lsm9ds1.h> 20 accel-range = <LSM9DS1_DT_FS_4G>; 21 imu-odr = <LSM9DS1_IMU_14Hz9>; 22 gyro-range = <LSM9DS1_DT_FS_2000DPS>; 27 include: [sensor-device.yaml, i2c-device.yaml] 30 accel-range: 34 Range of the accelerometer. Unit : g. Default is power-up configuration. [all …]
|
D | st,lis2dw12-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/lis2dw12.h> 14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>; 15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>; 16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>; 17 power-mode = <LIS2DW12_DT_HP_MODE>; 18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>; 21 include: sensor-device.yaml 24 irq-gpios: 25 type: phandle-array [all …]
|
/Zephyr-latest/samples/sensor/accel_polling/ |
D | README.rst | 1 .. 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 16 to be aliased as ``accelN`` where ``N`` goes from ``0`` to ``9``. For example: 18 .. code-block:: devicetree 28 .. zephyr-app-commands:: 29 :zephyr-app: samples/sensor/accel_polling [all …]
|
/Zephyr-latest/samples/sensor/6dof_motion_drdy/ |
D | README.rst | 1 .. zephyr:code-sample:: 6dof_motion_drdy 3 :relevant-api: sensor_interface 5 Get 6-Axis accelerometer and gyroscope data from a sensor (data ready interrupt mode). 10 This sample application periodically (100 Hz) measures the 6-axis IMU sensor with 19 overlay must be provided to identify the 6-axis motion sensor, the SPI or I2C bus interface and the… 25 This sample supports up to 6-Axis IMU devices. Each device needs 26 to be aliased as ``6dof-motion-drdyN`` where ``N`` goes from ``0`` to ``9``. For example: 28 .. code-block:: devicetree 32 6dof-motion-drdy0 = &icm42670p; 38 .. zephyr-app-commands:: [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks01a2/sensorhub/ |
D | README.rst | 1 .. zephyr:code-sample:: x-nucleo-iks01a2-shub 2 :name: X-NUCLEO-IKS01A2 shield - SensorHub (Mode 2) 3 :relevant-api: sensor_interface 5 Interact with all the sensors of an X-NUCLEO-IKS01A2 shield using Sensor Hub mode. 9 This sample is provided as an example to test the X-NUCLEO-IKS01A2 shield 11 Please refer to :ref:`x-nucleo-iks01a2` for more info on this configuration. 20 - LSM6DSL 6-Axis acceleration and angular velocity 21 - LSM6DSL 3-Axis magnetic field intensity (from LSM303AGR mag) - Primary option 22 - LSM6DSL ambient temperature and atmospheric pressure (from LPS22HB) - 28 This sample communicates over I2C with the X-NUCLEO-IKS01A2 shield [all …]
|
/Zephyr-latest/drivers/sensor/st/iis2dh/ |
D | Kconfig | 1 # 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. 70 2: +/- 2g 71 4: +/- 4g 72 8: +/- 8g 73 16: +/- 16g [all …]
|
/Zephyr-latest/tests/drivers/build_all/input/ |
D | app.overlay | 4 * 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/dt-bindings/input/ |
D | input-event-codes.h | 4 * SPDX-License-Identifier: Apache-2.0 7 * https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/input-event-codes.h 49 #define INPUT_KEY_8 9 /**< 8 Key */ 50 #define INPUT_KEY_9 10 /**< 9 Key */ 119 #define INPUT_KEY_KP9 73 /**< Keypad 9 Key */ 170 #define INPUT_KEY_UWB 239 /**< Ultra-Wideband Key */ 197 #define INPUT_BTN_9 0x109 /**< 9 button */ 243 #define INPUT_ABS_RX 0x03 /**< Absolute rotation around X axis */ 244 #define INPUT_ABS_RY 0x04 /**< Absolute rotation around Y axis */ 245 #define INPUT_ABS_RZ 0x05 /**< Absolute rotation around Z axis */ [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/sensor/ |
D | tmag5273.h | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/dt-util.h> 15 /* Axis */ 34 /* Interrupt-Mode */ 84 #define TMAG5273_DT_SLEEPTIME_1000MS 9
|
/Zephyr-latest/boards/shields/frdm_stbc_agm01/doc/ |
D | index.rst | 3 NXP FRDM-STBC-AGM01 9 The FRDM-STBC-AGM01 is an NXP Freedom development board with 10 FXOS8700 and FXAS21002. This 9-axis solution (FXAS21002C Gyroscope, 11 + FXOS8700CQ E-compass sensor) is compatible with any board that 16 :alt: FRDM-STBC-AGM01 18 Pin Assignment of the FRDM-STBC-AGM01 Shield 21 +-----------------------+---------------------+ 24 | A5 | I2C - SCL1 | 25 +-----------------------+---------------------+ 26 | A4 | I2C - SDA1 | [all …]
|
/Zephyr-latest/samples/subsys/display/lvgl/boards/ |
D | native_posix.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 8 #include <zephyr/dt-bindings/lvgl/lvgl.h> 16 compatible = "gpio-qdec"; 18 steps-per-period = <4>; 19 zephyr,axis = <INPUT_REL_WHEEL>; 20 sample-time-us = <2000>; 21 idle-timeout-ms = <200>; 25 compatible = "gpio-keys"; 59 compatible = "zephyr,lvgl-button-input"; [all …]
|
/Zephyr-latest/samples/sensor/tdk_apex/ |
D | README.rst | 1 .. zephyr:code-sample:: tdk_apex 3 :relevant-api: sensor_interface 17 ** Wake on Motion (WoM): Detects motion per axis exceeding 195 mg threshold. 25 …- https://invensense.tdk.com/download-pdf/an-000271-icm-42607x-and-icm-42670x-apex-motion-function… 44 to be aliased as ``tdk-apex-sensorN`` where ``N`` goes from ``0`` to ``9``. For example: 46 .. code-block:: devicetree 50 tdk-apex-sensor0 = &icm42670p; 56 .. code-block:: devicetree 64 .. zephyr-app-commands:: 65 :zephyr-app: samples/sensor/tdk_apex [all …]
|
/Zephyr-latest/boards/st/sensortile_box/doc/ |
D | index.rst | 6 The STEVAL-MKSBOX1V1 (SensorTile.box) is a ready-to-use box kit for wireless 9 The SensorTile.box board fits into a small plastic box with a long-life rechargeable 20 - Ultra low-power STM32L4R9ZI System on Chip 22 - LQFP144 package 23 - Core: ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU, adaptive 24 real-time accelerator (ART Accelerator) allowing 0-wait-state 27 - Clock Sources: 29 - 16 MHz crystal oscillator 30 - 32 kHz crystal oscillator for RTC (LSE) 32 - Communication [all …]
|
/Zephyr-latest/drivers/sensor/st/lis2dw12/ |
D | lis2dw12.h | 1 /* ST Microelectronics LIS2DW12 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 33 ((31 - __builtin_clz(_odr / 25))) + 3) 40 (_reg > 9) ? 1600 : \ 41 (1 << (_reg - 3)) * 25) 44 #define LIS2DW12_FS_TO_REG(_fs) (30 - __builtin_clz(_fs)) 67 * struct lis2dw12_device_config - lis2dw12 hw configuration
|
/Zephyr-latest/boards/st/sensortile_box_pro/doc/ |
D | index.rst | 6 The STEVAL-MKBOXPRO (SensorTile.box PRO) features an ARM Cortex-M33 based STM32U585AI MCU 7 and is a ready-to-use box kit for wireless IoT and wearable sensor platforms to help using 10 The SensorTile.box PRO board fits into a small plastic box with a long-life rechargeable 23 - Pedometer optimized for belt positioning 24 - Baby crying detection with Cloud AI learning 25 - Barometer / environmental monitoring 26 - Vehicle / goods tracking 27 - Vibration monitoring 28 - Compass and inclinometer 29 - Sensor data logger [all …]
|
/Zephyr-latest/boards/tdk/robokit1/doc/ |
D | index.rst | 10 It pairs a 300MHz Cortex-M7 ATSAME70Q21 with an array of TDK sensors and pin headers useful for rob… 15 - ATSAME70Q21 ARM Cortex-M7 Processor 16 - 12 MHz crystal oscillator (Pres) 17 - 32.768 kHz crystal oscillator 18 - Micro-AB USB device 19 - Micro-AB USB debug (Microchip EDBG) interface supporting CMSIS-DAP, Virtual COM Port and Data 20 - JTAG interface connector 21 - One reset pushbutton 22 - One red user LED 23 - TDK ICM 42688-P 6-Axis 32KHz IMU [all …]
|
/Zephyr-latest/boards/st/steval_stwinbx1/doc/ |
D | index.rst | 6 The STWIN.box (STEVAL-STWINBX1) is a development kit that features an Arm|reg| Cortex|reg|-M33 base… 10 The STEVAL-STWINBX1 kit consists of an STWIN.box core system, a 480mAh LiPo battery, an adapter for… 13 More information about the board can be found at the `STEVAL-STWINBX1 Development kit website`_. 19 The STEVAL-STWINBX1 provides motion, environmental, and audio 20 sensor data through either the built-in RS485 transceiver, BLE, Wi-Fi, and 23 - Multisensing wireless platform for vibration monitoring and ultrasound detection 24 - Baby crying detection with Cloud AI learning 25 - Barometer / environmental monitoring 26 - Vehicle / goods tracking 27 - Vibration monitoring [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_core2/doc/ |
D | index.rst | 6 M5Stack Core2 is an ESP32-based development board from M5Stack. It is the successor for the Core mo… 10 - ESP32-D0WDQ6-V3 chip (240MHz dual core, 600 DMIPS, 520KB SRAM, Wi-Fi) 11 - PSRAM 8MB 12 - Flash 16MB 13 - LCD IPS TFT 2", 320x240 px screen (ILI9342C) 14 - Touch screen (FT6336U) 15 - PMU AXP192 16 - Audio NS4168 amplifier (1W-092 speaker) 17 - Vibration motor 18 - RTC BM8563 [all …]
|
/Zephyr-latest/boards/espressif/esp32s3_eye/doc/ |
D | index.rst | 6 The ESP32-S3-EYE is a small-sized AI development board produced by [Espressif](https://espressif.co… 7 It is based on the [ESP32-S3](https://www.espressif.com/en/products/socs/esp32-s3) SoC. 8 It features a 2-Megapixel camera, an LCD display, and a microphone, which are used for image 9 recognition and audio processing. ESP32-S3-EYE offers plenty of storage, with an 8 MB Octal PSRAM 15 The ESP32-S3-EYE board consists of two parts: the main board (ESP32-S3-EYE-MB) that integrates the 16 ESP32-S3-WROOM-1 module, camera, SD card slot, digital microphone, USB port, and function buttons; 17 and the sub board (ESP32-S3-EYE-SUB) that contains an LCD display. 21 ------------- 23 The block diagram below presents main components of the ESP32-S3-EYE-MB main board (on the left) 24 and the ESP32-S3-EYE-SUB sub board (on the right), as well as the interconnections between [all …]
|
/Zephyr-latest/drivers/sensor/st/lis2ds12/ |
D | lis2ds12.c | 1 /* ST Microelectronics LIS2DS12 3-axis accelerometer driver 5 * SPDX-License-Identifier: Apache-2.0 20 #include <zephyr/dt-bindings/sensor/lis2ds12.h> 28 const struct lis2ds12_config *cfg = dev->config; in lis2ds12_set_odr() 29 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lis2ds12_set_odr() 34 LOG_DBG("%s: set power-down", dev->name); in lis2ds12_set_odr() 43 if ((odr >= LIS2DS12_DT_ODR_1600Hz && cfg->pm != LIS2DS12_DT_HIGH_FREQUENCY) || in lis2ds12_set_odr() 44 (odr < LIS2DS12_DT_ODR_1600Hz && cfg->pm == LIS2DS12_DT_HIGH_FREQUENCY) || in lis2ds12_set_odr() 45 (odr == LIS2DS12_DT_ODR_1Hz_LP && cfg->pm != LIS2DS12_DT_LOW_POWER)) { in lis2ds12_set_odr() 46 LOG_ERR("%s: bad odr and pm combination", dev->name); in lis2ds12_set_odr() [all …]
|
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/ |
D | lsm6dsv16x_trigger.c | 1 /* ST Microelectronics LSM6DSV16X 6-axis IMU sensor driver 5 * SPDX-License-Identifier: Apache-2.0 24 * lsm6dsv16x_enable_xl_int - XL enable selected int pin to generate interrupt 28 const struct lsm6dsv16x_config *cfg = dev->config; in lsm6dsv16x_enable_xl_int() 29 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lsm6dsv16x_enable_xl_int() 35 /* dummy read: re-trigger interrupt */ in lsm6dsv16x_enable_xl_int() 40 if ((cfg->drdy_pin == 1) || (ON_I3C_BUS(cfg) && (!I3C_INT_PIN(cfg)))) { in lsm6dsv16x_enable_xl_int() 70 * lsm6dsv16x_enable_g_int - Gyro enable selected int pin to generate interrupt 74 const struct lsm6dsv16x_config *cfg = dev->config; in lsm6dsv16x_enable_g_int() 75 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lsm6dsv16x_enable_g_int() [all …]
|
/Zephyr-latest/boards/openisa/rv32m1_vega/doc/ |
D | index.rst | 8 The VEGAboard contains the RV32M1 SoC, featuring two RISC-V CPUs, 9 on-die XIP flash, and a full complement of peripherals, including a 10 2.4 GHz multi-protocol radio. It also has built-in sensors and 11 Arduino-style expansion connectors. 13 The two RISC-V CPUs are named RI5CY and ZERO-RISCY, and are 15 `RI5CY`_ and `ZERO-RISCY`_. RI5CY is the "main" core; it has more 16 flash and RAM as well as a more powerful CPU design. ZERO-RISCY is a 17 "secondary" core. The main ZERO-RISCY use-case is as a wireless 30 RV32M1 multi-core SoC: 32 - 1 MiB flash and 192 KiB SRAM (RI5CY core) [all …]
|