Source code for pyupm_lis3dh

# 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_lis3dh', [dirname(__file__)])
        except ImportError:
            import _pyupm_lis3dh
            return _pyupm_lis3dh
        if fp is not None:
            try:
                _mod = imp.load_module('_pyupm_lis3dh', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _pyupm_lis3dh = swig_import_helper()
    del swig_import_helper
else:
    import _pyupm_lis3dh
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_lis3dh.getVersion()
getVersion = _pyupm_lis3dh.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_lis3dh.delete_SwigPyIterator __del__ = lambda self: None
[docs] def value(self): return _pyupm_lis3dh.SwigPyIterator_value(self)
[docs] def incr(self, n=1): return _pyupm_lis3dh.SwigPyIterator_incr(self, n)
[docs] def decr(self, n=1): return _pyupm_lis3dh.SwigPyIterator_decr(self, n)
[docs] def distance(self, x): return _pyupm_lis3dh.SwigPyIterator_distance(self, x)
[docs] def equal(self, x): return _pyupm_lis3dh.SwigPyIterator_equal(self, x)
[docs] def copy(self): return _pyupm_lis3dh.SwigPyIterator_copy(self)
[docs] def next(self): return _pyupm_lis3dh.SwigPyIterator_next(self)
def __next__(self): return _pyupm_lis3dh.SwigPyIterator___next__(self)
[docs] def previous(self): return _pyupm_lis3dh.SwigPyIterator_previous(self)
[docs] def advance(self, n): return _pyupm_lis3dh.SwigPyIterator_advance(self, n)
def __eq__(self, x): return _pyupm_lis3dh.SwigPyIterator___eq__(self, x) def __ne__(self, x): return _pyupm_lis3dh.SwigPyIterator___ne__(self, x) def __iadd__(self, n): return _pyupm_lis3dh.SwigPyIterator___iadd__(self, n) def __isub__(self, n): return _pyupm_lis3dh.SwigPyIterator___isub__(self, n) def __add__(self, n): return _pyupm_lis3dh.SwigPyIterator___add__(self, n) def __sub__(self, *args): return _pyupm_lis3dh.SwigPyIterator___sub__(self, *args) def __iter__(self): return self
SwigPyIterator_swigregister = _pyupm_lis3dh.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_lis3dh.intVector_iterator(self)
def __iter__(self): return self.iterator() def __nonzero__(self): return _pyupm_lis3dh.intVector___nonzero__(self) def __bool__(self): return _pyupm_lis3dh.intVector___bool__(self) def __len__(self): return _pyupm_lis3dh.intVector___len__(self) def __getslice__(self, i, j): return _pyupm_lis3dh.intVector___getslice__(self, i, j) def __setslice__(self, *args): return _pyupm_lis3dh.intVector___setslice__(self, *args) def __delslice__(self, i, j): return _pyupm_lis3dh.intVector___delslice__(self, i, j) def __delitem__(self, *args): return _pyupm_lis3dh.intVector___delitem__(self, *args) def __getitem__(self, *args): return _pyupm_lis3dh.intVector___getitem__(self, *args) def __setitem__(self, *args): return _pyupm_lis3dh.intVector___setitem__(self, *args)
[docs] def pop(self): return _pyupm_lis3dh.intVector_pop(self)
[docs] def append(self, x): return _pyupm_lis3dh.intVector_append(self, x)
[docs] def empty(self): return _pyupm_lis3dh.intVector_empty(self)
[docs] def size(self): return _pyupm_lis3dh.intVector_size(self)
[docs] def swap(self, v): return _pyupm_lis3dh.intVector_swap(self, v)
[docs] def begin(self): return _pyupm_lis3dh.intVector_begin(self)
[docs] def end(self): return _pyupm_lis3dh.intVector_end(self)
[docs] def rbegin(self): return _pyupm_lis3dh.intVector_rbegin(self)
[docs] def rend(self): return _pyupm_lis3dh.intVector_rend(self)
[docs] def clear(self): return _pyupm_lis3dh.intVector_clear(self)
[docs] def get_allocator(self): return _pyupm_lis3dh.intVector_get_allocator(self)
[docs] def pop_back(self): return _pyupm_lis3dh.intVector_pop_back(self)
[docs] def erase(self, *args): return _pyupm_lis3dh.intVector_erase(self, *args)
def __init__(self, *args): this = _pyupm_lis3dh.new_intVector(*args) try: self.this.append(this) except Exception: self.this = this
[docs] def push_back(self, x): return _pyupm_lis3dh.intVector_push_back(self, x)
[docs] def front(self): return _pyupm_lis3dh.intVector_front(self)
[docs] def back(self): return _pyupm_lis3dh.intVector_back(self)
[docs] def assign(self, n, x): return _pyupm_lis3dh.intVector_assign(self, n, x)
[docs] def resize(self, *args): return _pyupm_lis3dh.intVector_resize(self, *args)
[docs] def insert(self, *args): return _pyupm_lis3dh.intVector_insert(self, *args)
[docs] def reserve(self, n): return _pyupm_lis3dh.intVector_reserve(self, n)
[docs] def capacity(self): return _pyupm_lis3dh.intVector_capacity(self)
__swig_destroy__ = _pyupm_lis3dh.delete_intVector __del__ = lambda self: None
intVector_swigregister = _pyupm_lis3dh.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_lis3dh.int16Vector_iterator(self)
def __iter__(self): return self.iterator() def __nonzero__(self): return _pyupm_lis3dh.int16Vector___nonzero__(self) def __bool__(self): return _pyupm_lis3dh.int16Vector___bool__(self) def __len__(self): return _pyupm_lis3dh.int16Vector___len__(self) def __getslice__(self, i, j): return _pyupm_lis3dh.int16Vector___getslice__(self, i, j) def __setslice__(self, *args): return _pyupm_lis3dh.int16Vector___setslice__(self, *args) def __delslice__(self, i, j): return _pyupm_lis3dh.int16Vector___delslice__(self, i, j) def __delitem__(self, *args): return _pyupm_lis3dh.int16Vector___delitem__(self, *args) def __getitem__(self, *args): return _pyupm_lis3dh.int16Vector___getitem__(self, *args) def __setitem__(self, *args): return _pyupm_lis3dh.int16Vector___setitem__(self, *args)
[docs] def pop(self): return _pyupm_lis3dh.int16Vector_pop(self)
[docs] def append(self, x): return _pyupm_lis3dh.int16Vector_append(self, x)
[docs] def empty(self): return _pyupm_lis3dh.int16Vector_empty(self)
[docs] def size(self): return _pyupm_lis3dh.int16Vector_size(self)
[docs] def swap(self, v): return _pyupm_lis3dh.int16Vector_swap(self, v)
[docs] def begin(self): return _pyupm_lis3dh.int16Vector_begin(self)
[docs] def end(self): return _pyupm_lis3dh.int16Vector_end(self)
[docs] def rbegin(self): return _pyupm_lis3dh.int16Vector_rbegin(self)
[docs] def rend(self): return _pyupm_lis3dh.int16Vector_rend(self)
[docs] def clear(self): return _pyupm_lis3dh.int16Vector_clear(self)
[docs] def get_allocator(self): return _pyupm_lis3dh.int16Vector_get_allocator(self)
[docs] def pop_back(self): return _pyupm_lis3dh.int16Vector_pop_back(self)
[docs] def erase(self, *args): return _pyupm_lis3dh.int16Vector_erase(self, *args)
def __init__(self, *args): this = _pyupm_lis3dh.new_int16Vector(*args) try: self.this.append(this) except Exception: self.this = this
[docs] def push_back(self, x): return _pyupm_lis3dh.int16Vector_push_back(self, x)
[docs] def front(self): return _pyupm_lis3dh.int16Vector_front(self)
[docs] def back(self): return _pyupm_lis3dh.int16Vector_back(self)
[docs] def assign(self, n, x): return _pyupm_lis3dh.int16Vector_assign(self, n, x)
[docs] def resize(self, *args): return _pyupm_lis3dh.int16Vector_resize(self, *args)
[docs] def insert(self, *args): return _pyupm_lis3dh.int16Vector_insert(self, *args)
[docs] def reserve(self, n): return _pyupm_lis3dh.int16Vector_reserve(self, n)
[docs] def capacity(self): return _pyupm_lis3dh.int16Vector_capacity(self)
__swig_destroy__ = _pyupm_lis3dh.delete_int16Vector __del__ = lambda self: None
int16Vector_swigregister = _pyupm_lis3dh.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_lis3dh.floatVector_iterator(self)
def __iter__(self): return self.iterator() def __nonzero__(self): return _pyupm_lis3dh.floatVector___nonzero__(self) def __bool__(self): return _pyupm_lis3dh.floatVector___bool__(self) def __len__(self): return _pyupm_lis3dh.floatVector___len__(self) def __getslice__(self, i, j): return _pyupm_lis3dh.floatVector___getslice__(self, i, j) def __setslice__(self, *args): return _pyupm_lis3dh.floatVector___setslice__(self, *args) def __delslice__(self, i, j): return _pyupm_lis3dh.floatVector___delslice__(self, i, j) def __delitem__(self, *args): return _pyupm_lis3dh.floatVector___delitem__(self, *args) def __getitem__(self, *args): return _pyupm_lis3dh.floatVector___getitem__(self, *args) def __setitem__(self, *args): return _pyupm_lis3dh.floatVector___setitem__(self, *args)
[docs] def pop(self): return _pyupm_lis3dh.floatVector_pop(self)
[docs] def append(self, x): return _pyupm_lis3dh.floatVector_append(self, x)
[docs] def empty(self): return _pyupm_lis3dh.floatVector_empty(self)
[docs] def size(self): return _pyupm_lis3dh.floatVector_size(self)
[docs] def swap(self, v): return _pyupm_lis3dh.floatVector_swap(self, v)
[docs] def begin(self): return _pyupm_lis3dh.floatVector_begin(self)
[docs] def end(self): return _pyupm_lis3dh.floatVector_end(self)
[docs] def rbegin(self): return _pyupm_lis3dh.floatVector_rbegin(self)
[docs] def rend(self): return _pyupm_lis3dh.floatVector_rend(self)
[docs] def clear(self): return _pyupm_lis3dh.floatVector_clear(self)
[docs] def get_allocator(self): return _pyupm_lis3dh.floatVector_get_allocator(self)
[docs] def pop_back(self): return _pyupm_lis3dh.floatVector_pop_back(self)
[docs] def erase(self, *args): return _pyupm_lis3dh.floatVector_erase(self, *args)
def __init__(self, *args): this = _pyupm_lis3dh.new_floatVector(*args) try: self.this.append(this) except Exception: self.this = this
[docs] def push_back(self, x): return _pyupm_lis3dh.floatVector_push_back(self, x)
[docs] def front(self): return _pyupm_lis3dh.floatVector_front(self)
[docs] def back(self): return _pyupm_lis3dh.floatVector_back(self)
[docs] def assign(self, n, x): return _pyupm_lis3dh.floatVector_assign(self, n, x)
[docs] def resize(self, *args): return _pyupm_lis3dh.floatVector_resize(self, *args)
[docs] def insert(self, *args): return _pyupm_lis3dh.floatVector_insert(self, *args)
[docs] def reserve(self, n): return _pyupm_lis3dh.floatVector_reserve(self, n)
[docs] def capacity(self): return _pyupm_lis3dh.floatVector_capacity(self)
__swig_destroy__ = _pyupm_lis3dh.delete_floatVector __del__ = lambda self: None
floatVector_swigregister = _pyupm_lis3dh.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_lis3dh.doubleVector_iterator(self)
def __iter__(self): return self.iterator() def __nonzero__(self): return _pyupm_lis3dh.doubleVector___nonzero__(self) def __bool__(self): return _pyupm_lis3dh.doubleVector___bool__(self) def __len__(self): return _pyupm_lis3dh.doubleVector___len__(self) def __getslice__(self, i, j): return _pyupm_lis3dh.doubleVector___getslice__(self, i, j) def __setslice__(self, *args): return _pyupm_lis3dh.doubleVector___setslice__(self, *args) def __delslice__(self, i, j): return _pyupm_lis3dh.doubleVector___delslice__(self, i, j) def __delitem__(self, *args): return _pyupm_lis3dh.doubleVector___delitem__(self, *args) def __getitem__(self, *args): return _pyupm_lis3dh.doubleVector___getitem__(self, *args) def __setitem__(self, *args): return _pyupm_lis3dh.doubleVector___setitem__(self, *args)
[docs] def pop(self): return _pyupm_lis3dh.doubleVector_pop(self)
[docs] def append(self, x): return _pyupm_lis3dh.doubleVector_append(self, x)
[docs] def empty(self): return _pyupm_lis3dh.doubleVector_empty(self)
[docs] def size(self): return _pyupm_lis3dh.doubleVector_size(self)
[docs] def swap(self, v): return _pyupm_lis3dh.doubleVector_swap(self, v)
[docs] def begin(self): return _pyupm_lis3dh.doubleVector_begin(self)
[docs] def end(self): return _pyupm_lis3dh.doubleVector_end(self)
[docs] def rbegin(self): return _pyupm_lis3dh.doubleVector_rbegin(self)
[docs] def rend(self): return _pyupm_lis3dh.doubleVector_rend(self)
[docs] def clear(self): return _pyupm_lis3dh.doubleVector_clear(self)
[docs] def get_allocator(self): return _pyupm_lis3dh.doubleVector_get_allocator(self)
[docs] def pop_back(self): return _pyupm_lis3dh.doubleVector_pop_back(self)
[docs] def erase(self, *args): return _pyupm_lis3dh.doubleVector_erase(self, *args)
def __init__(self, *args): this = _pyupm_lis3dh.new_doubleVector(*args) try: self.this.append(this) except Exception: self.this = this
[docs] def push_back(self, x): return _pyupm_lis3dh.doubleVector_push_back(self, x)
[docs] def front(self): return _pyupm_lis3dh.doubleVector_front(self)
[docs] def back(self): return _pyupm_lis3dh.doubleVector_back(self)
[docs] def assign(self, n, x): return _pyupm_lis3dh.doubleVector_assign(self, n, x)
[docs] def resize(self, *args): return _pyupm_lis3dh.doubleVector_resize(self, *args)
[docs] def insert(self, *args): return _pyupm_lis3dh.doubleVector_insert(self, *args)
[docs] def reserve(self, n): return _pyupm_lis3dh.doubleVector_reserve(self, n)
[docs] def capacity(self): return _pyupm_lis3dh.doubleVector_capacity(self)
__swig_destroy__ = _pyupm_lis3dh.delete_doubleVector __del__ = lambda self: None
doubleVector_swigregister = _pyupm_lis3dh.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_lis3dh.byteVector_iterator(self)
def __iter__(self): return self.iterator() def __nonzero__(self): return _pyupm_lis3dh.byteVector___nonzero__(self) def __bool__(self): return _pyupm_lis3dh.byteVector___bool__(self) def __len__(self): return _pyupm_lis3dh.byteVector___len__(self) def __getslice__(self, i, j): return _pyupm_lis3dh.byteVector___getslice__(self, i, j) def __setslice__(self, *args): return _pyupm_lis3dh.byteVector___setslice__(self, *args) def __delslice__(self, i, j): return _pyupm_lis3dh.byteVector___delslice__(self, i, j) def __delitem__(self, *args): return _pyupm_lis3dh.byteVector___delitem__(self, *args) def __getitem__(self, *args): return _pyupm_lis3dh.byteVector___getitem__(self, *args) def __setitem__(self, *args): return _pyupm_lis3dh.byteVector___setitem__(self, *args)
[docs] def pop(self): return _pyupm_lis3dh.byteVector_pop(self)
[docs] def append(self, x): return _pyupm_lis3dh.byteVector_append(self, x)
[docs] def empty(self): return _pyupm_lis3dh.byteVector_empty(self)
[docs] def size(self): return _pyupm_lis3dh.byteVector_size(self)
[docs] def swap(self, v): return _pyupm_lis3dh.byteVector_swap(self, v)
[docs] def begin(self): return _pyupm_lis3dh.byteVector_begin(self)
[docs] def end(self): return _pyupm_lis3dh.byteVector_end(self)
[docs] def rbegin(self): return _pyupm_lis3dh.byteVector_rbegin(self)
[docs] def rend(self): return _pyupm_lis3dh.byteVector_rend(self)
[docs] def clear(self): return _pyupm_lis3dh.byteVector_clear(self)
[docs] def get_allocator(self): return _pyupm_lis3dh.byteVector_get_allocator(self)
[docs] def pop_back(self): return _pyupm_lis3dh.byteVector_pop_back(self)
[docs] def erase(self, *args): return _pyupm_lis3dh.byteVector_erase(self, *args)
def __init__(self, *args): this = _pyupm_lis3dh.new_byteVector(*args) try: self.this.append(this) except Exception: self.this = this
[docs] def push_back(self, x): return _pyupm_lis3dh.byteVector_push_back(self, x)
[docs] def front(self): return _pyupm_lis3dh.byteVector_front(self)
[docs] def back(self): return _pyupm_lis3dh.byteVector_back(self)
[docs] def assign(self, n, x): return _pyupm_lis3dh.byteVector_assign(self, n, x)
[docs] def resize(self, *args): return _pyupm_lis3dh.byteVector_resize(self, *args)
[docs] def insert(self, *args): return _pyupm_lis3dh.byteVector_insert(self, *args)
[docs] def reserve(self, n): return _pyupm_lis3dh.byteVector_reserve(self, n)
[docs] def capacity(self): return _pyupm_lis3dh.byteVector_capacity(self)
__swig_destroy__ = _pyupm_lis3dh.delete_byteVector __del__ = lambda self: None
byteVector_swigregister = _pyupm_lis3dh.byteVector_swigregister byteVector_swigregister(byteVector) _pyupm_lis3dh.LIS3DH_DEFAULT_I2C_BUS_swigconstant(_pyupm_lis3dh) LIS3DH_DEFAULT_I2C_BUS = _pyupm_lis3dh.LIS3DH_DEFAULT_I2C_BUS _pyupm_lis3dh.LIS3DH_DEFAULT_SPI_BUS_swigconstant(_pyupm_lis3dh) LIS3DH_DEFAULT_SPI_BUS = _pyupm_lis3dh.LIS3DH_DEFAULT_SPI_BUS _pyupm_lis3dh.LIS3DH_DEFAULT_I2C_ADDR_swigconstant(_pyupm_lis3dh) LIS3DH_DEFAULT_I2C_ADDR = _pyupm_lis3dh.LIS3DH_DEFAULT_I2C_ADDR _pyupm_lis3dh.LIS3DH_CHIPID_swigconstant(_pyupm_lis3dh) LIS3DH_CHIPID = _pyupm_lis3dh.LIS3DH_CHIPID _pyupm_lis3dh.LIS3DH_REG_STATUS_REG_AUX_swigconstant(_pyupm_lis3dh) LIS3DH_REG_STATUS_REG_AUX = _pyupm_lis3dh.LIS3DH_REG_STATUS_REG_AUX _pyupm_lis3dh.LIS3DH_REG_OUT_ADC1_L_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_ADC1_L = _pyupm_lis3dh.LIS3DH_REG_OUT_ADC1_L _pyupm_lis3dh.LIS3DH_REG_OUT_ADC1_H_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_ADC1_H = _pyupm_lis3dh.LIS3DH_REG_OUT_ADC1_H _pyupm_lis3dh.LIS3DH_REG_OUT_ADC2_L_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_ADC2_L = _pyupm_lis3dh.LIS3DH_REG_OUT_ADC2_L _pyupm_lis3dh.LIS3DH_REG_OUT_ADC2_H_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_ADC2_H = _pyupm_lis3dh.LIS3DH_REG_OUT_ADC2_H _pyupm_lis3dh.LIS3DH_REG_OUT_ADC3_L_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_ADC3_L = _pyupm_lis3dh.LIS3DH_REG_OUT_ADC3_L _pyupm_lis3dh.LIS3DH_REG_OUT_ADC3_H_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_ADC3_H = _pyupm_lis3dh.LIS3DH_REG_OUT_ADC3_H _pyupm_lis3dh.LIS3DH_REG_WHO_AM_I_swigconstant(_pyupm_lis3dh) LIS3DH_REG_WHO_AM_I = _pyupm_lis3dh.LIS3DH_REG_WHO_AM_I _pyupm_lis3dh.LIS3DH_REG_CTRL_REG0_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CTRL_REG0 = _pyupm_lis3dh.LIS3DH_REG_CTRL_REG0 _pyupm_lis3dh.LIS3DH_REG_TEMP_CFG_REG_swigconstant(_pyupm_lis3dh) LIS3DH_REG_TEMP_CFG_REG = _pyupm_lis3dh.LIS3DH_REG_TEMP_CFG_REG _pyupm_lis3dh.LIS3DH_REG_CTRL_REG1_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CTRL_REG1 = _pyupm_lis3dh.LIS3DH_REG_CTRL_REG1 _pyupm_lis3dh.LIS3DH_REG_CTRL_REG2_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CTRL_REG2 = _pyupm_lis3dh.LIS3DH_REG_CTRL_REG2 _pyupm_lis3dh.LIS3DH_REG_CTRL_REG3_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CTRL_REG3 = _pyupm_lis3dh.LIS3DH_REG_CTRL_REG3 _pyupm_lis3dh.LIS3DH_REG_CTRL_REG4_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CTRL_REG4 = _pyupm_lis3dh.LIS3DH_REG_CTRL_REG4 _pyupm_lis3dh.LIS3DH_REG_CTRL_REG5_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CTRL_REG5 = _pyupm_lis3dh.LIS3DH_REG_CTRL_REG5 _pyupm_lis3dh.LIS3DH_REG_CTRL_REG6_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CTRL_REG6 = _pyupm_lis3dh.LIS3DH_REG_CTRL_REG6 _pyupm_lis3dh.LIS3DH_REG_REFERENCE_swigconstant(_pyupm_lis3dh) LIS3DH_REG_REFERENCE = _pyupm_lis3dh.LIS3DH_REG_REFERENCE _pyupm_lis3dh.LIS3DH_REG_STATUS_REG_swigconstant(_pyupm_lis3dh) LIS3DH_REG_STATUS_REG = _pyupm_lis3dh.LIS3DH_REG_STATUS_REG _pyupm_lis3dh.LIS3DH_REG_OUT_X_L_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_X_L = _pyupm_lis3dh.LIS3DH_REG_OUT_X_L _pyupm_lis3dh.LIS3DH_REG_OUT_X_H_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_X_H = _pyupm_lis3dh.LIS3DH_REG_OUT_X_H _pyupm_lis3dh.LIS3DH_REG_OUT_Y_L_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_Y_L = _pyupm_lis3dh.LIS3DH_REG_OUT_Y_L _pyupm_lis3dh.LIS3DH_REG_OUT_Y_H_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_Y_H = _pyupm_lis3dh.LIS3DH_REG_OUT_Y_H _pyupm_lis3dh.LIS3DH_REG_OUT_Z_L_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_Z_L = _pyupm_lis3dh.LIS3DH_REG_OUT_Z_L _pyupm_lis3dh.LIS3DH_REG_OUT_Z_H_swigconstant(_pyupm_lis3dh) LIS3DH_REG_OUT_Z_H = _pyupm_lis3dh.LIS3DH_REG_OUT_Z_H _pyupm_lis3dh.LIS3DH_REG_FIFO_CTRL_REG_swigconstant(_pyupm_lis3dh) LIS3DH_REG_FIFO_CTRL_REG = _pyupm_lis3dh.LIS3DH_REG_FIFO_CTRL_REG _pyupm_lis3dh.LIS3DH_REG_FIFO_SRC_REG_swigconstant(_pyupm_lis3dh) LIS3DH_REG_FIFO_SRC_REG = _pyupm_lis3dh.LIS3DH_REG_FIFO_SRC_REG _pyupm_lis3dh.LIS3DH_REG_INT1_CFG_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT1_CFG = _pyupm_lis3dh.LIS3DH_REG_INT1_CFG _pyupm_lis3dh.LIS3DH_REG_INT1_SRC_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT1_SRC = _pyupm_lis3dh.LIS3DH_REG_INT1_SRC _pyupm_lis3dh.LIS3DH_REG_INT1_THS_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT1_THS = _pyupm_lis3dh.LIS3DH_REG_INT1_THS _pyupm_lis3dh.LIS3DH_REG_INT1_DURATION_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT1_DURATION = _pyupm_lis3dh.LIS3DH_REG_INT1_DURATION _pyupm_lis3dh.LIS3DH_REG_INT2_CFG_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT2_CFG = _pyupm_lis3dh.LIS3DH_REG_INT2_CFG _pyupm_lis3dh.LIS3DH_REG_INT2_SRC_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT2_SRC = _pyupm_lis3dh.LIS3DH_REG_INT2_SRC _pyupm_lis3dh.LIS3DH_REG_INT2_THS_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT2_THS = _pyupm_lis3dh.LIS3DH_REG_INT2_THS _pyupm_lis3dh.LIS3DH_REG_INT2_DURATION_swigconstant(_pyupm_lis3dh) LIS3DH_REG_INT2_DURATION = _pyupm_lis3dh.LIS3DH_REG_INT2_DURATION _pyupm_lis3dh.LIS3DH_REG_CLICK_CFG_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CLICK_CFG = _pyupm_lis3dh.LIS3DH_REG_CLICK_CFG _pyupm_lis3dh.LIS3DH_REG_CLICK_SRC_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CLICK_SRC = _pyupm_lis3dh.LIS3DH_REG_CLICK_SRC _pyupm_lis3dh.LIS3DH_REG_CLICK_THS_swigconstant(_pyupm_lis3dh) LIS3DH_REG_CLICK_THS = _pyupm_lis3dh.LIS3DH_REG_CLICK_THS _pyupm_lis3dh.LIS3DH_REG_TIME_LIMIT_swigconstant(_pyupm_lis3dh) LIS3DH_REG_TIME_LIMIT = _pyupm_lis3dh.LIS3DH_REG_TIME_LIMIT _pyupm_lis3dh.LIS3DH_REG_TIME_LATENCY_swigconstant(_pyupm_lis3dh) LIS3DH_REG_TIME_LATENCY = _pyupm_lis3dh.LIS3DH_REG_TIME_LATENCY _pyupm_lis3dh.LIS3DH_REG_TIME_WINDOW_swigconstant(_pyupm_lis3dh) LIS3DH_REG_TIME_WINDOW = _pyupm_lis3dh.LIS3DH_REG_TIME_WINDOW _pyupm_lis3dh.LIS3DH_REG_ACT_THS_swigconstant(_pyupm_lis3dh) LIS3DH_REG_ACT_THS = _pyupm_lis3dh.LIS3DH_REG_ACT_THS _pyupm_lis3dh.LIS3DH_REG_ACT_DUR_swigconstant(_pyupm_lis3dh) LIS3DH_REG_ACT_DUR = _pyupm_lis3dh.LIS3DH_REG_ACT_DUR _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_1DA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_1DA = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_1DA _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_2DA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_2DA = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_2DA _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_3DA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_3DA = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_3DA _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_321DA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_321DA = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_321DA _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_1OR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_1OR = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_1OR _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_2OR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_2OR = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_2OR _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_3OR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_3OR = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_3OR _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_321OR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_AUX_321OR = _pyupm_lis3dh.LIS3DH_STATUS_REG_AUX_321OR _pyupm_lis3dh.LIS3DH_CTRL_REG0_SDO_PU_DISC_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG0_SDO_PU_DISC = _pyupm_lis3dh.LIS3DH_CTRL_REG0_SDO_PU_DISC _pyupm_lis3dh.LIS3DH_TEMP_CFG_REG_TEMP_EN_swigconstant(_pyupm_lis3dh) LIS3DH_TEMP_CFG_REG_TEMP_EN = _pyupm_lis3dh.LIS3DH_TEMP_CFG_REG_TEMP_EN _pyupm_lis3dh.LIS3DH_TEMP_CFG_REG_ADC_EN_swigconstant(_pyupm_lis3dh) LIS3DH_TEMP_CFG_REG_ADC_EN = _pyupm_lis3dh.LIS3DH_TEMP_CFG_REG_ADC_EN _pyupm_lis3dh.LIS3DH_CTRL_REG1_XEN_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_XEN = _pyupm_lis3dh.LIS3DH_CTRL_REG1_XEN _pyupm_lis3dh.LIS3DH_CTRL_REG1_YEN_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_YEN = _pyupm_lis3dh.LIS3DH_CTRL_REG1_YEN _pyupm_lis3dh.LIS3DH_CTRL_REG1_ZEN_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_ZEN = _pyupm_lis3dh.LIS3DH_CTRL_REG1_ZEN _pyupm_lis3dh.LIS3DH_CTRL_REG1_LPEN_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_LPEN = _pyupm_lis3dh.LIS3DH_CTRL_REG1_LPEN _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR0_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_ODR0 = _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR0 _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_ODR1 = _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR1 _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR2_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_ODR2 = _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR2 _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR3_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG1_ODR3 = _pyupm_lis3dh.LIS3DH_CTRL_REG1_ODR3 _pyupm_lis3dh._LIS3DH_CTRL_REG1_ODR_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG1_ODR_MASK = _pyupm_lis3dh._LIS3DH_CTRL_REG1_ODR_MASK _pyupm_lis3dh._LIS3DH_CTRL_REG1_ODR_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG1_ODR_SHIFT = _pyupm_lis3dh._LIS3DH_CTRL_REG1_ODR_SHIFT _pyupm_lis3dh.LIS3DH_ODR_POWER_DOWN_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_POWER_DOWN = _pyupm_lis3dh.LIS3DH_ODR_POWER_DOWN _pyupm_lis3dh.LIS3DH_ODR_1HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_1HZ = _pyupm_lis3dh.LIS3DH_ODR_1HZ _pyupm_lis3dh.LIS3DH_ODR_10HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_10HZ = _pyupm_lis3dh.LIS3DH_ODR_10HZ _pyupm_lis3dh.LIS3DH_ODR_25HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_25HZ = _pyupm_lis3dh.LIS3DH_ODR_25HZ _pyupm_lis3dh.LIS3DH_ODR_50HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_50HZ = _pyupm_lis3dh.LIS3DH_ODR_50HZ _pyupm_lis3dh.LIS3DH_ODR_100HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_100HZ = _pyupm_lis3dh.LIS3DH_ODR_100HZ _pyupm_lis3dh.LIS3DH_ODR_200HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_200HZ = _pyupm_lis3dh.LIS3DH_ODR_200HZ _pyupm_lis3dh.LIS3DH_ODR_400HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_400HZ = _pyupm_lis3dh.LIS3DH_ODR_400HZ _pyupm_lis3dh.LIS3DH_ODR_1344HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_1344HZ = _pyupm_lis3dh.LIS3DH_ODR_1344HZ _pyupm_lis3dh.LIS3DH_ODR_5376HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_5376HZ = _pyupm_lis3dh.LIS3DH_ODR_5376HZ _pyupm_lis3dh.LIS3DH_ODR_LP_1600HZ_swigconstant(_pyupm_lis3dh) LIS3DH_ODR_LP_1600HZ = _pyupm_lis3dh.LIS3DH_ODR_LP_1600HZ _pyupm_lis3dh.LIS3DH_CTRL_REG2_HP_IA1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_HP_IA1 = _pyupm_lis3dh.LIS3DH_CTRL_REG2_HP_IA1 _pyupm_lis3dh.LIS3DH_CTRL_REG2_HP_IA2_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_HP_IA2 = _pyupm_lis3dh.LIS3DH_CTRL_REG2_HP_IA2 _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPCLICK_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_HPCLICK = _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPCLICK _pyupm_lis3dh.LIS3DH_CTRL_REG2_FDS_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_FDS = _pyupm_lis3dh.LIS3DH_CTRL_REG2_FDS _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPCF0_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_HPCF0 = _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPCF0 _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPCF1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_HPCF1 = _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPCF1 _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPCF_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG2_HPCF_MASK = _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPCF_MASK _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPCF_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG2_HPCF_SHIFT = _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPCF_SHIFT _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPM0_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_HPM0 = _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPM0 _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPM1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG2_HPM1 = _pyupm_lis3dh.LIS3DH_CTRL_REG2_HPM1 _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPM_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG2_HPM_MASK = _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPM_MASK _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPM_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG2_HPM_SHIFT = _pyupm_lis3dh._LIS3DH_CTRL_REG2_HPM_SHIFT _pyupm_lis3dh.LIS3DH_HPM_NORMAL_RST_REF_READ_swigconstant(_pyupm_lis3dh) LIS3DH_HPM_NORMAL_RST_REF_READ = _pyupm_lis3dh.LIS3DH_HPM_NORMAL_RST_REF_READ _pyupm_lis3dh.LIS3DH_HPM_REF_SIGNAL_swigconstant(_pyupm_lis3dh) LIS3DH_HPM_REF_SIGNAL = _pyupm_lis3dh.LIS3DH_HPM_REF_SIGNAL _pyupm_lis3dh.LIS3DH_HPM_NORMAL_swigconstant(_pyupm_lis3dh) LIS3DH_HPM_NORMAL = _pyupm_lis3dh.LIS3DH_HPM_NORMAL _pyupm_lis3dh.LIS3DH_HPM_AUTORST_swigconstant(_pyupm_lis3dh) LIS3DH_HPM_AUTORST = _pyupm_lis3dh.LIS3DH_HPM_AUTORST _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_OVERRUN_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG3_I1_OVERRUN = _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_OVERRUN _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_WTM_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG3_I1_WTM = _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_WTM _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_321DA_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG3_I1_321DA = _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_321DA _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_ZYXDA_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG3_I1_ZYXDA = _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_ZYXDA _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_IA2_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG3_I1_IA2 = _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_IA2 _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_IA1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG3_I1_IA1 = _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_IA1 _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_CLICK_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG3_I1_CLICK = _pyupm_lis3dh.LIS3DH_CTRL_REG3_I1_CLICK _pyupm_lis3dh.LIS3DH_CTRL_REG4_SIM_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_SIM = _pyupm_lis3dh.LIS3DH_CTRL_REG4_SIM _pyupm_lis3dh.LIS3DH_CTRL_REG4_ST0_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_ST0 = _pyupm_lis3dh.LIS3DH_CTRL_REG4_ST0 _pyupm_lis3dh.LIS3DH_CTRL_REG4_ST1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_ST1 = _pyupm_lis3dh.LIS3DH_CTRL_REG4_ST1 _pyupm_lis3dh._LIS3DH_CTRL_REG4_ST_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG4_ST_MASK = _pyupm_lis3dh._LIS3DH_CTRL_REG4_ST_MASK _pyupm_lis3dh._LIS3DH_CTRL_REG4_ST_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG4_ST_SHIFT = _pyupm_lis3dh._LIS3DH_CTRL_REG4_ST_SHIFT _pyupm_lis3dh.LIS3DH_CTRL_REG4_HR_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_HR = _pyupm_lis3dh.LIS3DH_CTRL_REG4_HR _pyupm_lis3dh.LIS3DH_CTRL_REG4_FS0_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_FS0 = _pyupm_lis3dh.LIS3DH_CTRL_REG4_FS0 _pyupm_lis3dh.LIS3DH_CTRL_REG4_FS1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_FS1 = _pyupm_lis3dh.LIS3DH_CTRL_REG4_FS1 _pyupm_lis3dh._LIS3DH_CTRL_REG4_FS_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG4_FS_MASK = _pyupm_lis3dh._LIS3DH_CTRL_REG4_FS_MASK _pyupm_lis3dh._LIS3DH_CTRL_REG4_FS_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_CTRL_REG4_FS_SHIFT = _pyupm_lis3dh._LIS3DH_CTRL_REG4_FS_SHIFT _pyupm_lis3dh.LIS3DH_CTRL_REG4_BLE_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_BLE = _pyupm_lis3dh.LIS3DH_CTRL_REG4_BLE _pyupm_lis3dh.LIS3DH_CTRL_REG4_BDU_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG4_BDU = _pyupm_lis3dh.LIS3DH_CTRL_REG4_BDU _pyupm_lis3dh.LIS3DH_ST_NORMAL_swigconstant(_pyupm_lis3dh) LIS3DH_ST_NORMAL = _pyupm_lis3dh.LIS3DH_ST_NORMAL _pyupm_lis3dh.LIS3DH_ST_ST0_swigconstant(_pyupm_lis3dh) LIS3DH_ST_ST0 = _pyupm_lis3dh.LIS3DH_ST_ST0 _pyupm_lis3dh.LIS3DH_ST_ST1_swigconstant(_pyupm_lis3dh) LIS3DH_ST_ST1 = _pyupm_lis3dh.LIS3DH_ST_ST1 _pyupm_lis3dh.LIS3DH_FS_2G_swigconstant(_pyupm_lis3dh) LIS3DH_FS_2G = _pyupm_lis3dh.LIS3DH_FS_2G _pyupm_lis3dh.LIS3DH_FS_4G_swigconstant(_pyupm_lis3dh) LIS3DH_FS_4G = _pyupm_lis3dh.LIS3DH_FS_4G _pyupm_lis3dh.LIS3DH_FS_8G_swigconstant(_pyupm_lis3dh) LIS3DH_FS_8G = _pyupm_lis3dh.LIS3DH_FS_8G _pyupm_lis3dh.LIS3DH_FS_16G_swigconstant(_pyupm_lis3dh) LIS3DH_FS_16G = _pyupm_lis3dh.LIS3DH_FS_16G _pyupm_lis3dh.LIS3DH_CTRL_REG5_D4D_INT2_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG5_D4D_INT2 = _pyupm_lis3dh.LIS3DH_CTRL_REG5_D4D_INT2 _pyupm_lis3dh.LIS3DH_CTRL_REG5_LIR_INT2_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG5_LIR_INT2 = _pyupm_lis3dh.LIS3DH_CTRL_REG5_LIR_INT2 _pyupm_lis3dh.LIS3DH_CTRL_REG5_D4D_INT1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG5_D4D_INT1 = _pyupm_lis3dh.LIS3DH_CTRL_REG5_D4D_INT1 _pyupm_lis3dh.LIS3DH_CTRL_REG5_LIR_INT1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG5_LIR_INT1 = _pyupm_lis3dh.LIS3DH_CTRL_REG5_LIR_INT1 _pyupm_lis3dh.LIS3DH_CTRL_REG5_FIFO_EN_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG5_FIFO_EN = _pyupm_lis3dh.LIS3DH_CTRL_REG5_FIFO_EN _pyupm_lis3dh.LIS3DH_CTRL_REG5_BOOT_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG5_BOOT = _pyupm_lis3dh.LIS3DH_CTRL_REG5_BOOT _pyupm_lis3dh.LIS3DH_CTRL_REG6_INT_POLARITY_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG6_INT_POLARITY = _pyupm_lis3dh.LIS3DH_CTRL_REG6_INT_POLARITY _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_ACT_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG6_I2_ACT = _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_ACT _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_BOOT_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG6_I2_BOOT = _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_BOOT _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_IA2_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG6_I2_IA2 = _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_IA2 _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_IA1_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG6_I2_IA1 = _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_IA1 _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_CLICK_swigconstant(_pyupm_lis3dh) LIS3DH_CTRL_REG6_I2_CLICK = _pyupm_lis3dh.LIS3DH_CTRL_REG6_I2_CLICK _pyupm_lis3dh.LIS3DH_STATUS_REG_XDA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_XDA = _pyupm_lis3dh.LIS3DH_STATUS_REG_XDA _pyupm_lis3dh.LIS3DH_STATUS_REG_YDA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_YDA = _pyupm_lis3dh.LIS3DH_STATUS_REG_YDA _pyupm_lis3dh.LIS3DH_STATUS_REG_ZDA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_ZDA = _pyupm_lis3dh.LIS3DH_STATUS_REG_ZDA _pyupm_lis3dh.LIS3DH_STATUS_REG_ZYXDA_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_ZYXDA = _pyupm_lis3dh.LIS3DH_STATUS_REG_ZYXDA _pyupm_lis3dh.LIS3DH_STATUS_REG_XOR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_XOR = _pyupm_lis3dh.LIS3DH_STATUS_REG_XOR _pyupm_lis3dh.LIS3DH_STATUS_REG_YOR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_YOR = _pyupm_lis3dh.LIS3DH_STATUS_REG_YOR _pyupm_lis3dh.LIS3DH_STATUS_REG_ZOR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_ZOR = _pyupm_lis3dh.LIS3DH_STATUS_REG_ZOR _pyupm_lis3dh.LIS3DH_STATUS_REG_ZYXOR_swigconstant(_pyupm_lis3dh) LIS3DH_STATUS_REG_ZYXOR = _pyupm_lis3dh.LIS3DH_STATUS_REG_ZYXOR _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH0_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_FTH0 = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH0 _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH1_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_FTH1 = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH1 _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH2_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_FTH2 = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH2 _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH3_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_FTH3 = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH3 _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH4_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_FTH4 = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FTH4 _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FTH_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_FIFO_CTRL_REG_FTH_MASK = _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FTH_MASK _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FTH_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_FIFO_CTRL_REG_FTH_SHIFT = _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FTH_SHIFT _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_TR_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_TR = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_TR _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FM0_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_FM0 = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FM0 _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FM1_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_CTRL_REG_FM1 = _pyupm_lis3dh.LIS3DH_FIFO_CTRL_REG_FM1 _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FM_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_FIFO_CTRL_REG_FM_MASK = _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FM_MASK _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FM_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_FIFO_CTRL_REG_FM_SHIFT = _pyupm_lis3dh._LIS3DH_FIFO_CTRL_REG_FM_SHIFT _pyupm_lis3dh.LIS3DH_FM_BYPASS_swigconstant(_pyupm_lis3dh) LIS3DH_FM_BYPASS = _pyupm_lis3dh.LIS3DH_FM_BYPASS _pyupm_lis3dh.LIS3DH_FM_FIFO_swigconstant(_pyupm_lis3dh) LIS3DH_FM_FIFO = _pyupm_lis3dh.LIS3DH_FM_FIFO _pyupm_lis3dh.LIS3DH_FM_STREAM_swigconstant(_pyupm_lis3dh) LIS3DH_FM_STREAM = _pyupm_lis3dh.LIS3DH_FM_STREAM _pyupm_lis3dh.LIS3DH_FM_STREAM_TO_FIFO_swigconstant(_pyupm_lis3dh) LIS3DH_FM_STREAM_TO_FIFO = _pyupm_lis3dh.LIS3DH_FM_STREAM_TO_FIFO _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS0_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_FSS0 = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS0 _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS1_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_FSS1 = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS1 _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS2_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_FSS2 = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS2 _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS3_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_FSS3 = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS3 _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS4_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_FSS4 = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_FSS4 _pyupm_lis3dh._LIS3DH_FIFO_SRC_REG_FSS_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_FIFO_SRC_REG_FSS_MASK = _pyupm_lis3dh._LIS3DH_FIFO_SRC_REG_FSS_MASK _pyupm_lis3dh._LIS3DH_FIFO_SRC_REG_FSS_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_FIFO_SRC_REG_FSS_SHIFT = _pyupm_lis3dh._LIS3DH_FIFO_SRC_REG_FSS_SHIFT _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_EMPTY_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_EMPTY = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_EMPTY _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_OVRN_FIFO_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_OVRN_FIFO = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_OVRN_FIFO _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_WTM_swigconstant(_pyupm_lis3dh) LIS3DH_FIFO_SRC_REG_WTM = _pyupm_lis3dh.LIS3DH_FIFO_SRC_REG_WTM _pyupm_lis3dh.LIS3DH_INT1_CFG_XLIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_XLIE = _pyupm_lis3dh.LIS3DH_INT1_CFG_XLIE _pyupm_lis3dh.LIS3DH_INT1_CFG_XHIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_XHIE = _pyupm_lis3dh.LIS3DH_INT1_CFG_XHIE _pyupm_lis3dh.LIS3DH_INT1_CFG_YLIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_YLIE = _pyupm_lis3dh.LIS3DH_INT1_CFG_YLIE _pyupm_lis3dh.LIS3DH_INT1_CFG_YHIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_YHIE = _pyupm_lis3dh.LIS3DH_INT1_CFG_YHIE _pyupm_lis3dh.LIS3DH_INT1_CFG_ZLIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_ZLIE = _pyupm_lis3dh.LIS3DH_INT1_CFG_ZLIE _pyupm_lis3dh.LIS3DH_INT1_CFG_ZHIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_ZHIE = _pyupm_lis3dh.LIS3DH_INT1_CFG_ZHIE _pyupm_lis3dh.LIS3DH_INT1_CFG_6D_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_6D = _pyupm_lis3dh.LIS3DH_INT1_CFG_6D _pyupm_lis3dh.LIS3DH_INT1_CFG_AOI_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_CFG_AOI = _pyupm_lis3dh.LIS3DH_INT1_CFG_AOI _pyupm_lis3dh.LIS3DH_INT1_SRC_XL_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_SRC_XL = _pyupm_lis3dh.LIS3DH_INT1_SRC_XL _pyupm_lis3dh.LIS3DH_INT1_SRC_XH_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_SRC_XH = _pyupm_lis3dh.LIS3DH_INT1_SRC_XH _pyupm_lis3dh.LIS3DH_INT1_SRC_YL_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_SRC_YL = _pyupm_lis3dh.LIS3DH_INT1_SRC_YL _pyupm_lis3dh.LIS3DH_INT1_SRC_YH_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_SRC_YH = _pyupm_lis3dh.LIS3DH_INT1_SRC_YH _pyupm_lis3dh.LIS3DH_INT1_SRC_ZL_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_SRC_ZL = _pyupm_lis3dh.LIS3DH_INT1_SRC_ZL _pyupm_lis3dh.LIS3DH_INT1_SRC_ZH_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_SRC_ZH = _pyupm_lis3dh.LIS3DH_INT1_SRC_ZH _pyupm_lis3dh.LIS3DH_INT1_SRC_IA_swigconstant(_pyupm_lis3dh) LIS3DH_INT1_SRC_IA = _pyupm_lis3dh.LIS3DH_INT1_SRC_IA _pyupm_lis3dh.LIS3DH_INT2_CFG_XLIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_XLIE = _pyupm_lis3dh.LIS3DH_INT2_CFG_XLIE _pyupm_lis3dh.LIS3DH_INT2_CFG_XHIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_XHIE = _pyupm_lis3dh.LIS3DH_INT2_CFG_XHIE _pyupm_lis3dh.LIS3DH_INT2_CFG_YLIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_YLIE = _pyupm_lis3dh.LIS3DH_INT2_CFG_YLIE _pyupm_lis3dh.LIS3DH_INT2_CFG_YHIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_YHIE = _pyupm_lis3dh.LIS3DH_INT2_CFG_YHIE _pyupm_lis3dh.LIS3DH_INT2_CFG_ZLIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_ZLIE = _pyupm_lis3dh.LIS3DH_INT2_CFG_ZLIE _pyupm_lis3dh.LIS3DH_INT2_CFG_ZHIE_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_ZHIE = _pyupm_lis3dh.LIS3DH_INT2_CFG_ZHIE _pyupm_lis3dh.LIS3DH_INT2_CFG_6D_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_6D = _pyupm_lis3dh.LIS3DH_INT2_CFG_6D _pyupm_lis3dh.LIS3DH_INT2_CFG_AOI_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_CFG_AOI = _pyupm_lis3dh.LIS3DH_INT2_CFG_AOI _pyupm_lis3dh.LIS3DH_INT2_SRC_XL_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_SRC_XL = _pyupm_lis3dh.LIS3DH_INT2_SRC_XL _pyupm_lis3dh.LIS3DH_INT2_SRC_XH_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_SRC_XH = _pyupm_lis3dh.LIS3DH_INT2_SRC_XH _pyupm_lis3dh.LIS3DH_INT2_SRC_YL_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_SRC_YL = _pyupm_lis3dh.LIS3DH_INT2_SRC_YL _pyupm_lis3dh.LIS3DH_INT2_SRC_YH_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_SRC_YH = _pyupm_lis3dh.LIS3DH_INT2_SRC_YH _pyupm_lis3dh.LIS3DH_INT2_SRC_ZL_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_SRC_ZL = _pyupm_lis3dh.LIS3DH_INT2_SRC_ZL _pyupm_lis3dh.LIS3DH_INT2_SRC_ZH_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_SRC_ZH = _pyupm_lis3dh.LIS3DH_INT2_SRC_ZH _pyupm_lis3dh.LIS3DH_INT2_SRC_IA_swigconstant(_pyupm_lis3dh) LIS3DH_INT2_SRC_IA = _pyupm_lis3dh.LIS3DH_INT2_SRC_IA _pyupm_lis3dh.LIS3DH_CLICK_CFG_XS_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_CFG_XS = _pyupm_lis3dh.LIS3DH_CLICK_CFG_XS _pyupm_lis3dh.LIS3DH_CLICK_CFG_XD_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_CFG_XD = _pyupm_lis3dh.LIS3DH_CLICK_CFG_XD _pyupm_lis3dh.LIS3DH_CLICK_CFG_YS_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_CFG_YS = _pyupm_lis3dh.LIS3DH_CLICK_CFG_YS _pyupm_lis3dh.LIS3DH_CLICK_CFG_YD_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_CFG_YD = _pyupm_lis3dh.LIS3DH_CLICK_CFG_YD _pyupm_lis3dh.LIS3DH_CLICK_CFG_ZS_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_CFG_ZS = _pyupm_lis3dh.LIS3DH_CLICK_CFG_ZS _pyupm_lis3dh.LIS3DH_CLICK_CFG_ZD_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_CFG_ZD = _pyupm_lis3dh.LIS3DH_CLICK_CFG_ZD _pyupm_lis3dh.LIS3DH_CLICK_SRC_X_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_SRC_X = _pyupm_lis3dh.LIS3DH_CLICK_SRC_X _pyupm_lis3dh.LIS3DH_CLICK_SRC_Y_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_SRC_Y = _pyupm_lis3dh.LIS3DH_CLICK_SRC_Y _pyupm_lis3dh.LIS3DH_CLICK_SRC_Z_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_SRC_Z = _pyupm_lis3dh.LIS3DH_CLICK_SRC_Z _pyupm_lis3dh.LIS3DH_CLICK_SRC_SIGN_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_SRC_SIGN = _pyupm_lis3dh.LIS3DH_CLICK_SRC_SIGN _pyupm_lis3dh.LIS3DH_CLICK_SRC_SCLICK_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_SRC_SCLICK = _pyupm_lis3dh.LIS3DH_CLICK_SRC_SCLICK _pyupm_lis3dh.LIS3DH_CLICK_SRC_DCLICK_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_SRC_DCLICK = _pyupm_lis3dh.LIS3DH_CLICK_SRC_DCLICK _pyupm_lis3dh.LIS3DH_CLICK_SRC_IA_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_SRC_IA = _pyupm_lis3dh.LIS3DH_CLICK_SRC_IA _pyupm_lis3dh.LIS3DH_CLICK_THS_THS0_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_THS0 = _pyupm_lis3dh.LIS3DH_CLICK_THS_THS0 _pyupm_lis3dh.LIS3DH_CLICK_THS_THS1_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_THS1 = _pyupm_lis3dh.LIS3DH_CLICK_THS_THS1 _pyupm_lis3dh.LIS3DH_CLICK_THS_THS2_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_THS2 = _pyupm_lis3dh.LIS3DH_CLICK_THS_THS2 _pyupm_lis3dh.LIS3DH_CLICK_THS_THS3_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_THS3 = _pyupm_lis3dh.LIS3DH_CLICK_THS_THS3 _pyupm_lis3dh.LIS3DH_CLICK_THS_THS4_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_THS4 = _pyupm_lis3dh.LIS3DH_CLICK_THS_THS4 _pyupm_lis3dh.LIS3DH_CLICK_THS_THS5_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_THS5 = _pyupm_lis3dh.LIS3DH_CLICK_THS_THS5 _pyupm_lis3dh.LIS3DH_CLICK_THS_THS6_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_THS6 = _pyupm_lis3dh.LIS3DH_CLICK_THS_THS6 _pyupm_lis3dh._LIS3DH_CLICK_THS_THS_MASK_swigconstant(_pyupm_lis3dh) _LIS3DH_CLICK_THS_THS_MASK = _pyupm_lis3dh._LIS3DH_CLICK_THS_THS_MASK _pyupm_lis3dh._LIS3DH_CLICK_THS_THS_SHIFT_swigconstant(_pyupm_lis3dh) _LIS3DH_CLICK_THS_THS_SHIFT = _pyupm_lis3dh._LIS3DH_CLICK_THS_THS_SHIFT _pyupm_lis3dh.LIS3DH_CLICK_THS_LIR_CLICK_swigconstant(_pyupm_lis3dh) LIS3DH_CLICK_THS_LIR_CLICK = _pyupm_lis3dh.LIS3DH_CLICK_THS_LIR_CLICK _pyupm_lis3dh.LIS3DH_INTERRUPT_INT1_swigconstant(_pyupm_lis3dh) LIS3DH_INTERRUPT_INT1 = _pyupm_lis3dh.LIS3DH_INTERRUPT_INT1 _pyupm_lis3dh.LIS3DH_INTERRUPT_INT2_swigconstant(_pyupm_lis3dh) LIS3DH_INTERRUPT_INT2 = _pyupm_lis3dh.LIS3DH_INTERRUPT_INT2
[docs]class LIS3DH(_object): """ API for the LIS3DH 3-axis Accelerometer. ID: lis3dh Name: Digital 3-axis Accelerometer Category: accelerometer Manufacturer: stmicro Connection: i2c spi gpio Link:http://www.st.com/en/mems-and-sensors/lis3dh.html The LIS3DH is an ultra-low-power high performance three-axis linear accelerometer belonging to the "nano" family which leverages on the robust and mature manufacturing processes already used for the production of micromachined accelerometers. The LIS3DH has user-selectable full scales of 2g/4g/8g/16g and is capable of measuring accelerations with output data rates from 1 Hz to 5300 Hz. 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. C++ includes: lis3dh.hpp """ __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, LIS3DH, name, value) __swig_getmethods__ = {} __getattr__ = lambda self, name: _swig_getattr(self, LIS3DH, name) __repr__ = _swig_repr def __init__(self, bus=0, addr=0x18, cs=-1): """ LIS3DH(int bus=LIS3DH_DEFAULT_I2C_BUS, int addr=LIS3DH_DEFAULT_I2C_ADDR, int cs=-1) LIS3DH 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_lis3dh.new_LIS3DH(bus, addr, cs) try: self.this.append(this) except Exception: self.this = this __swig_destroy__ = _pyupm_lis3dh.delete_LIS3DH __del__ = lambda self: None
[docs] def init(self, odr=LIS3DH_ODR_100HZ, fs=LIS3DH_FS_2G, high_res=True): """ void init(LIS3DH_ODR_T odr=LIS3DH_ODR_100HZ, LIS3DH_FS_T fs=LIS3DH_FS_2G, bool high_res=true) 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: ----------- odr: One of the LIS3DH_ODR_T values. The default is LIS3DH_ODR_100HZ fs: One of the LIS3DH_FS_T values. The default is LIS3DH_FS_2G high_res: true to enable high resolution mode, false to disable. The default is true. Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_init(self, odr, fs, high_res)
[docs] def enableAxes(self, x_axis_enable, y_axis_enable, z_axis_enable): """ void enableAxes(bool x_axis_enable, bool y_axis_enable, bool z_axis_enable) Enable or disable specific axes. init() enables all three by default. Parameters: ----------- x_axis_enable: true to enable X axis, false to disable y_axis_enable: true to enable Y axis, false to disable z_axis_enable: true to enable Z axis, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableAxes(self, x_axis_enable, y_axis_enable, z_axis_enable)
[docs] def enableBDUMode(self, bdu_enable): """ void enableBDUMode(bool bdu_enable) Enable or disable Block Data Update (BDU) mode. Parameters: ----------- bdu_enable: true to enable BDU mode, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableBDUMode(self, bdu_enable)
[docs] def enableLPMode(self, lp_enable): """ void enableLPMode(bool lp_enable) Enable or disable Low Power (LP) mode. Checks if mutually exclusive High Resolution (HR) mode is enabled and bails out if yes. Parameters: ----------- lp_enable: true to enable LP mode, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableLPMode(self, lp_enable)
[docs] def enableHRMode(self, hr_enable): """ void enableHRMode(bool hr_enable) Enable or disable High Resolution (HR) mode. Checks if mutually exclusive Low Power (LP) mode is enabled and bails out if yes. Parameters: ----------- hr_enable: true to enable HR mode, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableHRMode(self, hr_enable)
[docs] def enableNormalMode(self): """ void enableNormalMode() Enable Normal mode by explicitly disabling LP and HR ones. Note that there's no "disable" part as it's generally unknown, which mode we were in previously. To get out of Normal mode, just enable HR or LP one. Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableNormalMode(self)
[docs] def enableHPFiltering(self, filter): """ void enableHPFiltering(bool filter) Enable high pass filtering of the accelerometer axis data. init() disables this by default. See the datasheet for details. Parameters: ----------- filter: true to enable filtering, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableHPFiltering(self, filter)
[docs] def enableInterruptLatching(self, int1_latch, int2_latch): """ void enableInterruptLatching(bool int1_latch, bool int2_latch) Enable or disable interrupt latching for INT1 and INT2. See the datasheet for details. Parameters: ----------- int1_latch: true to enable latching for INT1, false to disable int2_latch: true to enable latching for INT2, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableInterruptLatching(self, int1_latch, int2_latch)
[docs] def enableADC(self, adc_enable): """ void enableADC(bool adc_enable) Enable or disable built-in Analog-to-Digital Converter (ADC). Parameters: ----------- adc_enable: true to enable ADC, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableADC(self, adc_enable)
[docs] def enableTemperature(self, temperature_enable): """ void enableTemperature(bool temperature_enable) Enable or disable built-in temperature sensor. It depends on ADC being enabled, so we enable it unconditionally. See datasheet for details. Parameters: ----------- temperature_enable: true to enable temp sensor, false to disable Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_enableTemperature(self, temperature_enable)
[docs] def setODR(self, odr): """ void setODR(LIS3DH_ODR_T odr) Set the output data rate (ODR) of the device Parameters: ----------- odr: One of the LIS3DH_ODR_T values Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_setODR(self, odr)
[docs] def setFullScale(self, fs): """ void setFullScale(LIS3DH_FS_T fs) Set the full scale (FS) of the device. This device supports a full scale of 2, 4, 8 and 16G. Parameters: ----------- fs: One of the LIS3DH_FS_T values Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_setFullScale(self, fs)
[docs] def setInterruptActiveHigh(self, high): """ void setInterruptActiveHigh(bool high) Indicate whether INT1 and INT2 interrupts should be active high (default) or active low. See the datasheet for details. Parameters: ----------- high: true for active high, false for active low Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_setInterruptActiveHigh(self, high)
[docs] def setInt1Config(self, cfg): """ void setInt1Config(uint8_t cfg) Set interrupt 1 configuration. See the datasheet for details. Parameters: ----------- cfg: A bitmask of values from LIS3DH_CTRL_REG3_BITS_T Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_setInt1Config(self, cfg)
[docs] def setInt2Config(self, cfg): """ void setInt2Config(uint8_t cfg) Set interrupt 2 configuration. See the datasheet for details. Parameters: ----------- cfg: A bitmask of values from LIS3DH_CTRL_REG6_BITS_T Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_setInt2Config(self, cfg)
[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_lis3dh.LIS3DH_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: ----------- reg: The register to start the read from 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_lis3dh.LIS3DH_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_lis3dh.LIS3DH_writeReg(self, reg, val)
[docs] def update(self): """ void update() Update the internal stored values from sensor data Exceptions: ----------- std::runtime_error: on failure """ return _pyupm_lis3dh.LIS3DH_update(self)
[docs] def getChipID(self): """ uint8_t getChipID() Return the chip ID The chip ID """ return _pyupm_lis3dh.LIS3DH_getChipID(self)
[docs] def getAccelerometer(self, *args): """ std::vector< float > getAccelerometer() Return accelerometer data in gravities 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_lis3dh.LIS3DH_getAccelerometer(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_lis3dh.LIS3DH_getTemperature(self, fahrenheit)
[docs] def getStatus(self): """ uint8_t getStatus() Return the contents of the status register A bitmask of values from LIS3DH_STATUS_REG_BITS_T """ return _pyupm_lis3dh.LIS3DH_getStatus(self)
[docs] def getStatusAux(self): """ uint8_t getStatusAux() Return the contents of the status aux register A bitmask of values from LIS3DH_STATUS_REG_AUX_BITS_T """ return _pyupm_lis3dh.LIS3DH_getStatusAux(self)
[docs] def installISR(self, intr, gpio, level, isr, arg): """ void installISR(LIS3DH_INTERRUPT_PINS_T intr, int gpio, mraa::Edge level, void(*isr)(void *), void *arg) Install an interrupt handler Parameters: ----------- intr: One of the LIS3DH_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 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_lis3dh.LIS3DH_installISR(self, intr, gpio, level, isr, arg)
[docs] def uninstallISR(self, intr): """ void uninstallISR(LIS3DH_INTERRUPT_PINS_T intr) Uninstall a previously installed interrupt handler Parameters: ----------- intr: One of the LIS3DH_INTERRUPT_PINS_T values, specifying which interrupt pin you are removing """ return _pyupm_lis3dh.LIS3DH_uninstallISR(self, intr)
LIS3DH_swigregister = _pyupm_lis3dh.LIS3DH_swigregister LIS3DH_swigregister(LIS3DH) # This file is compatible with both classic and new-style classes.