Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sensor_three_axis_data Struct Reference

Data for a sensor channel which reports on three axes. More...

#include <sensor_data_types.h>

Data Structures

struct  sensor_three_axis_sample_data
 

Data Fields

struct sensor_data_header header
 
int8_t shift
 
struct sensor_three_axis_data::sensor_three_axis_sample_data readings [1]
 

Detailed Description

Data for a sensor channel which reports on three axes.

This is used by:

  • :c:enum:SENSOR_CHAN_ACCEL_X
  • :c:enum:SENSOR_CHAN_ACCEL_Y
  • :c:enum:SENSOR_CHAN_ACCEL_Z
  • :c:enum:SENSOR_CHAN_ACCEL_XYZ
  • :c:enum:SENSOR_CHAN_GYRO_X
  • :c:enum:SENSOR_CHAN_GYRO_Y
  • :c:enum:SENSOR_CHAN_GYRO_Z
  • :c:enum:SENSOR_CHAN_GYRO_XYZ
  • :c:enum:SENSOR_CHAN_MAGN_X
  • :c:enum:SENSOR_CHAN_MAGN_Y
  • :c:enum:SENSOR_CHAN_MAGN_Z
  • :c:enum:SENSOR_CHAN_MAGN_XYZ
  • :c:enum:SENSOR_CHAN_POS_DX
  • :c:enum:SENSOR_CHAN_POS_DY
  • :c:enum:SENSOR_CHAN_POS_DZ

Field Documentation

◆ header

struct sensor_data_header sensor_three_axis_data::header

◆ readings

struct sensor_three_axis_data::sensor_three_axis_sample_data sensor_three_axis_data::readings[1]

◆ shift

int8_t sensor_three_axis_data::shift

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