device/valio/motion.h header reference
[Valio device attributes module]

The source code of this header can be browsed online.

Description  

Value IO interface for a accelerometer

Members  

Types  

Members detail  

#define LIBDEVICE_VALIO_MOTION_H_  

This macro is declared in device/valio/motion.h source file, line 27.

enum valio_motion_accel_opt_e  

This enum is declared in device/valio/motion.h source file, line 164.

IdentifierDescription
VALIO_MOTION_ACC_OPT_ACT
VALIO_MOTION_ACC_OPT_INACT
VALIO_MOTION_ACC_OPT_TAP
VALIO_MOTION_ACC_OPT_DBLTAP
VALIO_MOTION_ACC_OPT_FF

struct valio_motion_accel_s  

enum valio_motion_att_e  

This enum is declared in device/valio/motion.h source file, line 40.

The motion valio class is an interface for controlling and acquire data from motion tracking devices like an acceleromter, gyroscope or compass.

One class instance interface a device that may integrate up to the three

IdentifierDescription
VALIO_MOTION_CAPS
VALIO_MOTION_ACCEL_CALIBRATE
VALIO_MOTION_ACCEL
VALIO_MOTION_GYRO
VALIO_MOTION_COMP
VALIO_MOTION_DATA
VALIO_MOTION_EVENT

struct valio_motion_axis_data_s  

This struct is declared in device/valio/motion.h source file, line 220.

FieldDescription
uint16_t axis:9;
int16_t x;The value of each axis.
int16_t y;
int16_t z;

enum valio_motion_axis_e  

This enum is declared in device/valio/motion.h source file, line 85.

This enum is used for selecting one or more axis.

Note: axis that cannot be distinguished must be all selected at the same time.

IdentifierDescription
VALIO_MOTION_ACC_X
VALIO_MOTION_ACC_Y
VALIO_MOTION_ACC_Z
VALIO_MOTION_ACC_XYZ
VALIO_MOTION_GYR_X
VALIO_MOTION_GYR_Y
VALIO_MOTION_GYR_Z
VALIO_MOTION_GYR_XYZ
VALIO_MOTION_CMP_X
VALIO_MOTION_CMP_Y
VALIO_MOTION_CMP_Z
VALIO_MOTION_CMP_XYZ

enum valio_motion_caps_e  

This enum is declared in device/valio/motion.h source file, line 144.

IdentifierDescription
VALIO_MOTION_CAP_ACC_ACT
VALIO_MOTION_CAP_ACC_INACT
VALIO_MOTION_CAP_ACC_TAP
VALIO_MOTION_CAP_ACC_DBLTAP
VALIO_MOTION_CAP_ACC_FF
VALIO_MOTION_CAP_GYR_ACT
VALIO_MOTION_CAP_CMP_ACT

struct valio_motion_caps_s  

This struct is declared in device/valio/motion.h source file, line 159.

FieldDescription
uint16_t mask;

enum valio_motion_comp_opt_e  

This enum is declared in device/valio/motion.h source file, line 207.

IdentifierDescription
VALIO_MOTION_CMP_OPT_GAIN

struct valio_motion_comp_s  

This struct is declared in device/valio/motion.h source file, line 212.

FieldDescription
uint8_t mask:1;
uint16_t gain;

struct valio_motion_data_s  

This struct is declared in device/valio/motion.h source file, line 233.

enum valio_motion_event_e  

This enum is declared in device/valio/motion.h source file, line 109.

IdentifierDescription
VALIO_MOTION_ACC_ACT
VALIO_MOTION_ACC_INACT
VALIO_MOTION_ACC_TAP
VALIO_MOTION_ACC_DBLTAP
VALIO_MOTION_ACC_FF
VALIO_MOTION_GYR_ACT
VALIO_MOTION_CMP_ACT

struct valio_motion_evt_s  

This struct is declared in device/valio/motion.h source file, line 243.

FieldDescription
uint16_t evts:9;
uint16_t revts:9;
struct valio_motion_data_s data;

enum valio_motion_gyro_opt_e  

This enum is declared in device/valio/motion.h source file, line 194.

IdentifierDescription
VALIO_MOTION_GYR_OPT_MOVE

struct valio_motion_gyro_s  

This struct is declared in device/valio/motion.h source file, line 199.

FieldDescription
uint8_t mask:1;
struct valio_motion_thresh_s move;

struct valio_motion_thresh_s  

This struct is declared in device/valio/motion.h source file, line 127.

Valid XHTML 1.0 StrictGenerated by diaxen on Wed Oct 17 21:18:38 2018 using MkDoc