Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Macros | |
#define | SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT 0x41 |
sensor category light | |
#define | SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D 0x73 |
sensor category motion | |
#define | SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D 0x76 |
#define | SENSING_SENSOR_TYPE_MOTION_MOTION_DETECTOR 0x77 |
#define | SENSING_SENSOR_TYPE_OTHER_CUSTOM 0xE1 |
sensor category other | |
#define | SENSING_SENSOR_TYPE_MOTION_UNCALIB_ACCELEROMETER_3D 0x240 |
#define | SENSING_SENSOR_TYPE_MOTION_HINGE_ANGLE 0x20B |
#define | SENSING_SENSOR_TYPE_ALL 0xFFFF |
Sensor type for all sensors. | |
Sensor Types Definition.
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 category light
#define SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D 0x73 |
#include <zephyr/sensing/sensing_sensor_types.h>
sensor category motion
#define SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D 0x76 |
#include <zephyr/sensing/sensing_sensor_types.h>
#define SENSING_SENSOR_TYPE_MOTION_HINGE_ANGLE 0x20B |
#include <zephyr/sensing/sensing_sensor_types.h>
#define SENSING_SENSOR_TYPE_MOTION_MOTION_DETECTOR 0x77 |
#include <zephyr/sensing/sensing_sensor_types.h>
#define SENSING_SENSOR_TYPE_MOTION_UNCALIB_ACCELEROMETER_3D 0x240 |
#include <zephyr/sensing/sensing_sensor_types.h>
#define SENSING_SENSOR_TYPE_OTHER_CUSTOM 0xE1 |
#include <zephyr/sensing/sensing_sensor_types.h>
sensor category other