/Zephyr-latest/drivers/input/ |
D | Kconfig.analog_axis | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "ADC based analog axis input driver" 11 ADC based analog axis input driver 16 int "Stack size for the analog axis thread" 19 Size of the stack used for the analog axis thread. 22 int "Priority for the analog axis thread" 25 Priority level of the analog axis thread. 28 bool "Analog axis settings support" 32 Settings support for the analog axis driver, exposes a
|
/Zephyr-latest/include/zephyr/input/ |
D | input_analog_axis.h | 4 * SPDX-License-Identifier: Apache-2.0 14 * @brief Analog axis API 15 * @defgroup input_analog_axis Analog axis API 21 * @brief Analog axis calibration data structure. 23 * Holds the calibration data for a single analog axis. Initial values are set 37 * @brief Analog axis raw data callback. 39 * @param dev Analog axis device. 49 * Set a callback to receive raw data for the specified analog axis device. 53 * @param dev Analog axis device. 66 * @brief Get the axis calibration data. [all …]
|
D | input_analog_axis_settings.h | 4 * SPDX-License-Identifier: Apache-2.0 24 * @param dev Analog axis device. 27 * @retval -errno In case of any other error.
|
/Zephyr-latest/dts/bindings/input/ |
D | analog-axis.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 ADC based analog axis input device 7 Implement an input device generating absolute axis events by periodically 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 compatible = "analog-axis"; 16 poll-period-ms = <15>; 17 axis-x { 18 io-channels = <&adc 0>; 19 in-deadzone = <50>; 20 in-min = <100>; [all …]
|
/Zephyr-latest/boards/shields/pmod_acl/doc/ |
D | index.rst | 9 The Digilent Pmod ACL is a 3-axis digital accelerometer module powered by the 10 Analog Devices ADXL345. 15 Set ``--shield pmod_acl`` when you invoke ``west build``. For example: 17 .. zephyr-app-commands:: 18 :zephyr-app: samples/sensor/sensor_shell 33 - `Pmod ACL product page`_ 34 - `Pmod ACL reference manual`_ 35 - `Pmod ACL schematic`_ 36 - `ADXL345 product page`_ 37 - `ADXL345 data sheet`_ [all …]
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372.h | 2 * Copyright (c) 2018 Analog Devices Inc. 4 * SPDX-License-Identifier: Apache-2.0 34 #define ADXL372_DEVID 0x00u /* Analog Devices accelerometer ID */ 35 #define ADXL372_DEVID_MST 0x01u /* Analog Devices MEMS device ID */ 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] */ [all …]
|
D | Kconfig | 1 # Micropower, 3-Axis, +/-200g Digital Accelerometer 3 # Copyright (c) 2018 Analog Devices Inc. 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" 77 bool "Use referenced activity/in-activity detection" [all …]
|
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367.h | 2 * Copyright (c) 2023 Analog Devices Inc. 4 * SPDX-License-Identifier: Apache-2.0 49 #define ADXL367_DEVID 0x00u /* Analog Devices accelerometer ID */ 50 #define ADXL367_DEVID_MST 0x01u /* Analog Devices MEMS device ID */ 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] */ [all …]
|
D | Kconfig | 1 # Micropower, 3-Axis, +/-200g Digital Accelerometer 3 # Copyright (c) 2023 Analog Devices Inc. 4 # SPDX-License-Identifier: Apache-2.0 7 bool "ADXL367 Three Axis High-g I2C/SPI accelerometer" 15 Enable driver for ADXL367 Three-Axis Digital Accelerometers. 39 int "In-activity threshold in raw value" 43 Threshold for in-activity detection. 57 int "In-activity time" 109 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL367),int1-gpios) 115 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_ADI_ADXL367),int1-gpios)
|
D | adxl367_decoder.c | 2 * Copyright (c) 2024 Analog Devices Inc. 4 * SPDX-License-Identifier: Apache-2.0 98 *out = ((data_in - ADXL367_TEMP_25C) / ADXL367_TEMP_SENSITIVITY in adxl367_temp_convert_q31() 104 const enum adxl367_fifo_read_mode read_mode, uint8_t axis, uint8_t sample_aligned) in adxl367_accel_convert_q31() argument 130 if (ADXL367_FIFO_HDR_GET_ACCEL_AXIS(data_in) == axis) { in adxl367_accel_convert_q31() 143 if (ADXL367_FIFO_HDR_GET_ACCEL_AXIS(data_in) == axis) { in adxl367_accel_convert_q31() 172 if (enc_data->has_x) { in adxl367_get_accel() 173 data->readings[count].timestamp_delta = in adxl367_get_accel() 175 adxl367_accel_convert_q31(&data->readings[count].x, in adxl367_get_accel() 176 buffer, enc_data->fifo_read_mode, in adxl367_get_accel() [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | adi,adxl366-i2c.yaml | 1 # Copyright (c) 2023 Analog Devices Inc. 2 # SPDX-License-Identifier: Apache-2.0 4 description: ADXL366 3-axis nanopower accelerometer, accessed through I2C bus 8 include: ["i2c-device.yaml", "adi,adxl367-common.yaml"]
|
D | adi,adxl366-spi.yaml | 1 # Copyright (c) 2023 Analog Devices Inc. 2 # SPDX-License-Identifier: Apache-2.0 4 description: ADXL366 3-axis nanopower accelerometer, accessed through SPI bus 8 include: ["spi-device.yaml", "adi,adxl367-common.yaml"]
|
D | adi,adxl367-i2c.yaml | 1 # Copyright (c) 2023 Analog Devices Inc. 2 # SPDX-License-Identifier: Apache-2.0 4 description: ADXL367 3-axis nanopower accelerometer, accessed through I2C bus 8 include: ["i2c-device.yaml", "adi,adxl367-common.yaml"]
|
D | adi,adxl367-spi.yaml | 1 # Copyright (c) 2023 Analog Devices Inc. 2 # SPDX-License-Identifier: Apache-2.0 4 description: ADXL367 3-axis nanopower accelerometer, accessed through SPI bus 8 include: ["spi-device.yaml", "adi,adxl367-common.yaml"]
|
D | adi,adxl372-i2c.yaml | 1 # Copyright (c) 2018 Analog Devices Inc. 2 # SPDX-License-Identifier: Apache-2.0 4 description: ADXL372 3-axis high-g accelerometer, accessed through I2C bus 8 include: ["i2c-device.yaml", "adi,adxl372-common.yaml"]
|
D | adi,adxl372-spi.yaml | 1 # Copyright (c) 2018 Analog Devices Inc. 3 # SPDX-License-Identifier: Apache-2.0 5 description: ADXL372 3-axis high-g accelerometer, accessed through SPI bus 9 include: ["spi-device.yaml", "adi,adxl372-common.yaml"]
|
/Zephyr-latest/boards/shields/eval_adxl362_ardz/doc/ |
D | index.rst | 3 EVAL-ADXL362-ARDZ 9 The EVAL-ADXL362-ARDZ is a 3-axis digital accelerometer Arduino shield powered 10 by the Analog Devices ADXL362. 15 Set ``--shield eval_adxl362_ardz`` when you invoke ``west build``. For example: 17 .. zephyr-app-commands:: 18 :zephyr-app: samples/sensor/sensor_shell 33 - `EVAL-ADXL362-ARDZ product page`_ 34 - `EVAL-ADXL362-ARDZ user guide`_ 35 - `EVAL-ADXL362-ARDZ schematic`_ 36 - `ADXL362 product page`_ [all …]
|
/Zephyr-latest/boards/shields/eval_adxl372_ardz/doc/ |
D | index.rst | 3 EVAL-ADXL372-ARDZ 9 The EVAL-ADXL372-ARDZ is a 3-axis digital accelerometer Arduino shield powered 10 by the Analog Devices ADXL372. 15 Set ``--shield eval_adxl372_ardz`` when you invoke ``west build``. For example: 17 .. zephyr-app-commands:: 18 :zephyr-app: samples/sensor/sensor_shell 33 - `EVAL-ADXL372-ARDZ product page`_ 34 - `EVAL-ADXL372-ARDZ user guide`_ 35 - `EVAL-ADXL372-ARDZ schematic`_ 36 - `ADXL372 product page`_ [all …]
|
/Zephyr-latest/doc/services/input/ |
D | index.rst | 14 of a single button, or a movement in a single axis. 19 multi-axis device have been reported. 25 or any related function; for example buttons or other on-off input entities 72 :dtcompatible:`zephyr,kscan-input` node as a child node of the corresponding 73 input device and pointing the ``zephyr,keyboard-scan`` chosen node to the 76 .. code-block:: devicetree 79 zephyr,keyboard-scan = &kscan_input; 84 kscan_input: kscan-input { 85 compatible = "zephyr,kscan-input"; 92 - :dtcompatible:`adc-keys`: for buttons connected to a resistor ladder. [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/boards/infineon/cyw920829m2evk_02/doc/ |
D | index.rst | 6 The AIROC™ CYW20829 Bluetooth® LE MCU Evaluation Kit (CYW920829M2EVK-02) with its included on-board… 8 …- M33s for powering the MCU and Bluetooth subsystem with programmable and reconfigurable analog an… 13 For more information about the CYW20829 SoC and CYW920829M2EVK-02 board: 15 - `CYW20829 SoC Website`_ 16 - `CYW920829M2EVK-02 Board Website`_ 21 - AIROC™ CYW20829 Bluetooth® LE MCU in 56 pin QFN package 22 - Arduino compatible headers for hardware expansion 23 - On-board sensors - 6-axis IMU, Thermistor, Infineon analog microphone, and Infineon digital micro… 24 - User switches, RGB LED and user LEDs 25 - USB connector for power, programming and USB-UART bridge [all …]
|
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362_decoder.c | 2 * Copyright (c) 2024 Analog Devices Inc. 4 * SPDX-License-Identifier: Apache-2.0 52 *out = ((data_in - ADXL362_TEMP_BIAS_LSB) / ADXL362_TEMP_LSB_PER_C in adxl362_temp_convert_q31() 72 buffer + sizeof(struct adxl362_fifo_data) + enc_data->fifo_byte_count; in adxl362_decode_stream() 85 if (enc_data->has_tmp) { in adxl362_decode_stream() 89 uint64_t period_ns = accel_period_ns[enc_data->accel_odr]; in adxl362_decode_stream() 93 sample_num = ((uint8_t *)*fit - buffer) / sample_set_size; in adxl362_decode_stream() 108 if (enc_data->has_tmp) { in adxl362_decode_stream() 112 data->header.base_timestamp_ns = enc_data->timestamp; in adxl362_decode_stream() 113 data->header.reading_count = 1; in adxl362_decode_stream() [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/arduino/nano_33_iot/doc/ |
D | index.rst | 10 Wifi, Bluetooth, a 6 axis IMU, and secure element. 19 - ATSAMD21G18A ARM Cortex-M0+ processor at 48 MHz 20 - 256 KiB flash memory and 32 KiB of RAM 21 - One user LED 22 - One reset button 23 - Native USB port 24 - Wifi and Bluetooth via a u-blox NINA-W102 25 - ATECC608A secure element 26 - LSM6DS3 six axis accelerometer and gyro 34 +-----------+------------+------------------------------------------+ [all …]
|
/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 …]
|