# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (2, 6, 0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_pyupm_bmg160', [dirname(__file__)])
except ImportError:
import _pyupm_bmg160
return _pyupm_bmg160
if fp is not None:
try:
_mod = imp.load_module('_pyupm_bmg160', fp, pathname, description)
finally:
fp.close()
return _mod
_pyupm_bmg160 = swig_import_helper()
del swig_import_helper
else:
import _pyupm_bmg160
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
if (name == "thisown"):
return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name, None)
if method:
return method(self, value)
if (not static):
if _newclass:
object.__setattr__(self, name, value)
else:
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self, class_type, name, value):
return _swig_setattr_nondynamic(self, class_type, name, value, 0)
def _swig_getattr_nondynamic(self, class_type, name, static=1):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
if (not static):
return object.__getattr__(self, name)
else:
raise AttributeError(name)
def _swig_getattr(self, class_type, name):
return _swig_getattr_nondynamic(self, class_type, name, 0)
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object:
pass
_newclass = 0
def getVersion():
return _pyupm_bmg160.getVersion()
getVersion = _pyupm_bmg160.getVersion
[docs]class SwigPyIterator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _pyupm_bmg160.delete_SwigPyIterator
__del__ = lambda self: None
[docs] def value(self):
return _pyupm_bmg160.SwigPyIterator_value(self)
[docs] def incr(self, n=1):
return _pyupm_bmg160.SwigPyIterator_incr(self, n)
[docs] def decr(self, n=1):
return _pyupm_bmg160.SwigPyIterator_decr(self, n)
[docs] def distance(self, x):
return _pyupm_bmg160.SwigPyIterator_distance(self, x)
[docs] def equal(self, x):
return _pyupm_bmg160.SwigPyIterator_equal(self, x)
[docs] def copy(self):
return _pyupm_bmg160.SwigPyIterator_copy(self)
[docs] def next(self):
return _pyupm_bmg160.SwigPyIterator_next(self)
def __next__(self):
return _pyupm_bmg160.SwigPyIterator___next__(self)
[docs] def previous(self):
return _pyupm_bmg160.SwigPyIterator_previous(self)
[docs] def advance(self, n):
return _pyupm_bmg160.SwigPyIterator_advance(self, n)
def __eq__(self, x):
return _pyupm_bmg160.SwigPyIterator___eq__(self, x)
def __ne__(self, x):
return _pyupm_bmg160.SwigPyIterator___ne__(self, x)
def __iadd__(self, n):
return _pyupm_bmg160.SwigPyIterator___iadd__(self, n)
def __isub__(self, n):
return _pyupm_bmg160.SwigPyIterator___isub__(self, n)
def __add__(self, n):
return _pyupm_bmg160.SwigPyIterator___add__(self, n)
def __sub__(self, *args):
return _pyupm_bmg160.SwigPyIterator___sub__(self, *args)
def __iter__(self):
return self
SwigPyIterator_swigregister = _pyupm_bmg160.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
[docs]class intVector(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, intVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, intVector, name)
__repr__ = _swig_repr
[docs] def iterator(self):
return _pyupm_bmg160.intVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _pyupm_bmg160.intVector___nonzero__(self)
def __bool__(self):
return _pyupm_bmg160.intVector___bool__(self)
def __len__(self):
return _pyupm_bmg160.intVector___len__(self)
def __getslice__(self, i, j):
return _pyupm_bmg160.intVector___getslice__(self, i, j)
def __setslice__(self, *args):
return _pyupm_bmg160.intVector___setslice__(self, *args)
def __delslice__(self, i, j):
return _pyupm_bmg160.intVector___delslice__(self, i, j)
def __delitem__(self, *args):
return _pyupm_bmg160.intVector___delitem__(self, *args)
def __getitem__(self, *args):
return _pyupm_bmg160.intVector___getitem__(self, *args)
def __setitem__(self, *args):
return _pyupm_bmg160.intVector___setitem__(self, *args)
[docs] def pop(self):
return _pyupm_bmg160.intVector_pop(self)
[docs] def append(self, x):
return _pyupm_bmg160.intVector_append(self, x)
[docs] def empty(self):
return _pyupm_bmg160.intVector_empty(self)
[docs] def size(self):
return _pyupm_bmg160.intVector_size(self)
[docs] def swap(self, v):
return _pyupm_bmg160.intVector_swap(self, v)
[docs] def begin(self):
return _pyupm_bmg160.intVector_begin(self)
[docs] def end(self):
return _pyupm_bmg160.intVector_end(self)
[docs] def rbegin(self):
return _pyupm_bmg160.intVector_rbegin(self)
[docs] def rend(self):
return _pyupm_bmg160.intVector_rend(self)
[docs] def clear(self):
return _pyupm_bmg160.intVector_clear(self)
[docs] def get_allocator(self):
return _pyupm_bmg160.intVector_get_allocator(self)
[docs] def pop_back(self):
return _pyupm_bmg160.intVector_pop_back(self)
[docs] def erase(self, *args):
return _pyupm_bmg160.intVector_erase(self, *args)
def __init__(self, *args):
this = _pyupm_bmg160.new_intVector(*args)
try:
self.this.append(this)
except Exception:
self.this = this
[docs] def push_back(self, x):
return _pyupm_bmg160.intVector_push_back(self, x)
[docs] def front(self):
return _pyupm_bmg160.intVector_front(self)
[docs] def back(self):
return _pyupm_bmg160.intVector_back(self)
[docs] def assign(self, n, x):
return _pyupm_bmg160.intVector_assign(self, n, x)
[docs] def resize(self, *args):
return _pyupm_bmg160.intVector_resize(self, *args)
[docs] def insert(self, *args):
return _pyupm_bmg160.intVector_insert(self, *args)
[docs] def reserve(self, n):
return _pyupm_bmg160.intVector_reserve(self, n)
[docs] def capacity(self):
return _pyupm_bmg160.intVector_capacity(self)
__swig_destroy__ = _pyupm_bmg160.delete_intVector
__del__ = lambda self: None
intVector_swigregister = _pyupm_bmg160.intVector_swigregister
intVector_swigregister(intVector)
[docs]class int16Vector(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, int16Vector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, int16Vector, name)
__repr__ = _swig_repr
[docs] def iterator(self):
return _pyupm_bmg160.int16Vector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _pyupm_bmg160.int16Vector___nonzero__(self)
def __bool__(self):
return _pyupm_bmg160.int16Vector___bool__(self)
def __len__(self):
return _pyupm_bmg160.int16Vector___len__(self)
def __getslice__(self, i, j):
return _pyupm_bmg160.int16Vector___getslice__(self, i, j)
def __setslice__(self, *args):
return _pyupm_bmg160.int16Vector___setslice__(self, *args)
def __delslice__(self, i, j):
return _pyupm_bmg160.int16Vector___delslice__(self, i, j)
def __delitem__(self, *args):
return _pyupm_bmg160.int16Vector___delitem__(self, *args)
def __getitem__(self, *args):
return _pyupm_bmg160.int16Vector___getitem__(self, *args)
def __setitem__(self, *args):
return _pyupm_bmg160.int16Vector___setitem__(self, *args)
[docs] def pop(self):
return _pyupm_bmg160.int16Vector_pop(self)
[docs] def append(self, x):
return _pyupm_bmg160.int16Vector_append(self, x)
[docs] def empty(self):
return _pyupm_bmg160.int16Vector_empty(self)
[docs] def size(self):
return _pyupm_bmg160.int16Vector_size(self)
[docs] def swap(self, v):
return _pyupm_bmg160.int16Vector_swap(self, v)
[docs] def begin(self):
return _pyupm_bmg160.int16Vector_begin(self)
[docs] def end(self):
return _pyupm_bmg160.int16Vector_end(self)
[docs] def rbegin(self):
return _pyupm_bmg160.int16Vector_rbegin(self)
[docs] def rend(self):
return _pyupm_bmg160.int16Vector_rend(self)
[docs] def clear(self):
return _pyupm_bmg160.int16Vector_clear(self)
[docs] def get_allocator(self):
return _pyupm_bmg160.int16Vector_get_allocator(self)
[docs] def pop_back(self):
return _pyupm_bmg160.int16Vector_pop_back(self)
[docs] def erase(self, *args):
return _pyupm_bmg160.int16Vector_erase(self, *args)
def __init__(self, *args):
this = _pyupm_bmg160.new_int16Vector(*args)
try:
self.this.append(this)
except Exception:
self.this = this
[docs] def push_back(self, x):
return _pyupm_bmg160.int16Vector_push_back(self, x)
[docs] def front(self):
return _pyupm_bmg160.int16Vector_front(self)
[docs] def back(self):
return _pyupm_bmg160.int16Vector_back(self)
[docs] def assign(self, n, x):
return _pyupm_bmg160.int16Vector_assign(self, n, x)
[docs] def resize(self, *args):
return _pyupm_bmg160.int16Vector_resize(self, *args)
[docs] def insert(self, *args):
return _pyupm_bmg160.int16Vector_insert(self, *args)
[docs] def reserve(self, n):
return _pyupm_bmg160.int16Vector_reserve(self, n)
[docs] def capacity(self):
return _pyupm_bmg160.int16Vector_capacity(self)
__swig_destroy__ = _pyupm_bmg160.delete_int16Vector
__del__ = lambda self: None
int16Vector_swigregister = _pyupm_bmg160.int16Vector_swigregister
int16Vector_swigregister(int16Vector)
[docs]class floatVector(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, floatVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, floatVector, name)
__repr__ = _swig_repr
[docs] def iterator(self):
return _pyupm_bmg160.floatVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _pyupm_bmg160.floatVector___nonzero__(self)
def __bool__(self):
return _pyupm_bmg160.floatVector___bool__(self)
def __len__(self):
return _pyupm_bmg160.floatVector___len__(self)
def __getslice__(self, i, j):
return _pyupm_bmg160.floatVector___getslice__(self, i, j)
def __setslice__(self, *args):
return _pyupm_bmg160.floatVector___setslice__(self, *args)
def __delslice__(self, i, j):
return _pyupm_bmg160.floatVector___delslice__(self, i, j)
def __delitem__(self, *args):
return _pyupm_bmg160.floatVector___delitem__(self, *args)
def __getitem__(self, *args):
return _pyupm_bmg160.floatVector___getitem__(self, *args)
def __setitem__(self, *args):
return _pyupm_bmg160.floatVector___setitem__(self, *args)
[docs] def pop(self):
return _pyupm_bmg160.floatVector_pop(self)
[docs] def append(self, x):
return _pyupm_bmg160.floatVector_append(self, x)
[docs] def empty(self):
return _pyupm_bmg160.floatVector_empty(self)
[docs] def size(self):
return _pyupm_bmg160.floatVector_size(self)
[docs] def swap(self, v):
return _pyupm_bmg160.floatVector_swap(self, v)
[docs] def begin(self):
return _pyupm_bmg160.floatVector_begin(self)
[docs] def end(self):
return _pyupm_bmg160.floatVector_end(self)
[docs] def rbegin(self):
return _pyupm_bmg160.floatVector_rbegin(self)
[docs] def rend(self):
return _pyupm_bmg160.floatVector_rend(self)
[docs] def clear(self):
return _pyupm_bmg160.floatVector_clear(self)
[docs] def get_allocator(self):
return _pyupm_bmg160.floatVector_get_allocator(self)
[docs] def pop_back(self):
return _pyupm_bmg160.floatVector_pop_back(self)
[docs] def erase(self, *args):
return _pyupm_bmg160.floatVector_erase(self, *args)
def __init__(self, *args):
this = _pyupm_bmg160.new_floatVector(*args)
try:
self.this.append(this)
except Exception:
self.this = this
[docs] def push_back(self, x):
return _pyupm_bmg160.floatVector_push_back(self, x)
[docs] def front(self):
return _pyupm_bmg160.floatVector_front(self)
[docs] def back(self):
return _pyupm_bmg160.floatVector_back(self)
[docs] def assign(self, n, x):
return _pyupm_bmg160.floatVector_assign(self, n, x)
[docs] def resize(self, *args):
return _pyupm_bmg160.floatVector_resize(self, *args)
[docs] def insert(self, *args):
return _pyupm_bmg160.floatVector_insert(self, *args)
[docs] def reserve(self, n):
return _pyupm_bmg160.floatVector_reserve(self, n)
[docs] def capacity(self):
return _pyupm_bmg160.floatVector_capacity(self)
__swig_destroy__ = _pyupm_bmg160.delete_floatVector
__del__ = lambda self: None
floatVector_swigregister = _pyupm_bmg160.floatVector_swigregister
floatVector_swigregister(floatVector)
[docs]class doubleVector(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, doubleVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, doubleVector, name)
__repr__ = _swig_repr
[docs] def iterator(self):
return _pyupm_bmg160.doubleVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _pyupm_bmg160.doubleVector___nonzero__(self)
def __bool__(self):
return _pyupm_bmg160.doubleVector___bool__(self)
def __len__(self):
return _pyupm_bmg160.doubleVector___len__(self)
def __getslice__(self, i, j):
return _pyupm_bmg160.doubleVector___getslice__(self, i, j)
def __setslice__(self, *args):
return _pyupm_bmg160.doubleVector___setslice__(self, *args)
def __delslice__(self, i, j):
return _pyupm_bmg160.doubleVector___delslice__(self, i, j)
def __delitem__(self, *args):
return _pyupm_bmg160.doubleVector___delitem__(self, *args)
def __getitem__(self, *args):
return _pyupm_bmg160.doubleVector___getitem__(self, *args)
def __setitem__(self, *args):
return _pyupm_bmg160.doubleVector___setitem__(self, *args)
[docs] def pop(self):
return _pyupm_bmg160.doubleVector_pop(self)
[docs] def append(self, x):
return _pyupm_bmg160.doubleVector_append(self, x)
[docs] def empty(self):
return _pyupm_bmg160.doubleVector_empty(self)
[docs] def size(self):
return _pyupm_bmg160.doubleVector_size(self)
[docs] def swap(self, v):
return _pyupm_bmg160.doubleVector_swap(self, v)
[docs] def begin(self):
return _pyupm_bmg160.doubleVector_begin(self)
[docs] def end(self):
return _pyupm_bmg160.doubleVector_end(self)
[docs] def rbegin(self):
return _pyupm_bmg160.doubleVector_rbegin(self)
[docs] def rend(self):
return _pyupm_bmg160.doubleVector_rend(self)
[docs] def clear(self):
return _pyupm_bmg160.doubleVector_clear(self)
[docs] def get_allocator(self):
return _pyupm_bmg160.doubleVector_get_allocator(self)
[docs] def pop_back(self):
return _pyupm_bmg160.doubleVector_pop_back(self)
[docs] def erase(self, *args):
return _pyupm_bmg160.doubleVector_erase(self, *args)
def __init__(self, *args):
this = _pyupm_bmg160.new_doubleVector(*args)
try:
self.this.append(this)
except Exception:
self.this = this
[docs] def push_back(self, x):
return _pyupm_bmg160.doubleVector_push_back(self, x)
[docs] def front(self):
return _pyupm_bmg160.doubleVector_front(self)
[docs] def back(self):
return _pyupm_bmg160.doubleVector_back(self)
[docs] def assign(self, n, x):
return _pyupm_bmg160.doubleVector_assign(self, n, x)
[docs] def resize(self, *args):
return _pyupm_bmg160.doubleVector_resize(self, *args)
[docs] def insert(self, *args):
return _pyupm_bmg160.doubleVector_insert(self, *args)
[docs] def reserve(self, n):
return _pyupm_bmg160.doubleVector_reserve(self, n)
[docs] def capacity(self):
return _pyupm_bmg160.doubleVector_capacity(self)
__swig_destroy__ = _pyupm_bmg160.delete_doubleVector
__del__ = lambda self: None
doubleVector_swigregister = _pyupm_bmg160.doubleVector_swigregister
doubleVector_swigregister(doubleVector)
[docs]class byteVector(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, byteVector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, byteVector, name)
__repr__ = _swig_repr
[docs] def iterator(self):
return _pyupm_bmg160.byteVector_iterator(self)
def __iter__(self):
return self.iterator()
def __nonzero__(self):
return _pyupm_bmg160.byteVector___nonzero__(self)
def __bool__(self):
return _pyupm_bmg160.byteVector___bool__(self)
def __len__(self):
return _pyupm_bmg160.byteVector___len__(self)
def __getslice__(self, i, j):
return _pyupm_bmg160.byteVector___getslice__(self, i, j)
def __setslice__(self, *args):
return _pyupm_bmg160.byteVector___setslice__(self, *args)
def __delslice__(self, i, j):
return _pyupm_bmg160.byteVector___delslice__(self, i, j)
def __delitem__(self, *args):
return _pyupm_bmg160.byteVector___delitem__(self, *args)
def __getitem__(self, *args):
return _pyupm_bmg160.byteVector___getitem__(self, *args)
def __setitem__(self, *args):
return _pyupm_bmg160.byteVector___setitem__(self, *args)
[docs] def pop(self):
return _pyupm_bmg160.byteVector_pop(self)
[docs] def append(self, x):
return _pyupm_bmg160.byteVector_append(self, x)
[docs] def empty(self):
return _pyupm_bmg160.byteVector_empty(self)
[docs] def size(self):
return _pyupm_bmg160.byteVector_size(self)
[docs] def swap(self, v):
return _pyupm_bmg160.byteVector_swap(self, v)
[docs] def begin(self):
return _pyupm_bmg160.byteVector_begin(self)
[docs] def end(self):
return _pyupm_bmg160.byteVector_end(self)
[docs] def rbegin(self):
return _pyupm_bmg160.byteVector_rbegin(self)
[docs] def rend(self):
return _pyupm_bmg160.byteVector_rend(self)
[docs] def clear(self):
return _pyupm_bmg160.byteVector_clear(self)
[docs] def get_allocator(self):
return _pyupm_bmg160.byteVector_get_allocator(self)
[docs] def pop_back(self):
return _pyupm_bmg160.byteVector_pop_back(self)
[docs] def erase(self, *args):
return _pyupm_bmg160.byteVector_erase(self, *args)
def __init__(self, *args):
this = _pyupm_bmg160.new_byteVector(*args)
try:
self.this.append(this)
except Exception:
self.this = this
[docs] def push_back(self, x):
return _pyupm_bmg160.byteVector_push_back(self, x)
[docs] def front(self):
return _pyupm_bmg160.byteVector_front(self)
[docs] def back(self):
return _pyupm_bmg160.byteVector_back(self)
[docs] def assign(self, n, x):
return _pyupm_bmg160.byteVector_assign(self, n, x)
[docs] def resize(self, *args):
return _pyupm_bmg160.byteVector_resize(self, *args)
[docs] def insert(self, *args):
return _pyupm_bmg160.byteVector_insert(self, *args)
[docs] def reserve(self, n):
return _pyupm_bmg160.byteVector_reserve(self, n)
[docs] def capacity(self):
return _pyupm_bmg160.byteVector_capacity(self)
__swig_destroy__ = _pyupm_bmg160.delete_byteVector
__del__ = lambda self: None
byteVector_swigregister = _pyupm_bmg160.byteVector_swigregister
byteVector_swigregister(byteVector)
def new_intp():
return _pyupm_bmg160.new_intp()
new_intp = _pyupm_bmg160.new_intp
def copy_intp(value):
return _pyupm_bmg160.copy_intp(value)
copy_intp = _pyupm_bmg160.copy_intp
def delete_intp(obj):
return _pyupm_bmg160.delete_intp(obj)
delete_intp = _pyupm_bmg160.delete_intp
def intp_assign(obj, value):
return _pyupm_bmg160.intp_assign(obj, value)
intp_assign = _pyupm_bmg160.intp_assign
def intp_value(obj):
return _pyupm_bmg160.intp_value(obj)
intp_value = _pyupm_bmg160.intp_value
def new_floatp():
return _pyupm_bmg160.new_floatp()
new_floatp = _pyupm_bmg160.new_floatp
def copy_floatp(value):
return _pyupm_bmg160.copy_floatp(value)
copy_floatp = _pyupm_bmg160.copy_floatp
def delete_floatp(obj):
return _pyupm_bmg160.delete_floatp(obj)
delete_floatp = _pyupm_bmg160.delete_floatp
def floatp_assign(obj, value):
return _pyupm_bmg160.floatp_assign(obj, value)
floatp_assign = _pyupm_bmg160.floatp_assign
def floatp_value(obj):
return _pyupm_bmg160.floatp_value(obj)
floatp_value = _pyupm_bmg160.floatp_value
_pyupm_bmg160.BMG160_DEFAULT_I2C_BUS_swigconstant(_pyupm_bmg160)
BMG160_DEFAULT_I2C_BUS = _pyupm_bmg160.BMG160_DEFAULT_I2C_BUS
_pyupm_bmg160.BMG160_DEFAULT_SPI_BUS_swigconstant(_pyupm_bmg160)
BMG160_DEFAULT_SPI_BUS = _pyupm_bmg160.BMG160_DEFAULT_SPI_BUS
_pyupm_bmg160.BMG160_DEFAULT_ADDR_swigconstant(_pyupm_bmg160)
BMG160_DEFAULT_ADDR = _pyupm_bmg160.BMG160_DEFAULT_ADDR
_pyupm_bmg160.BMG160_RESET_BYTE_swigconstant(_pyupm_bmg160)
BMG160_RESET_BYTE = _pyupm_bmg160.BMG160_RESET_BYTE
_pyupm_bmg160.BMG160_CHIPID_swigconstant(_pyupm_bmg160)
BMG160_CHIPID = _pyupm_bmg160.BMG160_CHIPID
_pyupm_bmg160.BMG160_REG_CHIP_ID_swigconstant(_pyupm_bmg160)
BMG160_REG_CHIP_ID = _pyupm_bmg160.BMG160_REG_CHIP_ID
_pyupm_bmg160.BMG160_REG_RATE_X_LSB_swigconstant(_pyupm_bmg160)
BMG160_REG_RATE_X_LSB = _pyupm_bmg160.BMG160_REG_RATE_X_LSB
_pyupm_bmg160.BMG160_REG_RATE_X_MSB_swigconstant(_pyupm_bmg160)
BMG160_REG_RATE_X_MSB = _pyupm_bmg160.BMG160_REG_RATE_X_MSB
_pyupm_bmg160.BMG160_REG_RATE_Y_LSB_swigconstant(_pyupm_bmg160)
BMG160_REG_RATE_Y_LSB = _pyupm_bmg160.BMG160_REG_RATE_Y_LSB
_pyupm_bmg160.BMG160_REG_RATE_Y_MSB_swigconstant(_pyupm_bmg160)
BMG160_REG_RATE_Y_MSB = _pyupm_bmg160.BMG160_REG_RATE_Y_MSB
_pyupm_bmg160.BMG160_REG_RATE_Z_LSB_swigconstant(_pyupm_bmg160)
BMG160_REG_RATE_Z_LSB = _pyupm_bmg160.BMG160_REG_RATE_Z_LSB
_pyupm_bmg160.BMG160_REG_RATE_Z_MSB_swigconstant(_pyupm_bmg160)
BMG160_REG_RATE_Z_MSB = _pyupm_bmg160.BMG160_REG_RATE_Z_MSB
_pyupm_bmg160.BMG160_REG_TEMP_swigconstant(_pyupm_bmg160)
BMG160_REG_TEMP = _pyupm_bmg160.BMG160_REG_TEMP
_pyupm_bmg160.BMG160_REG_INT_STATUS_0_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_STATUS_0 = _pyupm_bmg160.BMG160_REG_INT_STATUS_0
_pyupm_bmg160.BMG160_REG_INT_STATUS_1_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_STATUS_1 = _pyupm_bmg160.BMG160_REG_INT_STATUS_1
_pyupm_bmg160.BMG160_REG_INT_STATUS_2_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_STATUS_2 = _pyupm_bmg160.BMG160_REG_INT_STATUS_2
_pyupm_bmg160.BMG160_REG_INT_STATUS_3_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_STATUS_3 = _pyupm_bmg160.BMG160_REG_INT_STATUS_3
_pyupm_bmg160.BMG160_REG_FIFO_STATUS_swigconstant(_pyupm_bmg160)
BMG160_REG_FIFO_STATUS = _pyupm_bmg160.BMG160_REG_FIFO_STATUS
_pyupm_bmg160.BMG160_REG_GYR_RANGE_swigconstant(_pyupm_bmg160)
BMG160_REG_GYR_RANGE = _pyupm_bmg160.BMG160_REG_GYR_RANGE
_pyupm_bmg160.BMG160_REG_GYR_BW_swigconstant(_pyupm_bmg160)
BMG160_REG_GYR_BW = _pyupm_bmg160.BMG160_REG_GYR_BW
_pyupm_bmg160.BMG160_REG_LPM1_swigconstant(_pyupm_bmg160)
BMG160_REG_LPM1 = _pyupm_bmg160.BMG160_REG_LPM1
_pyupm_bmg160.BMG160_REG_LPM2_swigconstant(_pyupm_bmg160)
BMG160_REG_LPM2 = _pyupm_bmg160.BMG160_REG_LPM2
_pyupm_bmg160.BMG160_REG_RATE_HBW_swigconstant(_pyupm_bmg160)
BMG160_REG_RATE_HBW = _pyupm_bmg160.BMG160_REG_RATE_HBW
_pyupm_bmg160.BMG160_REG_SOFTRESET_swigconstant(_pyupm_bmg160)
BMG160_REG_SOFTRESET = _pyupm_bmg160.BMG160_REG_SOFTRESET
_pyupm_bmg160.BMG160_REG_INT_EN_0_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_EN_0 = _pyupm_bmg160.BMG160_REG_INT_EN_0
_pyupm_bmg160.BMG160_REG_INT_EN_1_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_EN_1 = _pyupm_bmg160.BMG160_REG_INT_EN_1
_pyupm_bmg160.BMG160_REG_INT_MAP_0_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_MAP_0 = _pyupm_bmg160.BMG160_REG_INT_MAP_0
_pyupm_bmg160.BMG160_REG_INT_MAP_1_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_MAP_1 = _pyupm_bmg160.BMG160_REG_INT_MAP_1
_pyupm_bmg160.BMG160_REG_INT_MAP_2_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_MAP_2 = _pyupm_bmg160.BMG160_REG_INT_MAP_2
_pyupm_bmg160.BMG160_REG_INT_1A_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_1A = _pyupm_bmg160.BMG160_REG_INT_1A
_pyupm_bmg160.BMG160_REG_INT_1B_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_1B = _pyupm_bmg160.BMG160_REG_INT_1B
_pyupm_bmg160.BMG160_REG_INT_1C_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_1C = _pyupm_bmg160.BMG160_REG_INT_1C
_pyupm_bmg160.BMG160_REG_INT_1E_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_1E = _pyupm_bmg160.BMG160_REG_INT_1E
_pyupm_bmg160.BMG160_REG_INT_RST_LATCH_swigconstant(_pyupm_bmg160)
BMG160_REG_INT_RST_LATCH = _pyupm_bmg160.BMG160_REG_INT_RST_LATCH
_pyupm_bmg160.BMG160_REG_HIGH_TH_X_swigconstant(_pyupm_bmg160)
BMG160_REG_HIGH_TH_X = _pyupm_bmg160.BMG160_REG_HIGH_TH_X
_pyupm_bmg160.BMG160_REG_HIGH_DUR_X_swigconstant(_pyupm_bmg160)
BMG160_REG_HIGH_DUR_X = _pyupm_bmg160.BMG160_REG_HIGH_DUR_X
_pyupm_bmg160.BMG160_REG_HIGH_TH_Y_swigconstant(_pyupm_bmg160)
BMG160_REG_HIGH_TH_Y = _pyupm_bmg160.BMG160_REG_HIGH_TH_Y
_pyupm_bmg160.BMG160_REG_HIGH_DUR_Y_swigconstant(_pyupm_bmg160)
BMG160_REG_HIGH_DUR_Y = _pyupm_bmg160.BMG160_REG_HIGH_DUR_Y
_pyupm_bmg160.BMG160_REG_HIGH_TH_Z_swigconstant(_pyupm_bmg160)
BMG160_REG_HIGH_TH_Z = _pyupm_bmg160.BMG160_REG_HIGH_TH_Z
_pyupm_bmg160.BMG160_REG_HIGH_DUR_Z_swigconstant(_pyupm_bmg160)
BMG160_REG_HIGH_DUR_Z = _pyupm_bmg160.BMG160_REG_HIGH_DUR_Z
_pyupm_bmg160.BMG160_REG_SOC_swigconstant(_pyupm_bmg160)
BMG160_REG_SOC = _pyupm_bmg160.BMG160_REG_SOC
_pyupm_bmg160.BMG160_REG_A_FOC_swigconstant(_pyupm_bmg160)
BMG160_REG_A_FOC = _pyupm_bmg160.BMG160_REG_A_FOC
_pyupm_bmg160.BMG160_REG_TRIM_NVM_CTRL_swigconstant(_pyupm_bmg160)
BMG160_REG_TRIM_NVM_CTRL = _pyupm_bmg160.BMG160_REG_TRIM_NVM_CTRL
_pyupm_bmg160.BMG160_REG_SPI3_WDT_swigconstant(_pyupm_bmg160)
BMG160_REG_SPI3_WDT = _pyupm_bmg160.BMG160_REG_SPI3_WDT
_pyupm_bmg160.BMG160_REG_OFC1_swigconstant(_pyupm_bmg160)
BMG160_REG_OFC1 = _pyupm_bmg160.BMG160_REG_OFC1
_pyupm_bmg160.BMG160_REG_OFC2_swigconstant(_pyupm_bmg160)
BMG160_REG_OFC2 = _pyupm_bmg160.BMG160_REG_OFC2
_pyupm_bmg160.BMG160_REG_OFC3_swigconstant(_pyupm_bmg160)
BMG160_REG_OFC3 = _pyupm_bmg160.BMG160_REG_OFC3
_pyupm_bmg160.BMG160_REG_OFC4_swigconstant(_pyupm_bmg160)
BMG160_REG_OFC4 = _pyupm_bmg160.BMG160_REG_OFC4
_pyupm_bmg160.BMG160_REG_TRIM_GP0_swigconstant(_pyupm_bmg160)
BMG160_REG_TRIM_GP0 = _pyupm_bmg160.BMG160_REG_TRIM_GP0
_pyupm_bmg160.BMG160_REG_TRIM_GP1_swigconstant(_pyupm_bmg160)
BMG160_REG_TRIM_GP1 = _pyupm_bmg160.BMG160_REG_TRIM_GP1
_pyupm_bmg160.BMG160_REG_BIST_swigconstant(_pyupm_bmg160)
BMG160_REG_BIST = _pyupm_bmg160.BMG160_REG_BIST
_pyupm_bmg160.BMG160_REG_FIFO_CONFIG_0_swigconstant(_pyupm_bmg160)
BMG160_REG_FIFO_CONFIG_0 = _pyupm_bmg160.BMG160_REG_FIFO_CONFIG_0
_pyupm_bmg160.BMG160_REG_FIFO_CONFIG_1_swigconstant(_pyupm_bmg160)
BMG160_REG_FIFO_CONFIG_1 = _pyupm_bmg160.BMG160_REG_FIFO_CONFIG_1
_pyupm_bmg160.BMG160_REG_FIFO_DATA_swigconstant(_pyupm_bmg160)
BMG160_REG_FIFO_DATA = _pyupm_bmg160.BMG160_REG_FIFO_DATA
_pyupm_bmg160._BMG160_INT_STATUS_0_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_STATUS_0_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_STATUS_0_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_STATUS_0_HIGH_INT_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_0_HIGH_INT = _pyupm_bmg160.BMG160_INT_STATUS_0_HIGH_INT
_pyupm_bmg160.BMG160_INT_STATUS_0_ANY_INT_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_0_ANY_INT = _pyupm_bmg160.BMG160_INT_STATUS_0_ANY_INT
_pyupm_bmg160._BMG160_INT_STATUS_1_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_STATUS_1_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_STATUS_1_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_STATUS_1_FIFO_INT_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_1_FIFO_INT = _pyupm_bmg160.BMG160_INT_STATUS_1_FIFO_INT
_pyupm_bmg160.BMG160_INT_STATUS_1_FAST_OFFSET_INT_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_1_FAST_OFFSET_INT = _pyupm_bmg160.BMG160_INT_STATUS_1_FAST_OFFSET_INT
_pyupm_bmg160.BMG160_INT_STATUS_1_AUTO_OFFSET_INT_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_1_AUTO_OFFSET_INT = _pyupm_bmg160.BMG160_INT_STATUS_1_AUTO_OFFSET_INT
_pyupm_bmg160.BMG160_INT_STATUS_1_DATA_INT_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_1_DATA_INT = _pyupm_bmg160.BMG160_INT_STATUS_1_DATA_INT
_pyupm_bmg160._BMG160_INT_STATUS_2_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_STATUS_2_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_STATUS_2_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_STATUS_2_ANY_FIRST_X_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_2_ANY_FIRST_X = _pyupm_bmg160.BMG160_INT_STATUS_2_ANY_FIRST_X
_pyupm_bmg160.BMG160_INT_STATUS_2_ANY_FIRST_Y_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_2_ANY_FIRST_Y = _pyupm_bmg160.BMG160_INT_STATUS_2_ANY_FIRST_Y
_pyupm_bmg160.BMG160_INT_STATUS_2_ANY_FIRST_Z_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_2_ANY_FIRST_Z = _pyupm_bmg160.BMG160_INT_STATUS_2_ANY_FIRST_Z
_pyupm_bmg160.BMG160_INT_STATUS_2_ANY_SIGN_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_2_ANY_SIGN = _pyupm_bmg160.BMG160_INT_STATUS_2_ANY_SIGN
_pyupm_bmg160._BMG160_INT_STATUS_3_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_STATUS_3_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_STATUS_3_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_FIRST_X_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_3_HIGH_FIRST_X = _pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_FIRST_X
_pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_FIRST_Y_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_3_HIGH_FIRST_Y = _pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_FIRST_Y
_pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_FIRST_Z_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_3_HIGH_FIRST_Z = _pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_FIRST_Z
_pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_SIGN_swigconstant(_pyupm_bmg160)
BMG160_INT_STATUS_3_HIGH_SIGN = _pyupm_bmg160.BMG160_INT_STATUS_3_HIGH_SIGN
_pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER0_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FRAME_COUNTER0 = _pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER0
_pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER1_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FRAME_COUNTER1 = _pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER1
_pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER2_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FRAME_COUNTER2 = _pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER2
_pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER3_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FRAME_COUNTER3 = _pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER3
_pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER4_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FRAME_COUNTER4 = _pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER4
_pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER5_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FRAME_COUNTER5 = _pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER5
_pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER6_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FRAME_COUNTER6 = _pyupm_bmg160.BMG160_FIFO_STATUS_FRAME_COUNTER6
_pyupm_bmg160._BMG160_FIFO_STATUS_FRAME_COUNTER_MASK_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_STATUS_FRAME_COUNTER_MASK = _pyupm_bmg160._BMG160_FIFO_STATUS_FRAME_COUNTER_MASK
_pyupm_bmg160._BMG160_FIFO_STATUS_FRAME_COUNTER_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_STATUS_FRAME_COUNTER_SHIFT = _pyupm_bmg160._BMG160_FIFO_STATUS_FRAME_COUNTER_SHIFT
_pyupm_bmg160.BMG160_FIFO_STATUS_FIFO_OVERRUN_swigconstant(_pyupm_bmg160)
BMG160_FIFO_STATUS_FIFO_OVERRUN = _pyupm_bmg160.BMG160_FIFO_STATUS_FIFO_OVERRUN
_pyupm_bmg160._BMG160_GYR_RANGE_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_GYR_RANGE_RESERVED_BITS = _pyupm_bmg160._BMG160_GYR_RANGE_RESERVED_BITS
_pyupm_bmg160.BMG160_GYR_RANGE0_swigconstant(_pyupm_bmg160)
BMG160_GYR_RANGE0 = _pyupm_bmg160.BMG160_GYR_RANGE0
_pyupm_bmg160.BMG160_GYR_RANGE1_swigconstant(_pyupm_bmg160)
BMG160_GYR_RANGE1 = _pyupm_bmg160.BMG160_GYR_RANGE1
_pyupm_bmg160.BMG160_GYR_RANGE2_swigconstant(_pyupm_bmg160)
BMG160_GYR_RANGE2 = _pyupm_bmg160.BMG160_GYR_RANGE2
_pyupm_bmg160._BMG160_GYR_RANGE_MASK_swigconstant(_pyupm_bmg160)
_BMG160_GYR_RANGE_MASK = _pyupm_bmg160._BMG160_GYR_RANGE_MASK
_pyupm_bmg160._BMG160_GYR_RANGE_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_GYR_RANGE_SHIFT = _pyupm_bmg160._BMG160_GYR_RANGE_SHIFT
_pyupm_bmg160.BMG160_GYR_RANGE_FIXED0_swigconstant(_pyupm_bmg160)
BMG160_GYR_RANGE_FIXED0 = _pyupm_bmg160.BMG160_GYR_RANGE_FIXED0
_pyupm_bmg160.BMG160_GYR_RANGE_FIXED1_swigconstant(_pyupm_bmg160)
BMG160_GYR_RANGE_FIXED1 = _pyupm_bmg160.BMG160_GYR_RANGE_FIXED1
_pyupm_bmg160._BMG160_GYR_RANGE_FIXED_MASK_swigconstant(_pyupm_bmg160)
_BMG160_GYR_RANGE_FIXED_MASK = _pyupm_bmg160._BMG160_GYR_RANGE_FIXED_MASK
_pyupm_bmg160._BMG160_GYR_RANGE_FIXED_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_GYR_RANGE_FIXED_SHIFT = _pyupm_bmg160._BMG160_GYR_RANGE_FIXED_SHIFT
_pyupm_bmg160._BMG160_GYR_RANGE_FIXED_VALUE_swigconstant(_pyupm_bmg160)
_BMG160_GYR_RANGE_FIXED_VALUE = _pyupm_bmg160._BMG160_GYR_RANGE_FIXED_VALUE
_pyupm_bmg160.BMG160_RANGE_2000_swigconstant(_pyupm_bmg160)
BMG160_RANGE_2000 = _pyupm_bmg160.BMG160_RANGE_2000
_pyupm_bmg160.BMG160_RANGE_1000_swigconstant(_pyupm_bmg160)
BMG160_RANGE_1000 = _pyupm_bmg160.BMG160_RANGE_1000
_pyupm_bmg160.BMG160_RANGE_500_swigconstant(_pyupm_bmg160)
BMG160_RANGE_500 = _pyupm_bmg160.BMG160_RANGE_500
_pyupm_bmg160.BMG160_RANGE_250_swigconstant(_pyupm_bmg160)
BMG160_RANGE_250 = _pyupm_bmg160.BMG160_RANGE_250
_pyupm_bmg160.BMG160_RANGE_125_swigconstant(_pyupm_bmg160)
BMG160_RANGE_125 = _pyupm_bmg160.BMG160_RANGE_125
_pyupm_bmg160._BMG160_GYR_BW_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_GYR_BW_RESERVED_BITS = _pyupm_bmg160._BMG160_GYR_BW_RESERVED_BITS
_pyupm_bmg160.BMG160_GYR_BW0_swigconstant(_pyupm_bmg160)
BMG160_GYR_BW0 = _pyupm_bmg160.BMG160_GYR_BW0
_pyupm_bmg160.BMG160_GYR_BW1_swigconstant(_pyupm_bmg160)
BMG160_GYR_BW1 = _pyupm_bmg160.BMG160_GYR_BW1
_pyupm_bmg160.BMG160_GYR_BW2_swigconstant(_pyupm_bmg160)
BMG160_GYR_BW2 = _pyupm_bmg160.BMG160_GYR_BW2
_pyupm_bmg160.BMG160_GYR_BW3_swigconstant(_pyupm_bmg160)
BMG160_GYR_BW3 = _pyupm_bmg160.BMG160_GYR_BW3
_pyupm_bmg160._BMG160_GYR_BW_MASK_swigconstant(_pyupm_bmg160)
_BMG160_GYR_BW_MASK = _pyupm_bmg160._BMG160_GYR_BW_MASK
_pyupm_bmg160._BMG160_GYR_BW_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_GYR_BW_SHIFT = _pyupm_bmg160._BMG160_GYR_BW_SHIFT
_pyupm_bmg160.BMG160_BW_2000_UNFILTERED_swigconstant(_pyupm_bmg160)
BMG160_BW_2000_UNFILTERED = _pyupm_bmg160.BMG160_BW_2000_UNFILTERED
_pyupm_bmg160.BMG160_BW_2000_230_swigconstant(_pyupm_bmg160)
BMG160_BW_2000_230 = _pyupm_bmg160.BMG160_BW_2000_230
_pyupm_bmg160.BMG160_BW_1000_116_swigconstant(_pyupm_bmg160)
BMG160_BW_1000_116 = _pyupm_bmg160.BMG160_BW_1000_116
_pyupm_bmg160.BMG160_BW_400_47_swigconstant(_pyupm_bmg160)
BMG160_BW_400_47 = _pyupm_bmg160.BMG160_BW_400_47
_pyupm_bmg160.BMG160_BW_200_23_swigconstant(_pyupm_bmg160)
BMG160_BW_200_23 = _pyupm_bmg160.BMG160_BW_200_23
_pyupm_bmg160.BMG160_BW_100_12_swigconstant(_pyupm_bmg160)
BMG160_BW_100_12 = _pyupm_bmg160.BMG160_BW_100_12
_pyupm_bmg160.BMG160_BW_200_64_swigconstant(_pyupm_bmg160)
BMG160_BW_200_64 = _pyupm_bmg160.BMG160_BW_200_64
_pyupm_bmg160.BMG160_BW_100_32_swigconstant(_pyupm_bmg160)
BMG160_BW_100_32 = _pyupm_bmg160.BMG160_BW_100_32
_pyupm_bmg160._BMG160_LPM1_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_LPM1_RESERVED_BITS = _pyupm_bmg160._BMG160_LPM1_RESERVED_BITS
_pyupm_bmg160.BMG160_LPM1_SLEEP_DUR0_swigconstant(_pyupm_bmg160)
BMG160_LPM1_SLEEP_DUR0 = _pyupm_bmg160.BMG160_LPM1_SLEEP_DUR0
_pyupm_bmg160.BMG160_LPM1_SLEEP_DUR1_swigconstant(_pyupm_bmg160)
BMG160_LPM1_SLEEP_DUR1 = _pyupm_bmg160.BMG160_LPM1_SLEEP_DUR1
_pyupm_bmg160.BMG160_LPM1_SLEEP_DUR2_swigconstant(_pyupm_bmg160)
BMG160_LPM1_SLEEP_DUR2 = _pyupm_bmg160.BMG160_LPM1_SLEEP_DUR2
_pyupm_bmg160._BMG160_LPM1_SLEEP_MASK_swigconstant(_pyupm_bmg160)
_BMG160_LPM1_SLEEP_MASK = _pyupm_bmg160._BMG160_LPM1_SLEEP_MASK
_pyupm_bmg160._BMG160_LPM1_SLEEP_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_LPM1_SLEEP_SHIFT = _pyupm_bmg160._BMG160_LPM1_SLEEP_SHIFT
_pyupm_bmg160.BMG160_LPM1_POWER_MODE0_swigconstant(_pyupm_bmg160)
BMG160_LPM1_POWER_MODE0 = _pyupm_bmg160.BMG160_LPM1_POWER_MODE0
_pyupm_bmg160.BMG160_LPM1_POWER_MODE1_swigconstant(_pyupm_bmg160)
BMG160_LPM1_POWER_MODE1 = _pyupm_bmg160.BMG160_LPM1_POWER_MODE1
_pyupm_bmg160.BMG160_LPM1_POWER_MODE2_swigconstant(_pyupm_bmg160)
BMG160_LPM1_POWER_MODE2 = _pyupm_bmg160.BMG160_LPM1_POWER_MODE2
_pyupm_bmg160._BMG160_LPM1_POWER_MODE_MASK_swigconstant(_pyupm_bmg160)
_BMG160_LPM1_POWER_MODE_MASK = _pyupm_bmg160._BMG160_LPM1_POWER_MODE_MASK
_pyupm_bmg160._BMG160_LPM1_POWER_MODE_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_LPM1_POWER_MODE_SHIFT = _pyupm_bmg160._BMG160_LPM1_POWER_MODE_SHIFT
_pyupm_bmg160.BMG160_SLEEP_DUR_2_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_2 = _pyupm_bmg160.BMG160_SLEEP_DUR_2
_pyupm_bmg160.BMG160_SLEEP_DUR_4_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_4 = _pyupm_bmg160.BMG160_SLEEP_DUR_4
_pyupm_bmg160.BMG160_SLEEP_DUR_5_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_5 = _pyupm_bmg160.BMG160_SLEEP_DUR_5
_pyupm_bmg160.BMG160_SLEEP_DUR_8_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_8 = _pyupm_bmg160.BMG160_SLEEP_DUR_8
_pyupm_bmg160.BMG160_SLEEP_DUR_10_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_10 = _pyupm_bmg160.BMG160_SLEEP_DUR_10
_pyupm_bmg160.BMG160_SLEEP_DUR_15_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_15 = _pyupm_bmg160.BMG160_SLEEP_DUR_15
_pyupm_bmg160.BMG160_SLEEP_DUR_18_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_18 = _pyupm_bmg160.BMG160_SLEEP_DUR_18
_pyupm_bmg160.BMG160_SLEEP_DUR_20_swigconstant(_pyupm_bmg160)
BMG160_SLEEP_DUR_20 = _pyupm_bmg160.BMG160_SLEEP_DUR_20
_pyupm_bmg160.BMG160_POWER_MODE_NORMAL_swigconstant(_pyupm_bmg160)
BMG160_POWER_MODE_NORMAL = _pyupm_bmg160.BMG160_POWER_MODE_NORMAL
_pyupm_bmg160.BMG160_POWER_MODE_DEEP_SUSPEND_swigconstant(_pyupm_bmg160)
BMG160_POWER_MODE_DEEP_SUSPEND = _pyupm_bmg160.BMG160_POWER_MODE_DEEP_SUSPEND
_pyupm_bmg160.BMG160_POWER_MODE_SUSPEND_swigconstant(_pyupm_bmg160)
BMG160_POWER_MODE_SUSPEND = _pyupm_bmg160.BMG160_POWER_MODE_SUSPEND
_pyupm_bmg160._BMG160_LPM2_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_LPM2_RESERVED_BITS = _pyupm_bmg160._BMG160_LPM2_RESERVED_BITS
_pyupm_bmg160.BMG160_LPM2_AUTOSLEEP_DUR0_swigconstant(_pyupm_bmg160)
BMG160_LPM2_AUTOSLEEP_DUR0 = _pyupm_bmg160.BMG160_LPM2_AUTOSLEEP_DUR0
_pyupm_bmg160.BMG160_LPM2_AUTOSLEEP_DUR1_swigconstant(_pyupm_bmg160)
BMG160_LPM2_AUTOSLEEP_DUR1 = _pyupm_bmg160.BMG160_LPM2_AUTOSLEEP_DUR1
_pyupm_bmg160.BMG160_LPM2_AUTOSLEEP_DUR2_swigconstant(_pyupm_bmg160)
BMG160_LPM2_AUTOSLEEP_DUR2 = _pyupm_bmg160.BMG160_LPM2_AUTOSLEEP_DUR2
_pyupm_bmg160._BMG160_LPM2_AUTOSLEEP_DUR_MASK_swigconstant(_pyupm_bmg160)
_BMG160_LPM2_AUTOSLEEP_DUR_MASK = _pyupm_bmg160._BMG160_LPM2_AUTOSLEEP_DUR_MASK
_pyupm_bmg160._BMG160_LPM2_AUTOSLEEP_DUR_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_LPM2_AUTOSLEEP_DUR_SHIFT = _pyupm_bmg160._BMG160_LPM2_AUTOSLEEP_DUR_SHIFT
_pyupm_bmg160.BMG160_LPM2_EXT_TRIG_SEL0_swigconstant(_pyupm_bmg160)
BMG160_LPM2_EXT_TRIG_SEL0 = _pyupm_bmg160.BMG160_LPM2_EXT_TRIG_SEL0
_pyupm_bmg160.BMG160_LPM2_EXT_TRIG_SEL1_swigconstant(_pyupm_bmg160)
BMG160_LPM2_EXT_TRIG_SEL1 = _pyupm_bmg160.BMG160_LPM2_EXT_TRIG_SEL1
_pyupm_bmg160._BMG160_LPM2_EXT_TRIG_SEL_MASK_swigconstant(_pyupm_bmg160)
_BMG160_LPM2_EXT_TRIG_SEL_MASK = _pyupm_bmg160._BMG160_LPM2_EXT_TRIG_SEL_MASK
_pyupm_bmg160._BMG160_LPM2_EXT_TRIG_SEL_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_LPM2_EXT_TRIG_SEL_SHIFT = _pyupm_bmg160._BMG160_LPM2_EXT_TRIG_SEL_SHIFT
_pyupm_bmg160.BMG160_LPM2_POWER_SAVE_MODE_swigconstant(_pyupm_bmg160)
BMG160_LPM2_POWER_SAVE_MODE = _pyupm_bmg160.BMG160_LPM2_POWER_SAVE_MODE
_pyupm_bmg160.BMG160_LPM2_FAST_POWERUP_swigconstant(_pyupm_bmg160)
BMG160_LPM2_FAST_POWERUP = _pyupm_bmg160.BMG160_LPM2_FAST_POWERUP
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_NONE_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_NONE = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_NONE
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_4MS_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_4MS = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_4MS
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_5MS_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_5MS = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_5MS
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_8MS_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_8MS = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_8MS
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_10MS_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_10MS = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_10MS
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_15MS_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_15MS = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_15MS
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_20MS_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_20MS = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_20MS
_pyupm_bmg160.BMG160_AUTOSLEEP_DUR_40MS_swigconstant(_pyupm_bmg160)
BMG160_AUTOSLEEP_DUR_40MS = _pyupm_bmg160.BMG160_AUTOSLEEP_DUR_40MS
_pyupm_bmg160.BMG160_EXT_TRIG_SEL_NONE_swigconstant(_pyupm_bmg160)
BMG160_EXT_TRIG_SEL_NONE = _pyupm_bmg160.BMG160_EXT_TRIG_SEL_NONE
_pyupm_bmg160.BMG160_EXT_TRIG_SEL_INT1_swigconstant(_pyupm_bmg160)
BMG160_EXT_TRIG_SEL_INT1 = _pyupm_bmg160.BMG160_EXT_TRIG_SEL_INT1
_pyupm_bmg160.BMG160_EXT_TRIG_SEL_INT2_swigconstant(_pyupm_bmg160)
BMG160_EXT_TRIG_SEL_INT2 = _pyupm_bmg160.BMG160_EXT_TRIG_SEL_INT2
_pyupm_bmg160.BMG160_EXT_TRIG_SEL_SDO_swigconstant(_pyupm_bmg160)
BMG160_EXT_TRIG_SEL_SDO = _pyupm_bmg160.BMG160_EXT_TRIG_SEL_SDO
_pyupm_bmg160._BMG160_RATE_HBW_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_RATE_HBW_RESERVED_BITS = _pyupm_bmg160._BMG160_RATE_HBW_RESERVED_BITS
_pyupm_bmg160.BMG160_RATE_HBW_SHADOW_DIS_swigconstant(_pyupm_bmg160)
BMG160_RATE_HBW_SHADOW_DIS = _pyupm_bmg160.BMG160_RATE_HBW_SHADOW_DIS
_pyupm_bmg160.BMG160_RATE_HBW_DATA_HIGH_BW_swigconstant(_pyupm_bmg160)
BMG160_RATE_HBW_DATA_HIGH_BW = _pyupm_bmg160.BMG160_RATE_HBW_DATA_HIGH_BW
_pyupm_bmg160._BMG160_INT_EN_0_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_EN_0_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_EN_0_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_EN_0_AUTO_OFFSET_EN_swigconstant(_pyupm_bmg160)
BMG160_INT_EN_0_AUTO_OFFSET_EN = _pyupm_bmg160.BMG160_INT_EN_0_AUTO_OFFSET_EN
_pyupm_bmg160.BMG160_INT_EN_0_FIFO_EN_swigconstant(_pyupm_bmg160)
BMG160_INT_EN_0_FIFO_EN = _pyupm_bmg160.BMG160_INT_EN_0_FIFO_EN
_pyupm_bmg160.BMG160_INT_EN_0_DATA_EN_swigconstant(_pyupm_bmg160)
BMG160_INT_EN_0_DATA_EN = _pyupm_bmg160.BMG160_INT_EN_0_DATA_EN
_pyupm_bmg160._BMG160_INT_EN_1_INT1_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_EN_1_INT1_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_EN_1_INT1_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_EN_1_INT1_LVL_swigconstant(_pyupm_bmg160)
BMG160_INT_EN_1_INT1_LVL = _pyupm_bmg160.BMG160_INT_EN_1_INT1_LVL
_pyupm_bmg160.BMG160_INT_EN_1_INT1_OD_swigconstant(_pyupm_bmg160)
BMG160_INT_EN_1_INT1_OD = _pyupm_bmg160.BMG160_INT_EN_1_INT1_OD
_pyupm_bmg160.BMG160_INT_EN_1_INT2_LVL_swigconstant(_pyupm_bmg160)
BMG160_INT_EN_1_INT2_LVL = _pyupm_bmg160.BMG160_INT_EN_1_INT2_LVL
_pyupm_bmg160.BMG160_INT_EN_1_INT2_OD_swigconstant(_pyupm_bmg160)
BMG160_INT_EN_1_INT2_OD = _pyupm_bmg160.BMG160_INT_EN_1_INT2_OD
_pyupm_bmg160._BMG160_INT_MAP_0_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_MAP_0_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_MAP_0_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_MAP_0_INT1_ANY_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_0_INT1_ANY = _pyupm_bmg160.BMG160_INT_MAP_0_INT1_ANY
_pyupm_bmg160.BMG160_INT_MAP_0_INT1_HIGH_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_0_INT1_HIGH = _pyupm_bmg160.BMG160_INT_MAP_0_INT1_HIGH
_pyupm_bmg160.BMG160_INT_MAP_1_INT1_DATA_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT1_DATA = _pyupm_bmg160.BMG160_INT_MAP_1_INT1_DATA
_pyupm_bmg160.BMG160_INT_MAP_1_INT1_FAST_OFFSET_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT1_FAST_OFFSET = _pyupm_bmg160.BMG160_INT_MAP_1_INT1_FAST_OFFSET
_pyupm_bmg160.BMG160_INT_MAP_1_INT1_FIFO_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT1_FIFO = _pyupm_bmg160.BMG160_INT_MAP_1_INT1_FIFO
_pyupm_bmg160.BMG160_INT_MAP_1_INT1_AUTO_OFFSET_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT1_AUTO_OFFSET = _pyupm_bmg160.BMG160_INT_MAP_1_INT1_AUTO_OFFSET
_pyupm_bmg160.BMG160_INT_MAP_1_INT2_AUTO_OFFSET_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT2_AUTO_OFFSET = _pyupm_bmg160.BMG160_INT_MAP_1_INT2_AUTO_OFFSET
_pyupm_bmg160.BMG160_INT_MAP_1_INT2_FIFO_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT2_FIFO = _pyupm_bmg160.BMG160_INT_MAP_1_INT2_FIFO
_pyupm_bmg160.BMG160_INT_MAP_1_INT2_FAST_OFFSET_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT2_FAST_OFFSET = _pyupm_bmg160.BMG160_INT_MAP_1_INT2_FAST_OFFSET
_pyupm_bmg160.BMG160_INT_MAP_1_INT2_DATA_swigconstant(_pyupm_bmg160)
BMG160_INT_MAP_1_INT2_DATA = _pyupm_bmg160.BMG160_INT_MAP_1_INT2_DATA
_pyupm_bmg160._BMG160_INT_1A_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_1A_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_1A_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_1A_ANY_UNFILT_DATA_swigconstant(_pyupm_bmg160)
BMG160_INT_1A_ANY_UNFILT_DATA = _pyupm_bmg160.BMG160_INT_1A_ANY_UNFILT_DATA
_pyupm_bmg160.BMG160_INT_1A_HIGH_UNFILT_DATA_swigconstant(_pyupm_bmg160)
BMG160_INT_1A_HIGH_UNFILT_DATA = _pyupm_bmg160.BMG160_INT_1A_HIGH_UNFILT_DATA
_pyupm_bmg160.BMG160_INT_1A_SLOW_OFFSET_UNFILT_swigconstant(_pyupm_bmg160)
BMG160_INT_1A_SLOW_OFFSET_UNFILT = _pyupm_bmg160.BMG160_INT_1A_SLOW_OFFSET_UNFILT
_pyupm_bmg160.BMG160_INT_1B_ANY_TH0_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_ANY_TH0 = _pyupm_bmg160.BMG160_INT_1B_ANY_TH0
_pyupm_bmg160.BMG160_INT_1B_ANY_TH1_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_ANY_TH1 = _pyupm_bmg160.BMG160_INT_1B_ANY_TH1
_pyupm_bmg160.BMG160_INT_1B_ANY_TH2_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_ANY_TH2 = _pyupm_bmg160.BMG160_INT_1B_ANY_TH2
_pyupm_bmg160.BMG160_INT_1B_ANY_TH3_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_ANY_TH3 = _pyupm_bmg160.BMG160_INT_1B_ANY_TH3
_pyupm_bmg160.BMG160_INT_1B_ANY_TH4_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_ANY_TH4 = _pyupm_bmg160.BMG160_INT_1B_ANY_TH4
_pyupm_bmg160.BMG160_INT_1B_ANY_TH5_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_ANY_TH5 = _pyupm_bmg160.BMG160_INT_1B_ANY_TH5
_pyupm_bmg160.BMG160_INT_1B_ANY_TH6_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_ANY_TH6 = _pyupm_bmg160.BMG160_INT_1B_ANY_TH6
_pyupm_bmg160._BMG160_INT_1B_ANY_TH_MASK_swigconstant(_pyupm_bmg160)
_BMG160_INT_1B_ANY_TH_MASK = _pyupm_bmg160._BMG160_INT_1B_ANY_TH_MASK
_pyupm_bmg160._BMG160_INT_1B_ANY_TH_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_INT_1B_ANY_TH_SHIFT = _pyupm_bmg160._BMG160_INT_1B_ANY_TH_SHIFT
_pyupm_bmg160.BMG160_INT_1B_FAST_OFFSET_UNFILT_swigconstant(_pyupm_bmg160)
BMG160_INT_1B_FAST_OFFSET_UNFILT = _pyupm_bmg160.BMG160_INT_1B_FAST_OFFSET_UNFILT
_pyupm_bmg160._BMG160_INT_1C_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_1C_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_1C_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_1C_ANY_EN_X_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_ANY_EN_X = _pyupm_bmg160.BMG160_INT_1C_ANY_EN_X
_pyupm_bmg160.BMG160_INT_1C_ANY_EN_Y_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_ANY_EN_Y = _pyupm_bmg160.BMG160_INT_1C_ANY_EN_Y
_pyupm_bmg160.BMG160_INT_1C_ANY_EN_Z_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_ANY_EN_Z = _pyupm_bmg160.BMG160_INT_1C_ANY_EN_Z
_pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE0_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_ANY_DUR_SAMPLE0 = _pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE0
_pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE1_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_ANY_DUR_SAMPLE1 = _pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE1
_pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE_MASK_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_ANY_DUR_SAMPLE_MASK = _pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE_MASK
_pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE_SHIFT_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_ANY_DUR_SAMPLE_SHIFT = _pyupm_bmg160.BMG160_INT_1C_ANY_DUR_SAMPLE_SHIFT
_pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR0_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_AWAKE_DUR0 = _pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR0
_pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR1_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_AWAKE_DUR1 = _pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR1
_pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR_MASK_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_AWAKE_DUR_MASK = _pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR_MASK
_pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR_SHIFT_swigconstant(_pyupm_bmg160)
BMG160_INT_1C_AWAKE_DUR_SHIFT = _pyupm_bmg160.BMG160_INT_1C_AWAKE_DUR_SHIFT
_pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_4_swigconstant(_pyupm_bmg160)
BMG160_ANY_DUR_SAMPLE_4 = _pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_4
_pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_8_swigconstant(_pyupm_bmg160)
BMG160_ANY_DUR_SAMPLE_8 = _pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_8
_pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_12_swigconstant(_pyupm_bmg160)
BMG160_ANY_DUR_SAMPLE_12 = _pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_12
_pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_16_swigconstant(_pyupm_bmg160)
BMG160_ANY_DUR_SAMPLE_16 = _pyupm_bmg160.BMG160_ANY_DUR_SAMPLE_16
_pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_8_swigconstant(_pyupm_bmg160)
BMG160_AWAKE_DUR_SAMPLE_8 = _pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_8
_pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_16_swigconstant(_pyupm_bmg160)
BMG160_AWAKE_DUR_SAMPLE_16 = _pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_16
_pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_32_swigconstant(_pyupm_bmg160)
BMG160_AWAKE_DUR_SAMPLE_32 = _pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_32
_pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_64_swigconstant(_pyupm_bmg160)
BMG160_AWAKE_DUR_SAMPLE_64 = _pyupm_bmg160.BMG160_AWAKE_DUR_SAMPLE_64
_pyupm_bmg160._BMG160_INT_1E_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_1E_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_1E_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_1E_FIFO_WM_EN_swigconstant(_pyupm_bmg160)
BMG160_INT_1E_FIFO_WM_EN = _pyupm_bmg160.BMG160_INT_1E_FIFO_WM_EN
_pyupm_bmg160._BMG160_INT_RST_LATCH_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_INT_RST_LATCH_RESERVED_BITS = _pyupm_bmg160._BMG160_INT_RST_LATCH_RESERVED_BITS
_pyupm_bmg160.BMG160_INT_RST_LATCH0_swigconstant(_pyupm_bmg160)
BMG160_INT_RST_LATCH0 = _pyupm_bmg160.BMG160_INT_RST_LATCH0
_pyupm_bmg160.BMG160_INT_RST_LATCH1_swigconstant(_pyupm_bmg160)
BMG160_INT_RST_LATCH1 = _pyupm_bmg160.BMG160_INT_RST_LATCH1
_pyupm_bmg160.BMG160_INT_RST_LATCH2_swigconstant(_pyupm_bmg160)
BMG160_INT_RST_LATCH2 = _pyupm_bmg160.BMG160_INT_RST_LATCH2
_pyupm_bmg160.BMG160_INT_RST_LATCH3_swigconstant(_pyupm_bmg160)
BMG160_INT_RST_LATCH3 = _pyupm_bmg160.BMG160_INT_RST_LATCH3
_pyupm_bmg160._BMG160_INT_RST_LATCH_MASK_swigconstant(_pyupm_bmg160)
_BMG160_INT_RST_LATCH_MASK = _pyupm_bmg160._BMG160_INT_RST_LATCH_MASK
_pyupm_bmg160._BMG160_INT_RST_LATCH_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_INT_RST_LATCH_SHIFT = _pyupm_bmg160._BMG160_INT_RST_LATCH_SHIFT
_pyupm_bmg160.BMG160_INT_RST_LATCH_STATUS_BIT_swigconstant(_pyupm_bmg160)
BMG160_INT_RST_LATCH_STATUS_BIT = _pyupm_bmg160.BMG160_INT_RST_LATCH_STATUS_BIT
_pyupm_bmg160.BMG160_INT_RST_LATCH_OFFSET_RESET_swigconstant(_pyupm_bmg160)
BMG160_INT_RST_LATCH_OFFSET_RESET = _pyupm_bmg160.BMG160_INT_RST_LATCH_OFFSET_RESET
_pyupm_bmg160.BMG160_INT_RST_LATCH_RESET_INT_swigconstant(_pyupm_bmg160)
BMG160_INT_RST_LATCH_RESET_INT = _pyupm_bmg160.BMG160_INT_RST_LATCH_RESET_INT
_pyupm_bmg160.BMG160_RST_LATCH_NON_LATCHED_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_NON_LATCHED = _pyupm_bmg160.BMG160_RST_LATCH_NON_LATCHED
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_250MS_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_250MS = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_250MS
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_500MS_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_500MS = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_500MS
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_1S_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_1S = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_1S
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_2S_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_2S = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_2S
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_4S_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_4S = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_4S
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_8S_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_8S = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_8S
_pyupm_bmg160.BMG160_RST_LATCH_LATCHED_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_LATCHED = _pyupm_bmg160.BMG160_RST_LATCH_LATCHED
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_250US_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_250US = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_250US
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_500US_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_500US = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_500US
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_1MS_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_1MS = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_1MS
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_12_5MS_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_12_5MS = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_12_5MS
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_25MS_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_25MS = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_25MS
_pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_50MS_swigconstant(_pyupm_bmg160)
BMG160_RST_LATCH_TEMPORARY_50MS = _pyupm_bmg160.BMG160_RST_LATCH_TEMPORARY_50MS
_pyupm_bmg160.BMG160_HIGH_TH_EN_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_EN = _pyupm_bmg160.BMG160_HIGH_TH_EN
_pyupm_bmg160.BMG160_HIGH_TH_TH0_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_TH0 = _pyupm_bmg160.BMG160_HIGH_TH_TH0
_pyupm_bmg160.BMG160_HIGH_TH_TH1_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_TH1 = _pyupm_bmg160.BMG160_HIGH_TH_TH1
_pyupm_bmg160.BMG160_HIGH_TH_TH2_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_TH2 = _pyupm_bmg160.BMG160_HIGH_TH_TH2
_pyupm_bmg160.BMG160_HIGH_TH_TH3_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_TH3 = _pyupm_bmg160.BMG160_HIGH_TH_TH3
_pyupm_bmg160.BMG160_HIGH_TH_TH4_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_TH4 = _pyupm_bmg160.BMG160_HIGH_TH_TH4
_pyupm_bmg160._BMG160_HIGH_TH_TH_MASK_swigconstant(_pyupm_bmg160)
_BMG160_HIGH_TH_TH_MASK = _pyupm_bmg160._BMG160_HIGH_TH_TH_MASK
_pyupm_bmg160._BMG160_HIGH_TH_TH_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_HIGH_TH_TH_SHIFT = _pyupm_bmg160._BMG160_HIGH_TH_TH_SHIFT
_pyupm_bmg160.BMG160_HIGH_TH_HY0_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_HY0 = _pyupm_bmg160.BMG160_HIGH_TH_HY0
_pyupm_bmg160.BMG160_HIGH_TH_HY1_swigconstant(_pyupm_bmg160)
BMG160_HIGH_TH_HY1 = _pyupm_bmg160.BMG160_HIGH_TH_HY1
_pyupm_bmg160._BMG160_HIGH_TH_HY_MASK_swigconstant(_pyupm_bmg160)
_BMG160_HIGH_TH_HY_MASK = _pyupm_bmg160._BMG160_HIGH_TH_HY_MASK
_pyupm_bmg160._BMG160_HIGH_TH_HY_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_HIGH_TH_HY_SHIFT = _pyupm_bmg160._BMG160_HIGH_TH_HY_SHIFT
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_EN_X_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_EN_X = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_EN_X
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_EN_Y_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_EN_Y = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_EN_Y
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_EN_Z_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_EN_Z = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_EN_Z
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_DUR0_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_DUR0 = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_DUR0
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_DUR1_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_DUR1 = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_DUR1
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_DUR2_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_DUR2 = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_DUR2
_pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_DUR_MASK_swigconstant(_pyupm_bmg160)
_BMG160_SOC_SLOW_OFFSET_DUR_MASK = _pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_DUR_MASK
_pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_DUR_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_SOC_SLOW_OFFSET_DUR_SHIFT = _pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_DUR_SHIFT
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_TH0_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_TH0 = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_TH0
_pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_TH1_swigconstant(_pyupm_bmg160)
BMG160_SOC_SLOW_OFFSET_TH1 = _pyupm_bmg160.BMG160_SOC_SLOW_OFFSET_TH1
_pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_TH_MASK_swigconstant(_pyupm_bmg160)
_BMG160_SOC_SLOW_OFFSET_TH_MASK = _pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_TH_MASK
_pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_TH_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_SOC_SLOW_OFFSET_TH_SHIFT = _pyupm_bmg160._BMG160_SOC_SLOW_OFFSET_TH_SHIFT
_pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_40MS_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_DUR_40MS = _pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_40MS
_pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_80MS_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_DUR_80MS = _pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_80MS
_pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_160MS_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_DUR_160MS = _pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_160MS
_pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_320MS_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_DUR_320MS = _pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_320MS
_pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_640MS_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_DUR_640MS = _pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_640MS
_pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_1280MS_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_DUR_1280MS = _pyupm_bmg160.BMG160_SLOW_OFFSET_DUR_1280MS
_pyupm_bmg160.BMG160_SLOW_OFFSET_TH_0_1_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_TH_0_1 = _pyupm_bmg160.BMG160_SLOW_OFFSET_TH_0_1
_pyupm_bmg160.BMG160_SLOW_OFFSET_TH_0_2_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_TH_0_2 = _pyupm_bmg160.BMG160_SLOW_OFFSET_TH_0_2
_pyupm_bmg160.BMG160_SLOW_OFFSET_TH_0_5_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_TH_0_5 = _pyupm_bmg160.BMG160_SLOW_OFFSET_TH_0_5
_pyupm_bmg160.BMG160_SLOW_OFFSET_TH_1_swigconstant(_pyupm_bmg160)
BMG160_SLOW_OFFSET_TH_1 = _pyupm_bmg160.BMG160_SLOW_OFFSET_TH_1
_pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN_X_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_FAST_OFFSET_EN_X = _pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN_X
_pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN_Y_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_FAST_OFFSET_EN_Y = _pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN_Y
_pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN_Z_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_FAST_OFFSET_EN_Z = _pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN_Z
_pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_FAST_OFFSET_EN = _pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_EN
_pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_WORDLENGTH0_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_FAST_OFFSET_WORDLENGTH0 = _pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_WORDLENGTH0
_pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_WORDLENGTH1_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_FAST_OFFSET_WORDLENGTH1 = _pyupm_bmg160.BMG160_A_FOC_FAST_OFFSET_WORDLENGTH1
_pyupm_bmg160._BMG160_A_FOC_FAST_OFFSET_WORDLENGTH_MASK_swigconstant(_pyupm_bmg160)
_BMG160_A_FOC_FAST_OFFSET_WORDLENGTH_MASK = _pyupm_bmg160._BMG160_A_FOC_FAST_OFFSET_WORDLENGTH_MASK
_pyupm_bmg160._BMG160_A_FOC_FAST_OFFSET_WORDLENGTH_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_A_FOC_FAST_OFFSET_WORDLENGTH_SHIFT = _pyupm_bmg160._BMG160_A_FOC_FAST_OFFSET_WORDLENGTH_SHIFT
_pyupm_bmg160.BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH0_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH0 = _pyupm_bmg160.BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH0
_pyupm_bmg160.BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH1_swigconstant(_pyupm_bmg160)
BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH1 = _pyupm_bmg160.BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH1
_pyupm_bmg160._BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH_MASK_swigconstant(_pyupm_bmg160)
_BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH_MASK = _pyupm_bmg160._BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH_MASK
_pyupm_bmg160._BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH_SHIFT = _pyupm_bmg160._BMG160_A_FOC_AUTO_OFFSET_WORDLENGTH_SHIFT
_pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_32_swigconstant(_pyupm_bmg160)
BMG160_FAST_OFFSET_WORDLENGTH_32 = _pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_32
_pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_64_swigconstant(_pyupm_bmg160)
BMG160_FAST_OFFSET_WORDLENGTH_64 = _pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_64
_pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_128_swigconstant(_pyupm_bmg160)
BMG160_FAST_OFFSET_WORDLENGTH_128 = _pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_128
_pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_256_swigconstant(_pyupm_bmg160)
BMG160_FAST_OFFSET_WORDLENGTH_256 = _pyupm_bmg160.BMG160_FAST_OFFSET_WORDLENGTH_256
_pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_32_swigconstant(_pyupm_bmg160)
BMG160_AUTO_OFFSET_WORDLENGTH_32 = _pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_32
_pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_64_swigconstant(_pyupm_bmg160)
BMG160_AUTO_OFFSET_WORDLENGTH_64 = _pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_64
_pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_128_swigconstant(_pyupm_bmg160)
BMG160_AUTO_OFFSET_WORDLENGTH_128 = _pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_128
_pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_256_swigconstant(_pyupm_bmg160)
BMG160_AUTO_OFFSET_WORDLENGTH_256 = _pyupm_bmg160.BMG160_AUTO_OFFSET_WORDLENGTH_256
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_MODE_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_PROG_MODE = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_MODE
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_TRIG_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_PROG_TRIG = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_TRIG
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_RDY_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_PROG_RDY = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_RDY
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_LOAD_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_PROG_LOAD = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_PROG_LOAD
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN0_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_REMAIN0 = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN0
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN1_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_REMAIN1 = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN1
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN2_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_REMAIN2 = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN2
_pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN3_swigconstant(_pyupm_bmg160)
BMG160_TRIM_NVM_CTRL_NVM_REMAIN3 = _pyupm_bmg160.BMG160_TRIM_NVM_CTRL_NVM_REMAIN3
_pyupm_bmg160._BMG160_TRIM_NVM_CTRL_NVM_REMAIN_MASK_swigconstant(_pyupm_bmg160)
_BMG160_TRIM_NVM_CTRL_NVM_REMAIN_MASK = _pyupm_bmg160._BMG160_TRIM_NVM_CTRL_NVM_REMAIN_MASK
_pyupm_bmg160._BMG160_TRIM_NVM_CTRL_NVM_REMAIN_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_TRIM_NVM_CTRL_NVM_REMAIN_SHIFT = _pyupm_bmg160._BMG160_TRIM_NVM_CTRL_NVM_REMAIN_SHIFT
_pyupm_bmg160._BMG160_SPI3_WDT_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_SPI3_WDT_RESERVED_BITS = _pyupm_bmg160._BMG160_SPI3_WDT_RESERVED_BITS
_pyupm_bmg160.BMG160_SPI3_WDT_SPI3_swigconstant(_pyupm_bmg160)
BMG160_SPI3_WDT_SPI3 = _pyupm_bmg160.BMG160_SPI3_WDT_SPI3
_pyupm_bmg160.BMG160_SPI3_WDT_I2C_WDT_SEL_swigconstant(_pyupm_bmg160)
BMG160_SPI3_WDT_I2C_WDT_SEL = _pyupm_bmg160.BMG160_SPI3_WDT_I2C_WDT_SEL
_pyupm_bmg160.BMG160_SPI3_WDT_I2C_WDT_EN_swigconstant(_pyupm_bmg160)
BMG160_SPI3_WDT_I2C_WDT_EN = _pyupm_bmg160.BMG160_SPI3_WDT_I2C_WDT_EN
_pyupm_bmg160.BMG160_OFC1_OFFSET_Z0_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_Z0 = _pyupm_bmg160.BMG160_OFC1_OFFSET_Z0
_pyupm_bmg160.BMG160_OFC1_OFFSET_Z1_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_Z1 = _pyupm_bmg160.BMG160_OFC1_OFFSET_Z1
_pyupm_bmg160.BMG160_OFC1_OFFSET_Z2_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_Z2 = _pyupm_bmg160.BMG160_OFC1_OFFSET_Z2
_pyupm_bmg160._BMG160_OFC1_OFFSET_Z_MASK_swigconstant(_pyupm_bmg160)
_BMG160_OFC1_OFFSET_Z_MASK = _pyupm_bmg160._BMG160_OFC1_OFFSET_Z_MASK
_pyupm_bmg160._BMG160_OFC1_OFFSET_Z_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_OFC1_OFFSET_Z_SHIFT = _pyupm_bmg160._BMG160_OFC1_OFFSET_Z_SHIFT
_pyupm_bmg160.BMG160_OFC1_OFFSET_Y0_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_Y0 = _pyupm_bmg160.BMG160_OFC1_OFFSET_Y0
_pyupm_bmg160.BMG160_OFC1_OFFSET_Y1_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_Y1 = _pyupm_bmg160.BMG160_OFC1_OFFSET_Y1
_pyupm_bmg160.BMG160_OFC1_OFFSET_Y2_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_Y2 = _pyupm_bmg160.BMG160_OFC1_OFFSET_Y2
_pyupm_bmg160._BMG160_OFC1_OFFSET_Y_MASK_swigconstant(_pyupm_bmg160)
_BMG160_OFC1_OFFSET_Y_MASK = _pyupm_bmg160._BMG160_OFC1_OFFSET_Y_MASK
_pyupm_bmg160._BMG160_OFC1_OFFSET_Y_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_OFC1_OFFSET_Y_SHIFT = _pyupm_bmg160._BMG160_OFC1_OFFSET_Y_SHIFT
_pyupm_bmg160.BMG160_OFC1_OFFSET_X0_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_X0 = _pyupm_bmg160.BMG160_OFC1_OFFSET_X0
_pyupm_bmg160.BMG160_OFC1_OFFSET_X1_swigconstant(_pyupm_bmg160)
BMG160_OFC1_OFFSET_X1 = _pyupm_bmg160.BMG160_OFC1_OFFSET_X1
_pyupm_bmg160._BMG160_OFC1_OFFSET_X_MASK_swigconstant(_pyupm_bmg160)
_BMG160_OFC1_OFFSET_X_MASK = _pyupm_bmg160._BMG160_OFC1_OFFSET_X_MASK
_pyupm_bmg160._BMG160_OFC1_OFFSET_X_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_OFC1_OFFSET_X_SHIFT = _pyupm_bmg160._BMG160_OFC1_OFFSET_X_SHIFT
_pyupm_bmg160.BMG160_GP0_OFFSET_Z_swigconstant(_pyupm_bmg160)
BMG160_GP0_OFFSET_Z = _pyupm_bmg160.BMG160_GP0_OFFSET_Z
_pyupm_bmg160.BMG160_GP0_OFFSET_Y_swigconstant(_pyupm_bmg160)
BMG160_GP0_OFFSET_Y = _pyupm_bmg160.BMG160_GP0_OFFSET_Y
_pyupm_bmg160.BMG160_GP0_OFFSET_X0_swigconstant(_pyupm_bmg160)
BMG160_GP0_OFFSET_X0 = _pyupm_bmg160.BMG160_GP0_OFFSET_X0
_pyupm_bmg160.BMG160_GP0_OFFSET_X1_swigconstant(_pyupm_bmg160)
BMG160_GP0_OFFSET_X1 = _pyupm_bmg160.BMG160_GP0_OFFSET_X1
_pyupm_bmg160._BMG160_GP0_OFFSET_X_MASK_swigconstant(_pyupm_bmg160)
_BMG160_GP0_OFFSET_X_MASK = _pyupm_bmg160._BMG160_GP0_OFFSET_X_MASK
_pyupm_bmg160._BMG160_GP0_OFFSET_X_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_GP0_OFFSET_X_SHIFT = _pyupm_bmg160._BMG160_GP0_OFFSET_X_SHIFT
_pyupm_bmg160.BMG160_GP0_GP00_swigconstant(_pyupm_bmg160)
BMG160_GP0_GP00 = _pyupm_bmg160.BMG160_GP0_GP00
_pyupm_bmg160.BMG160_GP0_GP01_swigconstant(_pyupm_bmg160)
BMG160_GP0_GP01 = _pyupm_bmg160.BMG160_GP0_GP01
_pyupm_bmg160.BMG160_GP0_GP02_swigconstant(_pyupm_bmg160)
BMG160_GP0_GP02 = _pyupm_bmg160.BMG160_GP0_GP02
_pyupm_bmg160.BMG160_GP0_GP03_swigconstant(_pyupm_bmg160)
BMG160_GP0_GP03 = _pyupm_bmg160.BMG160_GP0_GP03
_pyupm_bmg160._BMG160_GP0_GP0_MASK_swigconstant(_pyupm_bmg160)
_BMG160_GP0_GP0_MASK = _pyupm_bmg160._BMG160_GP0_GP0_MASK
_pyupm_bmg160._BMG160_GP0_GP0_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_GP0_GP0_SHIFT = _pyupm_bmg160._BMG160_GP0_GP0_SHIFT
_pyupm_bmg160._BMG160_BIST_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_BIST_RESERVED_BITS = _pyupm_bmg160._BMG160_BIST_RESERVED_BITS
_pyupm_bmg160.BMG160_BIST_TRIG_BIST_swigconstant(_pyupm_bmg160)
BMG160_BIST_TRIG_BIST = _pyupm_bmg160.BMG160_BIST_TRIG_BIST
_pyupm_bmg160.BMG160_BIST_BIST_RDY_swigconstant(_pyupm_bmg160)
BMG160_BIST_BIST_RDY = _pyupm_bmg160.BMG160_BIST_BIST_RDY
_pyupm_bmg160.BMG160_BIST_BIST_FAIL_swigconstant(_pyupm_bmg160)
BMG160_BIST_BIST_FAIL = _pyupm_bmg160.BMG160_BIST_BIST_FAIL
_pyupm_bmg160.BMG160_BIST_RATE_OK_swigconstant(_pyupm_bmg160)
BMG160_BIST_RATE_OK = _pyupm_bmg160.BMG160_BIST_RATE_OK
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK0_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_WATER_MARK0 = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK0
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK1_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_WATER_MARK1 = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK1
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK2_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_WATER_MARK2 = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK2
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK3_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_WATER_MARK3 = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK3
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK4_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_WATER_MARK4 = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK4
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK5_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_WATER_MARK5 = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK5
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK6_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_WATER_MARK6 = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_WATER_MARK6
_pyupm_bmg160._BMG160_FIFO_CONFIG_0_WATER_MARK_MASK_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_CONFIG_0_WATER_MARK_MASK = _pyupm_bmg160._BMG160_FIFO_CONFIG_0_WATER_MARK_MASK
_pyupm_bmg160._BMG160_FIFO_CONFIG_0_WATER_MARK_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_CONFIG_0_WATER_MARK_SHIFT = _pyupm_bmg160._BMG160_FIFO_CONFIG_0_WATER_MARK_SHIFT
_pyupm_bmg160.BMG160_FIFO_CONFIG_0_TAG_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_0_TAG = _pyupm_bmg160.BMG160_FIFO_CONFIG_0_TAG
_pyupm_bmg160._BMG160_FIFO_CONFIG_1_RESERVED_BITS_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_CONFIG_1_RESERVED_BITS = _pyupm_bmg160._BMG160_FIFO_CONFIG_1_RESERVED_BITS
_pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL0_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL0 = _pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL0
_pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL1_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL1 = _pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL1
_pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL = _pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_DATA_SEL
_pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_DATA_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_CONFIG_1_FIFO_DATA_SHIFT = _pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_DATA_SHIFT
_pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_MODE0_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_1_FIFO_MODE0 = _pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_MODE0
_pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_MODE1_swigconstant(_pyupm_bmg160)
BMG160_FIFO_CONFIG_1_FIFO_MODE1 = _pyupm_bmg160.BMG160_FIFO_CONFIG_1_FIFO_MODE1
_pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_MODE_MASK_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_CONFIG_1_FIFO_MODE_MASK = _pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_MODE_MASK
_pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_MODE_SHIFT_swigconstant(_pyupm_bmg160)
_BMG160_FIFO_CONFIG_1_FIFO_MODE_SHIFT = _pyupm_bmg160._BMG160_FIFO_CONFIG_1_FIFO_MODE_SHIFT
_pyupm_bmg160.BMG160_FIFO_DATA_SEL_XYZ_swigconstant(_pyupm_bmg160)
BMG160_FIFO_DATA_SEL_XYZ = _pyupm_bmg160.BMG160_FIFO_DATA_SEL_XYZ
_pyupm_bmg160.BMG160_FIFO_DATA_SEL_X_swigconstant(_pyupm_bmg160)
BMG160_FIFO_DATA_SEL_X = _pyupm_bmg160.BMG160_FIFO_DATA_SEL_X
_pyupm_bmg160.BMG160_FIFO_DATA_SEL_Y_swigconstant(_pyupm_bmg160)
BMG160_FIFO_DATA_SEL_Y = _pyupm_bmg160.BMG160_FIFO_DATA_SEL_Y
_pyupm_bmg160.BMG160_FIFO_DATA_SEL_Z_swigconstant(_pyupm_bmg160)
BMG160_FIFO_DATA_SEL_Z = _pyupm_bmg160.BMG160_FIFO_DATA_SEL_Z
_pyupm_bmg160.BMG160_FIFO_MODE_BYPASS_swigconstant(_pyupm_bmg160)
BMG160_FIFO_MODE_BYPASS = _pyupm_bmg160.BMG160_FIFO_MODE_BYPASS
_pyupm_bmg160.BMG160_FIFO_MODE_FIFO_swigconstant(_pyupm_bmg160)
BMG160_FIFO_MODE_FIFO = _pyupm_bmg160.BMG160_FIFO_MODE_FIFO
_pyupm_bmg160.BMG160_FIFO_MODE_STREAM_swigconstant(_pyupm_bmg160)
BMG160_FIFO_MODE_STREAM = _pyupm_bmg160.BMG160_FIFO_MODE_STREAM
_pyupm_bmg160.BMG160_INTERRUPT_INT1_swigconstant(_pyupm_bmg160)
BMG160_INTERRUPT_INT1 = _pyupm_bmg160.BMG160_INTERRUPT_INT1
_pyupm_bmg160.BMG160_INTERRUPT_INT2_swigconstant(_pyupm_bmg160)
BMG160_INTERRUPT_INT2 = _pyupm_bmg160.BMG160_INTERRUPT_INT2
[docs]class BMG160(_object):
"""
API for the BMG160 16 bit Triaxial Gyroscope.
ID: bmg160
Name: 3-axis Gyroscope Sensor
Category: gyro
Manufacturer: bosch
Connection: i2c spi gpio
Link:https://www.bosch-sensortec.com/bst/products/all_products/bmg160
The BMG160 is a 3-axis angular rate sensor that is made of a surface
micro machined sensing element and an evaluation ASIC. Both parts are
packed into one single LGA 3.0mm x 3.0mm x 0.95mm housing. The BMG160
is designed to meet requirements for consumer applications such as
image stabilization (DSC and camera-phone), gaming and pointing
devices. It is capable to measure angular rates in three perpendicular
room dimensions, the x-, y- and z-axis, and to provide the
corresponding output signals. The BMG160 is fitted with digital bi-
directional SPI and I2C interfaces for optimum system integration.
Not all functionality of this chip has been implemented in this
driver, however all the pieces are present to add any desired
functionality. This driver supports both I2C (default) and SPI
operation.
This device requires 3.3v operation.
C++ includes: bmg160.hpp
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, BMG160, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, BMG160, name)
__repr__ = _swig_repr
def __init__(self, bus=0, addr=0x68, cs=-1):
"""
BMG160(int
bus=BMG160_DEFAULT_I2C_BUS, int addr=BMG160_DEFAULT_ADDR, int cs=-1)
BMG160 constructor.
This device can support both I2C and SPI. For SPI, set the addr to -1,
and specify a positive integer representing the Chip Select (CS) pin
for the cs argument. If you are using a hardware CS pin (like edison
with arduino breakout), then you can connect the proper pin to the
hardware CS pin on your MCU and supply -1 for cs. The default
operating mode is I2C.
Parameters:
-----------
bus: I2C or SPI bus to use.
addr: The address for this device. -1 for SPI.
cs: The gpio pin to use for the SPI Chip Select. -1 for I2C or for
SPI with a hardware controlled pin.
Exceptions:
-----------
std::runtime_error: on initialization failure.
"""
this = _pyupm_bmg160.new_BMG160(bus, addr, cs)
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _pyupm_bmg160.delete_BMG160
__del__ = lambda self: None
[docs] def update(self):
"""
void update()
Update the internal stored values from sensor data.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_update(self)
[docs] def getChipID(self):
"""
uint8_t getChipID()
Return the chip ID.
The chip ID (BMG160_CHIPID).
"""
return _pyupm_bmg160.BMG160_getChipID(self)
[docs] def getGyroscope(self, *args):
"""
std::vector< float
> getGyroscope()
Return gyroscope data in degrees per second in the form of a floating
point vector. update() must have been called prior to calling this
method.
A floating point vector containing x, y, and z in that order.
"""
return _pyupm_bmg160.BMG160_getGyroscope(self, *args)
[docs] def getTemperature(self, fahrenheit=False):
"""
float
getTemperature(bool fahrenheit=false)
Return the current measured temperature. Note, this is not ambient
temperature. update() must have been called prior to calling this
method.
Parameters:
-----------
fahrenheit: true to return data in Fahrenheit, false for Celicus.
Celsius is the default.
The temperature in degrees Celsius or Fahrenheit.
"""
return _pyupm_bmg160.BMG160_getTemperature(self, fahrenheit)
[docs] def init(self, pwr=BMG160_POWER_MODE_NORMAL, range=BMG160_RANGE_250, bw=BMG160_BW_400_47):
"""
void
init(BMG160_POWER_MODE_T pwr=BMG160_POWER_MODE_NORMAL, BMG160_RANGE_T
range=BMG160_RANGE_250, BMG160_BW_T bw=BMG160_BW_400_47)
Initialize the device and start operation. This function is called
from the constructor so will not typically need to be called by a user
unless the device is reset.
Parameters:
-----------
pwr: One of the BMG160_POWER_MODE_T values. The default is
BMG160_POWER_MODE_NORMAL.
range: One of the BMG160_RANGE_T values. The default is
BMG160_RANGE_250.
bw: One of the filtering BMG160_BW_T values. The default is
BMG160_BW_400_47.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_init(self, pwr, range, bw)
[docs] def reset(self):
"""
void reset()
Reset the device as if during a power on reset. All configured values
are lost when this happens. You should call init() afterwards, or at
least perform the same initialization init() does before continuing.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_reset(self)
[docs] def setRange(self, range):
"""
void
setRange(BMG160_RANGE_T range)
Set the gyroscope detection scaling range. This device supports 125,
250, 500, 1000, and 2000 degree/s ranges.
Parameters:
-----------
range: One of the BMG160_RANGE_T values.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setRange(self, range)
[docs] def setBandwidth(self, bw):
"""
void
setBandwidth(BMG160_BW_T bw)
Set the output filtering bandwidth of the device.
Parameters:
-----------
bw: One of the BMG160_BW_T values.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setBandwidth(self, bw)
[docs] def setPowerMode(self, power):
"""
void
setPowerMode(BMG160_POWER_MODE_T power)
Set the power mode of the device. Care must be taken when setting a
low power or suspend mode. See the datasheet for details. I ncertain
power modes, register write must be drastically slowed down. which we
cannot support.
Parameters:
-----------
power: One of the POWER_MODE_T values.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setPowerMode(self, power)
[docs] def enableFIFO(self, useFIFO):
"""
void enableFIFO(bool
useFIFO)
Enable update() to read from the FIFO rather than the gyroscope axis
registers directly. init() enables this mode by default. An advantage
to this mode that all axis data is sampled from the same timeslice.
When reading directly from the gyroscope output registers, it's
possible for one axis to be updated while another is being read,
causing a temporal inconsistancy..
Using the FIFO removes this problem.
Parameters:
-----------
useFIFO: true to enable update() to read from the FIFO. When false,
update will read from the gyroscope output registers directly.
"""
return _pyupm_bmg160.BMG160_enableFIFO(self, useFIFO)
[docs] def fifoSetWatermark(self, wm):
"""
void
fifoSetWatermark(int wm)
Set the FIFO watermark. When the watermark is reached an interrupt (if
enabled) will be generated.
Parameters:
-----------
wm: The FIFO watermark to use. The maximum value is 63.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_fifoSetWatermark(self, wm)
[docs] def fifoConfig(self, mode, axes):
"""
void
fifoConfig(BMG160_FIFO_MODE_T mode, BMG160_FIFO_DATA_SEL_T axes)
Set the FIFO configuration. init() uses the BMG160_FIFO_MODE_BYPASS
mode with axes set to BMG160_FIFO_DATA_SEL_XYZ by default.
Parameters:
-----------
mode: One of the BMG160_FIFO_MODE_T values.
axes: One of the BMG160_FIFO_DATA_SEL_T values.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_fifoConfig(self, mode, axes)
[docs] def getInterruptEnable0(self):
"""
uint8_t
getInterruptEnable0()
Return the Interrupt Enables 0 register. These registers allow you to
enable various interrupt conditions. See the datasheet for details.
A bitmask of INT_EN_0_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptEnable0(self)
[docs] def setInterruptEnable0(self, bits):
"""
void
setInterruptEnable0(uint8_t bits)
Set the Interrupt Enables 0 register. See the datasheet for details.
Parameters:
-----------
bits: A bitmask of BMG160_INT_EN_0_BITS_T bits.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setInterruptEnable0(self, bits)
[docs] def getInterruptMap0(self):
"""
uint8_t
getInterruptMap0()
Return the Interrupt Map 0 register. These registers allow you to map
specific interrupts to the interrupt 1 or interrupt 2 pin. See the
datasheet for details.
A bitmask of INT_MAP_0_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptMap0(self)
[docs] def setInterruptMap0(self, bits):
"""
void
setInterruptMap0(uint8_t bits)
Set the Interrupt Map 0 register. These registers allow you to map
specific interrupts to the interrupt 1 or interrupt 2 pin. See the
datasheet for details.
Parameters:
-----------
bits: A bitmask of BMG160_INT_MAP_0_BITS_T bits.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setInterruptMap0(self, bits)
[docs] def getInterruptMap1(self):
"""
uint8_t
getInterruptMap1()
Return the Interrupt Map 1 register. See the datasheet for details.
A bitmask of BMG160_INT_MAP_1_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptMap1(self)
[docs] def setInterruptMap1(self, bits):
"""
void
setInterruptMap1(uint8_t bits)
Set the Interrupt Map 1 register. See the datasheet for details.
Parameters:
-----------
bits: A bitmask of BMG160_INT_MAP_1_BITS_T bits.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setInterruptMap1(self, bits)
[docs] def getInterruptSrc(self):
"""
uint8_t
getInterruptSrc()
Return the Interrupt source register. This register allows determining
where data comes from (filtered/unfiltered) for those interrupt
sources where this is selectable. See the datasheet for details.
A bitmask of INT_1A_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptSrc(self)
[docs] def setInterruptSrc(self, bits):
"""
void
setInterruptSrc(uint8_t bits)
Set the Interrupt source register. This register allows determining
where data comes from (filtered/unfiltered) for those interrupt
sources where this is selectable. See the datasheet for details.
Parameters:
-----------
bits: A bitmask of INT_1A_BITS_T bits.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setInterruptSrc(self, bits)
[docs] def getInterruptOutputControl(self):
"""
uint8_t getInterruptOutputControl()
Return the Interrupt output control register. This register allows
determining the electrical characteristics of the 2 interrupt pins
(open-drain/push-pull and level/edge triggering). See the datasheet
for details.
A bitmask of INT_EN_1_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptOutputControl(self)
[docs] def setInterruptOutputControl(self, bits):
"""
void
setInterruptOutputControl(uint8_t bits)
Set the Interrupt output control register. This register allows
determining the electrical characteristics of the 2 interrupt pins
(open-drain/push-pull and level/edge triggering). See the datasheet
for details.
Parameters:
-----------
bits: A bitmask of INT_EN_1_BITS_T bits.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setInterruptOutputControl(self, bits)
[docs] def clearInterruptLatches(self):
"""
void
clearInterruptLatches()
Clear all latched interrupts. See the datasheet for details.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_clearInterruptLatches(self)
[docs] def getInterruptLatchBehavior(self):
"""
BMG160_RST_LATCH_T getInterruptLatchBehavior()
Return the current interrupt latching behavior. See the datasheet for
details.
One of the RST_LATCH_T values.
"""
return _pyupm_bmg160.BMG160_getInterruptLatchBehavior(self)
[docs] def setInterruptLatchBehavior(self, latch):
"""
void
setInterruptLatchBehavior(BMG160_RST_LATCH_T latch)
Set the current interrupt latching behavior. See the datasheet for
details.
Parameters:
-----------
latch: One of the RST_LATCH_T values.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_setInterruptLatchBehavior(self, latch)
[docs] def getInterruptStatus0(self):
"""
uint8_t
getInterruptStatus0()
Return the interrupt status 0 register. These registers indicate which
interrupts have been triggered. See the datasheet for details.
a bitmask of INT_STATUS_0_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptStatus0(self)
[docs] def getInterruptStatus1(self):
"""
uint8_t
getInterruptStatus1()
Return the interrupt status 1 register. See the datasheet for details.
a bitmask of INT_STATUS_1_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptStatus1(self)
[docs] def getInterruptStatus2(self):
"""
uint8_t
getInterruptStatus2()
Return the interrupt status 2 register. See the datasheet for details.
a bitmask of INT_STATUS_2_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptStatus2(self)
[docs] def getInterruptStatus3(self):
"""
uint8_t
getInterruptStatus3()
Return the interrupt status 3 register. See the datasheet for details.
a bitmask of INT_STATUS_3_BITS_T bits.
"""
return _pyupm_bmg160.BMG160_getInterruptStatus3(self)
[docs] def enableRegisterShadowing(self, shadow):
"""
void
enableRegisterShadowing(bool shadow)
Enable shadowing of the gyroscope output registers. When enabled, a
read of an axis LSB register automatically locks the MSB register of
that axis until it has been read. This is usually a good thing to have
enabled. init() enables this by default. If disabled, then it becomes
possible for part of an axis value to change while another part is
being read, causing inconsistent data.
Parameters:
-----------
shadow: true to enable axis register shadowing, false otherwise.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_enableRegisterShadowing(self, shadow)
[docs] def enableOutputFiltering(self, filter):
"""
void
enableOutputFiltering(bool filter)
Enable filtering of the gyroscope axis data. init() enables this by
default. If disabled, then gyroscope data that is read will be raw and
unfiltered (rated R). See the datasheet for details.
Parameters:
-----------
filter: true to enable filtering, false to disable.
"""
return _pyupm_bmg160.BMG160_enableOutputFiltering(self, filter)
[docs] def installISR(self, intr, gpio, level, isr, arg):
"""
void
installISR(BMG160_INTERRUPT_PINS_T intr, int gpio, mraa::Edge level,
void(*isr)(void *), void *arg)
install an interrupt handler.
Parameters:
-----------
intr: One of the BMG160_INTERRUPT_PINS_T values specifying which
interrupt pin you are installing.
gpio: GPIO pin to use as interrupt pin.
level: The interrupt trigger level (one of the mraa::Edge values).
Make sure that you have configured the interrupt pin properly for
whatever level you choose.
isr: The interrupt handler, accepting a void * argument.
arg: The argument to pass the the interrupt handler.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_installISR(self, intr, gpio, level, isr, arg)
[docs] def uninstallISR(self, intr):
"""
void
uninstallISR(BMG160_INTERRUPT_PINS_T intr)
uninstall a previously installed interrupt handler
Parameters:
-----------
intr: one of the INTERRUPT_PINS_T values specifying which interrupt
pin you are removing.
"""
return _pyupm_bmg160.BMG160_uninstallISR(self, intr)
[docs] def readReg(self, reg):
"""
uint8_t readReg(uint8_t
reg)
Read a register.
Parameters:
-----------
reg: The register to read.
The value of the register.
"""
return _pyupm_bmg160.BMG160_readReg(self, reg)
[docs] def readRegs(self, reg, buffer, len):
"""
int readRegs(uint8_t
reg, uint8_t *buffer, int len)
Read contiguous registers into a buffer.
Parameters:
-----------
buffer: The buffer to store the results.
len: The number of registers to read.
The number of bytes read.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_readRegs(self, reg, buffer, len)
[docs] def writeReg(self, reg, val):
"""
void writeReg(uint8_t
reg, uint8_t val)
Write to a register
Parameters:
-----------
reg: The register to write to.
val: The value to write.
Exceptions:
-----------
std::runtime_error: on failure.
"""
return _pyupm_bmg160.BMG160_writeReg(self, reg, val)
BMG160_swigregister = _pyupm_bmg160.BMG160_swigregister
BMG160_swigregister(BMG160)
# This file is compatible with both classic and new-style classes.