device/valio/motion.h header reference
[Valio device attributes module]
The source code of this header can be browsed online.
Description [link]
Value IO interface for a accelerometer
Members [link]
Types [link]
- enum valio_motion_accel_opt_e
- struct valio_motion_accel_s
- enum valio_motion_att_e
- struct valio_motion_axis_data_s
- enum valio_motion_axis_e
- enum valio_motion_caps_e
- struct valio_motion_caps_s
- enum valio_motion_comp_opt_e
- struct valio_motion_comp_s
- struct valio_motion_data_s
- enum valio_motion_event_e
- struct valio_motion_evt_s
- enum valio_motion_gyro_opt_e
- struct valio_motion_gyro_s
- struct valio_motion_thresh_s
Members detail [link]
#define LIBDEVICE_VALIO_MOTION_H_ [link]
This macro is declared in device/valio/motion.h source file, line 27.
enum valio_motion_accel_opt_e [link]
This enum is declared in device/valio/motion.h source file, line 164.
Identifier | Description |
---|---|
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 [link]
This struct is declared in device/valio/motion.h source file, line 173.
Field | Description |
---|---|
uint8_t mask:4; | |
struct valio_motion_thresh_s act; | |
struct valio_motion_thresh_s inact; | |
struct <anonymous> { | |
uint16_t axis; | |
uint16_t duration; | |
uint16_t latency; | |
uint16_t window; | |
} tap; | |
struct valio_motion_thresh_s ffall; |
enum valio_motion_att_e [link]
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
Identifier | Description |
---|---|
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 [link]
This struct is declared in device/valio/motion.h source file, line 220.
enum valio_motion_axis_e [link]
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.
Identifier | Description |
---|---|
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 [link]
This enum is declared in device/valio/motion.h source file, line 144.
Identifier | Description |
---|---|
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 [link]
This struct is declared in device/valio/motion.h source file, line 159.
enum valio_motion_comp_opt_e [link]
This enum is declared in device/valio/motion.h source file, line 207.
Identifier | Description |
---|---|
VALIO_MOTION_CMP_OPT_GAIN |
struct valio_motion_comp_s [link]
This struct is declared in device/valio/motion.h source file, line 212.
struct valio_motion_data_s [link]
This struct is declared in device/valio/motion.h source file, line 233.
Field | Description |
---|---|
struct valio_motion_axis_data_s accel; | |
struct valio_motion_axis_data_s gyro; | |
struct valio_motion_axis_data_s comp; |
enum valio_motion_event_e [link]
This enum is declared in device/valio/motion.h source file, line 109.
Identifier | Description |
---|---|
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 [link]
This struct is declared in device/valio/motion.h source file, line 243.
enum valio_motion_gyro_opt_e [link]
This enum is declared in device/valio/motion.h source file, line 194.
Identifier | Description |
---|---|
VALIO_MOTION_GYR_OPT_MOVE |
struct valio_motion_gyro_s [link]
This struct is declared in device/valio/motion.h source file, line 199.
Field | Description |
---|---|
uint8_t mask:1; | |
struct valio_motion_thresh_s move; |