Home
last modified time | relevance | path

Searched +full:magnetic +full:- +full:field (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/samples/shields/x_nucleo_iks01a1/
DREADME.rst1 .. zephyr:code-sample:: x-nucleo-iks01a1
2 :name: X-NUCLEO-IKS01A1 shield
3 :relevant-api: sensor_interface
5 Interact with all the sensors of an X-NUCLEO-IKS01A1 shield.
9 This sample enables all sensors of a X-NUCLEO-IKS01A1 shield, and then
12 - HTS221: Temperature and humidity
13 - LPS25HB: Atmospheric pressure
14 - LIS3MDL: 3-axis Magnetic field intensity
15 - LSM6DSL: 3-Axis Acceleration
20 This sample communicates over I2C with the X-NUCLEO-IKS01A1 shield
[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>
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)
49 - 0 # TMAG5273_DT_AXIS_NONE
50 - 1 # TMAG5273_DT_AXIS_X
51 - 2 # TMAG5273_DT_AXIS_Y
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/sensorhub1/
DREADME.rst1 .. _x-nucleo-iks4a1-shub1-sample:
3 X-NUCLEO-IKS4A1 shield SHUB1 (Mode 3) 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-3` for more info on this configuration.
17 - LSM6DSV16X 6-Axis acceleration and angular velocity
18 - LSM6DSV16X (from LIS2MDL) 3-Axis magnetic field intensity
19 - LSM6DSV16X (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
34 .. zephyr-app-commands::
[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
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
34 .. zephyr-app-commands::
[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/samples/shields/x_nucleo_iks01a2/sensorhub/
DREADME.rst1 .. 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/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/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/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
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
28 This sample communicates over I2C with the X-NUCLEO-IKS02A1 shield
[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
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
23 - LSM6DSO (from LPS22HH) ambient temperature and atmospheric pressure
[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 …]
/Zephyr-latest/samples/shields/x_nucleo_iks01a1/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
19 sensor_sample_fetch_chan(dev, trig->chan); in lis3mdl_trigger_handler()
38 printk("%s: device not ready.\n", hts221->name); in main()
42 printk("%s: device not ready.\n", lis3mdl->name); in main()
46 printk("%s: device not ready.\n", lsm6ds0->name); in main()
50 printk("%s: device not ready.\n", lps25hb->name); in main()
96 printf("X-NUCLEO-IKS01A1 sensor dashboard\n\n"); in main()
112 "LIS3MDL: Magnetic field (gauss): x: %.1f, y: %.1f, z: %.1f\n", in main()
119 "LSM6DS0: Acceleration (m.s-2): x: %.1f, y: %.1f, z: %.1f\n", in main()
/Zephyr-latest/boards/96boards/stm32_sensor_mez/
D96b_stm32_sensor_mez.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/f4/stm32f446v(c-e)tx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "st,stm32f446-b96b-f446ve";
18 zephyr,shell-uart = &uart4;
24 compatible = "gpio-leds";
40 compatible = "gpio-keys";
61 clock-frequency = <DT_FREQ_M(16)>;
66 div-m = <8>;
[all …]
/Zephyr-latest/drivers/sensor/ti/tmag5273/
Dtmag5273.c4 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/dt-bindings/sensor/tmag5273.h>
39 * Since the register counting is zero-based, one byte needs to be added to get the correct size.
44 (TMAG5273_REG_RESULT_END - TMAG5273_REG_RESULT_BEGIN + 1 + TMAG5273_CRC_I2C_SIZE)
77 int16_t x_sample; /** measured B-field @x-axis */
78 int16_t y_sample; /** measured B-field @y-axis */
79 int16_t z_sample; /** measured B-field @z-axis */
82 uint16_t xyz_range; /** magnetic range for x/y/z-axis in mT */
96 const struct tmag5273_config *drv_cfg = dev->config; in tmag5273_reset_device_status()
98 return i2c_reg_write_byte_dt(&drv_cfg->i2c, TMAG5273_REG_DEVICE_STATUS, in tmag5273_reset_device_status()
[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). */
78 /** Magnetic field on the X axis, in Gauss. */
80 /** Magnetic field on the Y axis, in Gauss. */
82 /** Magnetic field on the Z axis, in Gauss. */
84 /** Magnetic field on the X, Y and Z axes. */
[all …]
/Zephyr-latest/drivers/sensor/nxp/fxos8700/
Dfxos8700.c5 * SPDX-License-Identifier: Apache-2.0
18 /* Convert the range (8g, 4g, 2g) to the encoded FS register field value */
19 #define RANGE2FS(x) (__builtin_ctz(x) - 1)
29 const struct fxos8700_config *cfg = dev->config; in fxos8700_transceive()
33 return spi_transceive_dt(&cfg->bus_cfg.spi, &s, &s); in fxos8700_transceive()
41 const struct fxos8700_config *cfg = dev->config; in fxos8700_read_spi()
52 return spi_transceive_dt(&cfg->bus_cfg.spi, &tx, &rx); in fxos8700_read_spi()
87 return -EIO; in fxos8700_reg_field_update_spi()
107 const struct fxos8700_config *config = dev->config; in fxos8700_read_i2c()
109 return i2c_burst_read_dt(&config->bus_cfg.i2c, reg, data, length); in fxos8700_read_i2c()
[all …]
/Zephyr-latest/doc/releases/
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.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
Drelease-notes-2.4.rst33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer
34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing
35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core
36 * CVE-2020-10072: all threads can access all socket file descriptors
37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat
38 * CVE-2020-13599: Security problem with settings and littlefs
39 * CVE-2020-13601: Under embargo until 2020/11/18
40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv
50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if
[all …]