Zephyr Project API 3.5.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sensing_sensor_value_3d_q31 Struct Reference

Sensor value data structure types based on common data types. More...

#include <sensing_datatypes.h>

Data Fields

struct sensing_sensor_value_header header
 
int8_t shift
 
struct { 
 
   uint32_t   timestamp_delta 
 
   union { 
 
      q31_t   v [3] 
 
      struct { 
 
         q31_t   x 
 
         q31_t   y 
 
         q31_t   z 
 
      }  
 
   }  
 
readings [1] 
 

Detailed Description

Sensor value data structure types based on common data types.

Suitable for common sensors, such as IMU, Light sensors and orientation sensors.

Sensor value data structure for 3-axis sensors. struct sensing_sensor_value_3d_q31 can be used by 3D IMU sensors like: SENSING_SENSOR_TYPE_MOTION_ACCELEROMETER_3D, SENSING_SENSOR_TYPE_MOTION_UNCALIB_ACCELEROMETER_3D, SENSING_SENSOR_TYPE_MOTION_GYROMETER_3D, q31 version

Field Documentation

◆ header

struct sensing_sensor_value_header sensing_sensor_value_3d_q31::header

◆ [struct]

struct { ... } sensing_sensor_value_3d_q31::readings[1]

◆ shift

int8_t sensing_sensor_value_3d_q31::shift

◆ timestamp_delta

uint32_t sensing_sensor_value_3d_q31::timestamp_delta

◆ v

q31_t sensing_sensor_value_3d_q31::v[3]

◆ x

q31_t sensing_sensor_value_3d_q31::x

◆ y

q31_t sensing_sensor_value_3d_q31::y

◆ z

q31_t sensing_sensor_value_3d_q31::z

The documentation for this struct was generated from the following file: