summaryrefslogtreecommitdiff
path: root/60xx/libsensors_iio/software/core/mpl/gyro_tc.h
blob: 8f1d50ed1d2f2e877fe06cad5f3378ff53ac7a7c (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
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 $License:
    Copyright (C) 2011-2012 InvenSense Corporation, All Rights Reserved.
    See included License.txt for License information.
 $
 */

/******************************************************************************
 *
 * $Id$
 *
 *****************************************************************************/

#ifndef _GYRO_TC_H
#define _GYRO_TC_H_

#include "mltypes.h"

#ifdef __cplusplus
extern "C" {
#endif

inv_error_t inv_enable_gyro_tc(void);
inv_error_t inv_disable_gyro_tc(void);
inv_error_t inv_start_gyro_tc(void);
inv_error_t inv_stop_gyro_tc(void);

inv_error_t inv_get_gyro_ts(long *data);
inv_error_t inv_set_gyro_ts(long *data);

inv_error_t inv_init_gyro_ts(void);

inv_error_t inv_set_gtc_max_temp(long data);
inv_error_t inv_set_gtc_min_temp(long data);

inv_error_t inv_print_gtc_data(void);

#ifdef __cplusplus
}
#endif

#endif  /* _GYRO_TC_H */