Home
last modified time | relevance | path

Searched +full:reporters +full:- +full:index (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/dts/bindings/sensor/
Dzephyr,sensing-sensor.yaml2 # SPDX-License-Identifier: Apache-2.0
7 include: sensor-device.yaml
10 sensor-types:
15 friendly-name:
18 minimal-interval:
23 reporters:
25 description: sensor reporters
27 reporters-index:
29 description: the index in sensor-types of reporter if the reporter support multiple sensor-types
31 stream-mode:
/Zephyr-latest/include/zephyr/sensing/
Dsensing_sensor.h2 * Copyright (c) 2022-2023 Intel Corporation.
4 * SPDX-License-Identifier: Apache-2.0
84 sys_snode_t snode; /**< Node in the singly-linked list of connections. */
127 * This macro generates a name for a sensor info structure based on a node and an index.
130 * @param idx Logical index into the sensor-types array.
138 * This macro defines a sensor info structure based on a node and an index.
143 * @param idx Logical index into the sensor-types array.
169 * This macro generates a name for a sensor source based on an index and a node.
171 * @param idx Logical index into the reporters array.
175 SENSING_SENSOR_NAME(DT_PHANDLE_BY_IDX(node, reporters, idx), \
[all …]
/Zephyr-latest/samples/subsys/sensing/simple/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
19 spi-max-frequency = <50000000>;
25 sensing: sensing-node {
29 base_accel_gyro: base-accel-gyro {
30 compatible = "zephyr,sensing-phy-3d-sensor";
32 …sensor-types = <SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D SENSING_SENSOR_TYPE_MOTION_GYROMETER_3…
33 friendly-name = "Base Accel Gyro Sensor";
34 minimal-interval = <625>;
35 underlying-device = <&bmi160_i2c>;
38 lid_accel_gyro: lid-accel-gyro {
[all …]
/Zephyr-latest/tests/subsys/sensing/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
19 spi-max-frequency = <50000000>;
25 sensing: sensing-node {
29 base_accel_gyro: base-accel-gyro {
30 compatible = "zephyr,sensing-phy-3d-sensor";
32 …sensor-types = <SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D SENSING_SENSOR_TYPE_MOTION_GYROMETER_3…
33 friendly-name = "Base Accel Gyro Sensor";
34 minimal-interval = <625>;
35 underlying-device = <&bmi160_i2c>;
38 lid_accel_gyro: lid-accel-gyro {
[all …]