blob: a2d445bc46e32063f60f35c4994dc4f9dcfe868a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
$License:
Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved.
See included License.txt for License information.
$
*/
#ifndef INV_QUATERNION_SUPERVISOR_H__
#define INV_QUATERNION_SUPERVISOR_H__
#include "mltypes.h"
#ifdef __cplusplus
extern "C" {
#endif
#define ACCELERATION_SQUARE_1P5G 9663676416LL
#define ACCELERATION_SQUARE_1P2G 6184752906LL
inv_error_t inv_enable_quaternion(void);
inv_error_t inv_disable_quaternion(void);
inv_error_t inv_init_quaternion(void);
inv_error_t inv_start_quaternion(void);
void inv_set_quaternion(long *quat);
int inv_verify_6x_fusion_data(float *data);
#ifdef __cplusplus
}
#endif
#endif // INV_QUATERNION_SUPERVISOR_H__
|