summaryrefslogtreecommitdiff
path: root/libsensors_iio/software/core/mpl/progressive_no_motion.h
blob: 99333e3b8e57c3534f5678549477bdff09a844b4 (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
/*
 $License:
    Copyright (C) 2011 InvenSense Corporation, All Rights Reserved.
 $
 */

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

#ifndef MLDMP_PROG_NO_MOTION_H__
#define MLDMP_PROG_NO_MOTION_H__

#include "mltypes.h"

#define PROG_NO_MOTION  1
#define PROG_MOTION     2

#ifdef __cplusplus
extern "C" {
#endif

/* APIs */
inv_error_t inv_enable_prog_no_motion(void);
inv_error_t inv_disable_prog_no_motion(void);

/* internal use */
int inv_get_prog_no_motion_enabled(void);
void inv_get_prog_no_motion_bias_changed(void);
int inv_get_prog_no_motion_state(void);

#ifdef __cplusplus
}
#endif


#endif // MLDMP_PROG_NO_MOTION_H__