summaryrefslogtreecommitdiff
path: root/peripheral/libupm/src/bmx055/pyupm_bmx055.i
blob: 8250a66e49bd0afebfeeda3e8697cba420c4f12c (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
44
45
46
47
// Include doxygen-generated documentation
%include "pyupm_doxy2swig.i"
%module pyupm_bmx055
%include "../upm.i"
%include "cpointer.i"

%include "stdint.i"

/* Send "int *" and "float *" to python as intp and floatp */
%pointer_functions(int, intp);
%pointer_functions(float, floatp);

%feature("autodoc", "3");

#ifdef DOXYGEN
%include "bmx055_doc.i"
#endif

%include "bma250e.hpp"
%{
    #include "bma250e.hpp"
%}

%include "bmg160.hpp"
%{
    #include "bmg160.hpp"
%}

%include "bmm150.hpp"
%{
    #include "bmm150.hpp"
%}

%include "bmx055.hpp"
%{
    #include "bmx055.hpp"
%}

%include "bmc150.hpp"
%{
    #include "bmc150.hpp"
%}

%include "bmi055.hpp"
%{
    #include "bmi055.hpp"
%}