Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
Sensor type identifiers used by the sensing subsystem. More...
Macros | |
#define | SENSING_SENSOR_TYPE_ALL 0xFFFF |
Sensor type for all sensors. |
Light sensors | |
#define | SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT 0x41 |
Sensor type for ambient light sensors. |
Motion sensors | |
#define | SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D 0x73 |
Sensor type for 3D accelerometers. | |
#define | SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D 0x76 |
Sensor type for 3D gyrometers. | |
#define | SENSING_SENSOR_TYPE_MOTION_MOTION_DETECTOR 0x77 |
Sensor type for motion detectors. | |
#define | SENSING_SENSOR_TYPE_MOTION_UNCALIB_ACCELEROMETER_3D 0x240 |
Sensor type for uncalibrated 3D accelerometers. | |
#define | SENSING_SENSOR_TYPE_MOTION_HINGE_ANGLE 0x20B |
Sensor type for hinge angle sensors. |
Other sensors | |
#define | SENSING_SENSOR_TYPE_OTHER_CUSTOM 0xE1 |
Sensor type for custom sensors. |
Sensor type identifiers used by the sensing subsystem.
Sensor types definition followed HID standard. https://usb.org/sites/default/files/hutrr39b_0.pdf
TODO: will add more types
#define SENSING_SENSOR_TYPE_ALL 0xFFFF |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for all sensors.
This macro defines the sensor type for all sensors.
#define SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT 0x41 |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for ambient light sensors.
#define SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D 0x73 |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for 3D accelerometers.
#define SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D 0x76 |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for 3D gyrometers.
#define SENSING_SENSOR_TYPE_MOTION_HINGE_ANGLE 0x20B |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for hinge angle sensors.
#define SENSING_SENSOR_TYPE_MOTION_MOTION_DETECTOR 0x77 |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for motion detectors.
#define SENSING_SENSOR_TYPE_MOTION_UNCALIB_ACCELEROMETER_3D 0x240 |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for uncalibrated 3D accelerometers.
#define SENSING_SENSOR_TYPE_OTHER_CUSTOM 0xE1 |
#include <zephyr/sensing/sensing_sensor_types.h>
Sensor type for custom sensors.