Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Sensor Types

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.
 

Detailed Description

Sensor Types Definition.

Sensor types definition followed HID standard. https://usb.org/sites/default/files/hutrr39b_0.pdf

TODO: will add more types

Macro Definition Documentation

◆ SENSING_SENSOR_TYPE_ALL

#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.

◆ SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT

#define SENSING_SENSOR_TYPE_LIGHT_AMBIENTLIGHT   0x41

#include <zephyr/sensing/sensing_sensor_types.h>

sensor category light

◆ SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D

#define SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D   0x73

#include <zephyr/sensing/sensing_sensor_types.h>

sensor category motion

◆ SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D

#define SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D   0x76

◆ SENSING_SENSOR_TYPE_MOTION_HINGE_ANGLE

#define SENSING_SENSOR_TYPE_MOTION_HINGE_ANGLE   0x20B

◆ SENSING_SENSOR_TYPE_MOTION_MOTION_DETECTOR

#define SENSING_SENSOR_TYPE_MOTION_MOTION_DETECTOR   0x77

◆ SENSING_SENSOR_TYPE_MOTION_UNCALIB_ACCELEROMETER_3D

#define SENSING_SENSOR_TYPE_MOTION_UNCALIB_ACCELEROMETER_3D   0x240

◆ SENSING_SENSOR_TYPE_OTHER_CUSTOM

#define SENSING_SENSOR_TYPE_OTHER_CUSTOM   0xE1

#include <zephyr/sensing/sensing_sensor_types.h>

sensor category other