Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sensor_three_axis_attribute Struct Reference

Used by the following channel/attribute pairs: More...

#include <sensor_attribute_types.h>

Data Fields

int8_t shift
 
union { 
 
   struct { 
 
      q31_t   x 
 
      q31_t   y 
 
      q31_t   z 
 
   }  
 
   q31_t   values [3] 
 
};  
 

Detailed Description

Used by the following channel/attribute pairs:

  • SENSOR_CHAN_ACCEL_XYZ
    • SENSOR_ATTR_OFFSET
  • SENSOR_CHAN_GYRO_XYZ
    • SENSOR_ATTR_OFFSET
  • SENSOR_CHAN_MAGN_XYZ
    • SENSOR_ATTR_OFFSET

Field Documentation

◆ [union]

◆ shift

int8_t sensor_three_axis_attribute::shift

◆ values

q31_t sensor_three_axis_attribute::values[3]

◆ x

q31_t sensor_three_axis_attribute::x

◆ y

q31_t sensor_three_axis_attribute::y

◆ z

q31_t sensor_three_axis_attribute::z

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