Home
last modified time | relevance | path

Searched +full:gyro +full:- +full:pm (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/dts/bindings/sensor/
Dst,lsm6dso-common.yaml2 # SPDX-License-Identifier: Apache-2.0
5 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range,
6 gyro-odr properties in a .dts or .dtsi file you may include lsm6dso.h
10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
15 accel-pm = <LSM6DSO_DT_XL_ULP_MODE>;
16 accel-range = <LSM6DSO_DT_FS_8G>;
17 accel-odr = <LSM6DSO_DT_ODR_1Hz6>;
18 gyro-pm = <LSM6DSO_DT_GY_NORMAL_MODE>;
19 gyro-range = <LSM6DSO_DT_FS_2000DPS>;
20 gyro-odr = <LSM6DSO_DT_ODR_6667Hz>;
[all …]
Dinvensense,icm42688.yaml4 # SPDX-License-Identifier: Apache-2.0
7 ICM-42688 motion tracking device
8 When setting the accel-pm, accel-range, accel-odr, gyro-pm, gyro-range,
9 gyro-odr properties in a .dts or .dtsi file you may include icm42688.h
13 #include <zephyr/dt-bindings/sensor/icm42688.h>
18 accel-pwr-mode = <ICM42688_ACCEL_LN>;
19 accel-fs = <ICM42688_ACCEL_FS_16G>;
20 accel-odr = <ICM42688_ACCEL_ODR_2000>;
21 gyro-pwr-mode= <ICM42688_GYRO_LN>;
22 gyro-fs = <ICM42688_GYRO_FS_2000>;
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Di2c.dtsi4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h>
10 #include <zephyr/dt-bindings/sensor/lsm6dso.h>
11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h>
12 #include <zephyr/dt-bindings/sensor/lps22hh.h>
13 #include <zephyr/dt-bindings/sensor/lps2xdf.h>
14 #include <zephyr/dt-bindings/sensor/lis2ds12.h>
15 #include <zephyr/dt-bindings/sensor/lis2dw12.h>
16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h>
17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h>
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_gyro.c5 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/pm/device.h>
26 const struct bmi08x_gyro_config *bmi08x = dev->config; in bmi08x_gyro_transceive_i2c()
29 return i2c_write_read_dt(&bmi08x->bus.i2c, &reg, 1, data, length); in bmi08x_gyro_transceive_i2c()
32 return -EINVAL; in bmi08x_gyro_transceive_i2c()
38 return i2c_write_dt(&bmi08x->bus.i2c, buf, 1 + length); in bmi08x_gyro_transceive_i2c()
43 return i2c_is_ready_dt(&bus->i2c) ? 0 : -ENODEV; in bmi08x_bus_check_i2c()
58 const struct bmi08x_gyro_config *bmi08x = dev->config; in bmi08x_gyro_transceive_spi()
68 return spi_transceive_dt(&bmi08x->bus.spi, &tx, &rx); in bmi08x_gyro_transceive_spi()
71 return spi_write_dt(&bmi08x->bus.spi, &tx); in bmi08x_gyro_transceive_spi()
[all …]
Dbmi08x_accel.c5 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/pm/device.h>
27 const struct bmi08x_accel_config *bmi08x = dev->config; in bmi08x_accel_transceive_i2c()
30 return i2c_write_read_dt(&bmi08x->bus.i2c, &reg, 1, data, length); in bmi08x_accel_transceive_i2c()
33 return -EINVAL; in bmi08x_accel_transceive_i2c()
39 return i2c_write_dt(&bmi08x->bus.i2c, buf, 1 + length); in bmi08x_accel_transceive_i2c()
88 length -= len1; in bmi08x_write_config_file_i2c()
96 return i2c_is_ready_dt(&bus->i2c) ? 0 : -ENODEV; in bmi08x_bus_check_i2c()
114 const struct bmi08x_accel_config *bmi08x = dev->config; in bmi08x_accel_transceive_spi()
124 return spi_transceive_dt(&bmi08x->bus.spi, &tx, &rx); in bmi08x_accel_transceive_spi()
[all …]
/Zephyr-latest/drivers/sensor/st/lsm6dso/
Dlsm6dso.c1 /* ST Microelectronics LSM6DSO 6-axis IMU sensor driver
5 * SPDX-License-Identifier: Apache-2.0
36 return -EINVAL; in lsm6dso_freq_to_odr_val()
47 return lsm6dso_odr_map[ARRAY_SIZE(lsm6dso_odr_map) - 1]; in lsm6dso_odr_to_freq_val()
62 return -EINVAL; in lsm6dso_accel_range_to_fs_val()
86 return -EINVAL; in lsm6dso_gyro_range_to_fs_val()
91 const struct lsm6dso_config *cfg = dev->config; in lsm6dso_reboot()
92 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in lsm6dso_reboot()
95 return -EIO; in lsm6dso_reboot()
98 /* Wait sensor turn-on time as per datasheet */ in lsm6dso_reboot()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160.c5 * SPDX-License-Identifier: Apache-2.0
8 * http://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMI160-DS000-07.pdf
17 #include <zephyr/pm/pm.h>
18 #include <zephyr/pm/device.h>
19 #include <zephyr/pm/device_runtime.h>
34 const struct bmi160_cfg *cfg = dev->config; in bmi160_transceive()
56 return spi_transceive_dt(&cfg->bus.spi, &tx, &rx); in bmi160_transceive()
59 return spi_write_dt(&cfg->bus.spi, &tx); in bmi160_transceive()
64 const struct bmi160_cfg *cfg = dev->config; in bmi160_bus_ready_spi()
66 return spi_is_ready_dt(&cfg->bus.spi); in bmi160_bus_ready_spi()
[all …]
/Zephyr-latest/drivers/sensor/st/lsm6dsl/
Dlsm6dsl.c1 /* lsm6dsl.c - Driver for LSM6DSL accelerometer, gyroscope and
8 * SPDX-License-Identifier: Apache-2.0
21 #include <zephyr/pm/device.h>
42 return -EINVAL; in lsm6dsl_freq_to_odr_val()
72 return -EINVAL; in lsm6dsl_accel_range_to_fs_val()
90 return -EINVAL; in lsm6dsl_gyro_range_to_fs_val()
96 struct lsm6dsl_data *data = dev->data; in lsm6dsl_reboot()
98 if (data->hw_tf->update_reg(dev, LSM6DSL_REG_CTRL3_C, in lsm6dsl_reboot()
101 return -EIO; in lsm6dsl_reboot()
104 /* Wait sensor turn-on time as per datasheet */ in lsm6dsl_reboot()
[all …]
/Zephyr-latest/drivers/sensor/tdk/icm42670/
Dicm42670.c6 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/pm/device.h>
35 const struct icm42670_config *cfg = dev->config; in icm42670_reg_read()
37 return cfg->bus_io->read(&cfg->bus, reg, buf, size); in icm42670_reg_read()
43 return icm42670_reg_read(serif->context, reg, rbuffer, rlen); in inv_io_hal_read_reg()
49 const struct icm42670_config *cfg = dev->config; in icm42670_reg_write()
51 return cfg->bus_io->write(&cfg->bus, reg, (uint8_t *)buf, size); in icm42670_reg_write()
57 return icm42670_reg_write(serif->context, reg, wbuffer, wlen); in inv_io_hal_write_reg()
280 if ((val->val1 == ICM42670_LOW_POWER_MODE) && in icm42670_set_accel_power_mode()
281 (drv_data->accel_pwr_mode != ICM42670_LOW_POWER_MODE)) { in icm42670_set_accel_power_mode()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.0.rst22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf
23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_
25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj
26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_
28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m
29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_
36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN()
58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been
69 * The following Kconfig options related to radio front-end modules (FEMs) were
[all …]
Drelease-notes-2.7.rst17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M
18 * Improved thread safety for Newlib and C++ on SMP-capable systems
20 * New Action-based Power Management API
23 * Linker Support for Tightly-Coupled Memory in RISC-V
25 * Support for extended PCI / PCIe capabilities, improved MIS-X support
33 * The kernel now supports both 32- and 64-bit architectures
36 * We added support for Point-to-Point Protocol (PPP)
37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates
38 * We added support for ARM Cortex-R Architecture
40 * Expanded support for ARMv6-M architecture
[all …]
Drelease-notes-3.6.rst12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications.
13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`.
16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2.
23 * Over 30 new supported boards, spanning all Zephyr-supported architectures.
37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47
38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_
40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_
43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw
44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_
[all …]
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h10 * SPDX-License-Identifier: Apache-2.0
42 * and can be obtained using the formula val1 + val2 * 10^(-6). Negative
47 * -0.5: val1 = 0, val2 = -500000
48 * -1.0: val1 = -1, val2 = 0
49 * -1.5: val1 = -1, val2 = -500000
54 /** Fractional part of the value (in one-millionth parts). */
101 /** Illuminance in infra-red spectrum, in lux. */
112 /** 1.0 micro-meters Particulate Matter, in ug/m^3 */
114 /** 2.5 micro-meters Particulate Matter, in ug/m^3 */
116 /** 10 micro-meters Particulate Matter, in ug/m^3 */
[all …]