# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# 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 as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
    raise RuntimeError("Python 2.7 or later required")

# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _pyupm_h3lis331dl
else:
    import _pyupm_h3lis331dl

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "thisown":
            self.this.own(value)
        elif name == "this":
            set(self, name, value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


import upm.pyupm_interfaces

def getVersion():
    return _pyupm_h3lis331dl.getVersion()
class SwigPyIterator(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _pyupm_h3lis331dl.delete_SwigPyIterator

    def value(self):
        return _pyupm_h3lis331dl.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _pyupm_h3lis331dl.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _pyupm_h3lis331dl.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _pyupm_h3lis331dl.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _pyupm_h3lis331dl.SwigPyIterator_equal(self, x)

    def copy(self):
        return _pyupm_h3lis331dl.SwigPyIterator_copy(self)

    def next(self):
        return _pyupm_h3lis331dl.SwigPyIterator_next(self)

    def __next__(self):
        return _pyupm_h3lis331dl.SwigPyIterator___next__(self)

    def previous(self):
        return _pyupm_h3lis331dl.SwigPyIterator_previous(self)

    def advance(self, n):
        return _pyupm_h3lis331dl.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _pyupm_h3lis331dl.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _pyupm_h3lis331dl.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _pyupm_h3lis331dl.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _pyupm_h3lis331dl.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _pyupm_h3lis331dl.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _pyupm_h3lis331dl.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self

# Register SwigPyIterator in _pyupm_h3lis331dl:
_pyupm_h3lis331dl.SwigPyIterator_swigregister(SwigPyIterator)

class intVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.intVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.intVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.intVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.intVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.intVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.intVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.intVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.intVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.intVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.intVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.intVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.intVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.intVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.intVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.intVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.intVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.intVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.intVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.intVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.intVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.intVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.intVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.intVector_erase(self, *args)

    def __init__(self, *args):
        _pyupm_h3lis331dl.intVector_swiginit(self, _pyupm_h3lis331dl.new_intVector(*args))

    def push_back(self, x):
        return _pyupm_h3lis331dl.intVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.intVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.intVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.intVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.intVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.intVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.intVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.intVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_intVector

# Register intVector in _pyupm_h3lis331dl:
_pyupm_h3lis331dl.intVector_swigregister(intVector)

class int16Vector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.int16Vector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.int16Vector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.int16Vector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.int16Vector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.int16Vector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.int16Vector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.int16Vector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.int16Vector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.int16Vector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.int16Vector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.int16Vector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.int16Vector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.int16Vector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.int16Vector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.int16Vector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.int16Vector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.int16Vector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.int16Vector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.int16Vector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.int16Vector_erase(self, *args)

    def __init__(self, *args):
        _pyupm_h3lis331dl.int16Vector_swiginit(self, _pyupm_h3lis331dl.new_int16Vector(*args))

    def push_back(self, x):
        return _pyupm_h3lis331dl.int16Vector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.int16Vector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.int16Vector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.int16Vector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.int16Vector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.int16Vector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.int16Vector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.int16Vector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_int16Vector

# Register int16Vector in _pyupm_h3lis331dl:
_pyupm_h3lis331dl.int16Vector_swigregister(int16Vector)

class floatVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.floatVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.floatVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.floatVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.floatVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.floatVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.floatVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.floatVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.floatVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.floatVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.floatVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.floatVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.floatVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.floatVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.floatVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.floatVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.floatVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.floatVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.floatVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.floatVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.floatVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.floatVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.floatVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.floatVector_erase(self, *args)

    def __init__(self, *args):
        _pyupm_h3lis331dl.floatVector_swiginit(self, _pyupm_h3lis331dl.new_floatVector(*args))

    def push_back(self, x):
        return _pyupm_h3lis331dl.floatVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.floatVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.floatVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.floatVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.floatVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.floatVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.floatVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.floatVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_floatVector

# Register floatVector in _pyupm_h3lis331dl:
_pyupm_h3lis331dl.floatVector_swigregister(floatVector)

class doubleVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.doubleVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.doubleVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.doubleVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.doubleVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.doubleVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.doubleVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.doubleVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.doubleVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.doubleVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.doubleVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.doubleVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.doubleVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.doubleVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.doubleVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.doubleVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.doubleVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.doubleVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.doubleVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.doubleVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.doubleVector_erase(self, *args)

    def __init__(self, *args):
        _pyupm_h3lis331dl.doubleVector_swiginit(self, _pyupm_h3lis331dl.new_doubleVector(*args))

    def push_back(self, x):
        return _pyupm_h3lis331dl.doubleVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.doubleVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.doubleVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.doubleVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.doubleVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.doubleVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.doubleVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.doubleVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_doubleVector

# Register doubleVector in _pyupm_h3lis331dl:
_pyupm_h3lis331dl.doubleVector_swigregister(doubleVector)

class byteVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_h3lis331dl.byteVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_h3lis331dl.byteVector___nonzero__(self)

    def __bool__(self):
        return _pyupm_h3lis331dl.byteVector___bool__(self)

    def __len__(self):
        return _pyupm_h3lis331dl.byteVector___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_h3lis331dl.byteVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_h3lis331dl.byteVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_h3lis331dl.byteVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_h3lis331dl.byteVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_h3lis331dl.byteVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_h3lis331dl.byteVector___setitem__(self, *args)

    def pop(self):
        return _pyupm_h3lis331dl.byteVector_pop(self)

    def append(self, x):
        return _pyupm_h3lis331dl.byteVector_append(self, x)

    def empty(self):
        return _pyupm_h3lis331dl.byteVector_empty(self)

    def size(self):
        return _pyupm_h3lis331dl.byteVector_size(self)

    def swap(self, v):
        return _pyupm_h3lis331dl.byteVector_swap(self, v)

    def begin(self):
        return _pyupm_h3lis331dl.byteVector_begin(self)

    def end(self):
        return _pyupm_h3lis331dl.byteVector_end(self)

    def rbegin(self):
        return _pyupm_h3lis331dl.byteVector_rbegin(self)

    def rend(self):
        return _pyupm_h3lis331dl.byteVector_rend(self)

    def clear(self):
        return _pyupm_h3lis331dl.byteVector_clear(self)

    def get_allocator(self):
        return _pyupm_h3lis331dl.byteVector_get_allocator(self)

    def pop_back(self):
        return _pyupm_h3lis331dl.byteVector_pop_back(self)

    def erase(self, *args):
        return _pyupm_h3lis331dl.byteVector_erase(self, *args)

    def __init__(self, *args):
        _pyupm_h3lis331dl.byteVector_swiginit(self, _pyupm_h3lis331dl.new_byteVector(*args))

    def push_back(self, x):
        return _pyupm_h3lis331dl.byteVector_push_back(self, x)

    def front(self):
        return _pyupm_h3lis331dl.byteVector_front(self)

    def back(self):
        return _pyupm_h3lis331dl.byteVector_back(self)

    def assign(self, n, x):
        return _pyupm_h3lis331dl.byteVector_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_h3lis331dl.byteVector_resize(self, *args)

    def insert(self, *args):
        return _pyupm_h3lis331dl.byteVector_insert(self, *args)

    def reserve(self, n):
        return _pyupm_h3lis331dl.byteVector_reserve(self, n)

    def capacity(self):
        return _pyupm_h3lis331dl.byteVector_capacity(self)
    __swig_destroy__ = _pyupm_h3lis331dl.delete_byteVector

# Register byteVector in _pyupm_h3lis331dl:
_pyupm_h3lis331dl.byteVector_swigregister(byteVector)


def new_intp():
    return _pyupm_h3lis331dl.new_intp()

def copy_intp(value):
    return _pyupm_h3lis331dl.copy_intp(value)

def delete_intp(obj):
    return _pyupm_h3lis331dl.delete_intp(obj)

def intp_assign(obj, value):
    return _pyupm_h3lis331dl.intp_assign(obj, value)

def intp_value(obj):
    return _pyupm_h3lis331dl.intp_value(obj)

def new_floatp():
    return _pyupm_h3lis331dl.new_floatp()

def copy_floatp(value):
    return _pyupm_h3lis331dl.copy_floatp(value)

def delete_floatp(obj):
    return _pyupm_h3lis331dl.delete_floatp(obj)

def floatp_assign(obj, value):
    return _pyupm_h3lis331dl.floatp_assign(obj, value)

def floatp_value(obj):
    return _pyupm_h3lis331dl.floatp_value(obj)
H3LIS331DL_I2C_BUS = _pyupm_h3lis331dl.H3LIS331DL_I2C_BUS
H3LIS331DL_DEFAULT_I2C_ADDR = _pyupm_h3lis331dl.H3LIS331DL_DEFAULT_I2C_ADDR
class H3LIS331DL(upm.pyupm_interfaces.iAcceleration):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    REG_WHOAMI = _pyupm_h3lis331dl.H3LIS331DL_REG_WHOAMI
    REG_REG1 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG1
    REG_REG2 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG2
    REG_REG3 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG3
    REG_REG4 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG4
    REG_REG5 = _pyupm_h3lis331dl.H3LIS331DL_REG_REG5
    REG_HP_FILTER_RESET = _pyupm_h3lis331dl.H3LIS331DL_REG_HP_FILTER_RESET
    REG_REFERENCE = _pyupm_h3lis331dl.H3LIS331DL_REG_REFERENCE
    REG_STATUS = _pyupm_h3lis331dl.H3LIS331DL_REG_STATUS
    REG_OUT_X_L = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_X_L
    REG_OUT_X_H = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_X_H
    REG_OUT_Y_L = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Y_L
    REG_OUT_Y_H = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Y_H
    REG_OUT_Z_L = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Z_L
    REG_OUT_Z_H = _pyupm_h3lis331dl.H3LIS331DL_REG_OUT_Z_H
    REG_INT1_CFG = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_CFG
    REG_INT1_SRC = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_SRC
    REG_INT1_THS = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_THS
    REG_INT1_DUR = _pyupm_h3lis331dl.H3LIS331DL_REG_INT1_DUR
    REG_INT2_CFG = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_CFG
    REG_INT2_SRC = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_SRC
    REG_INT2_THS = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_THS
    REG_INT2_DUR = _pyupm_h3lis331dl.H3LIS331DL_REG_INT2_DUR
    REG1_XEN = _pyupm_h3lis331dl.H3LIS331DL_REG1_XEN
    REG1_YEN = _pyupm_h3lis331dl.H3LIS331DL_REG1_YEN
    REG1_ZEN = _pyupm_h3lis331dl.H3LIS331DL_REG1_ZEN
    REG1_DR0 = _pyupm_h3lis331dl.H3LIS331DL_REG1_DR0
    REG1_DR1 = _pyupm_h3lis331dl.H3LIS331DL_REG1_DR1
    REG1_DR_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG1_DR_SHIFT
    REG1_PM0 = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM0
    REG1_PM1 = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM1
    REG1_PM2 = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM2
    REG1_PM_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG1_PM_SHIFT
    DR_50_37 = _pyupm_h3lis331dl.H3LIS331DL_DR_50_37
    DR_100_74 = _pyupm_h3lis331dl.H3LIS331DL_DR_100_74
    DR_400_292 = _pyupm_h3lis331dl.H3LIS331DL_DR_400_292
    DR_1000_780 = _pyupm_h3lis331dl.H3LIS331DL_DR_1000_780
    PM_POWERDWN = _pyupm_h3lis331dl.H3LIS331DL_PM_POWERDWN
    PM_NORMAL = _pyupm_h3lis331dl.H3LIS331DL_PM_NORMAL
    PM_LP05 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP05
    PM_LP1 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP1
    PM_LP2 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP2
    PM_LP5 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP5
    PM_LP10 = _pyupm_h3lis331dl.H3LIS331DL_PM_LP10
    REG2_HPCF0 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPCF0
    REG2_HPCF1 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPCF1
    REG2_HPCF_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPCF_SHIFT
    REG2_HPEN1 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPEN1
    REG2_HPEN2 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPEN2
    REG2_FDS = _pyupm_h3lis331dl.H3LIS331DL_REG2_FDS
    REG2_HPM0 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPM0
    REG2_HPM1 = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPM1
    REG2_HPM_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG2_HPM_SHIFT
    REG2_BOOT = _pyupm_h3lis331dl.H3LIS331DL_REG2_BOOT
    HPCF_8 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_8
    HPCF_16 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_16
    HPCF_32 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_32
    HPCF_64 = _pyupm_h3lis331dl.H3LIS331DL_HPCF_64
    HPM_NORMAL0 = _pyupm_h3lis331dl.H3LIS331DL_HPM_NORMAL0
    HPM_REF = _pyupm_h3lis331dl.H3LIS331DL_HPM_REF
    HPM_NORMAL1 = _pyupm_h3lis331dl.H3LIS331DL_HPM_NORMAL1
    REG3_I1_CFG0 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I1_CFG0
    REG3_I1_CFG1 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I1_CFG1
    REG3_I1_CFG_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG3_I1_CFG_SHIFT
    REG3_LIR1 = _pyupm_h3lis331dl.H3LIS331DL_REG3_LIR1
    REG3_I2_CFG0 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I2_CFG0
    REG3_I2_CFG1 = _pyupm_h3lis331dl.H3LIS331DL_REG3_I2_CFG1
    REG3_I2_CFG_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG3_I2_CFG_SHIFT
    REG3_LIR2 = _pyupm_h3lis331dl.H3LIS331DL_REG3_LIR2
    REG3_PP_OD = _pyupm_h3lis331dl.H3LIS331DL_REG3_PP_OD
    REG3_IHL = _pyupm_h3lis331dl.H3LIS331DL_REG3_IHL
    I_SRC = _pyupm_h3lis331dl.H3LIS331DL_I_SRC
    I_OR = _pyupm_h3lis331dl.H3LIS331DL_I_OR
    I_DR = _pyupm_h3lis331dl.H3LIS331DL_I_DR
    I_BOOTING = _pyupm_h3lis331dl.H3LIS331DL_I_BOOTING
    REG4_SIM = _pyupm_h3lis331dl.H3LIS331DL_REG4_SIM
    REG4_FS0 = _pyupm_h3lis331dl.H3LIS331DL_REG4_FS0
    REG4_FS1 = _pyupm_h3lis331dl.H3LIS331DL_REG4_FS1
    REG4_FS_SHIFT = _pyupm_h3lis331dl.H3LIS331DL_REG4_FS_SHIFT
    REG4_BLE = _pyupm_h3lis331dl.H3LIS331DL_REG4_BLE
    REG4_BDU = _pyupm_h3lis331dl.H3LIS331DL_REG4_BDU
    FS_100 = _pyupm_h3lis331dl.H3LIS331DL_FS_100
    FS_200 = _pyupm_h3lis331dl.H3LIS331DL_FS_200
    FS_400 = _pyupm_h3lis331dl.H3LIS331DL_FS_400
    REG5_TURNON0 = _pyupm_h3lis331dl.H3LIS331DL_REG5_TURNON0
    REG5_TURNON1 = _pyupm_h3lis331dl.H3LIS331DL_REG5_TURNON1
    STATUS_XDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_XDA
    STATUS_YDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_YDA
    STATUS_ZDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZDA
    STATUS_ZYXDA = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZYXDA
    STATUS_XOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_XOR
    STATUS_YOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_YOR
    STATUS_ZOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZOR
    STATUS_ZYXOR = _pyupm_h3lis331dl.H3LIS331DL_STATUS_ZYXOR
    INT_CFG_XLIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_XLIE
    INT_CFG_XHIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_XHIE
    INT_CFG_YLIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_YLIE
    INT_CFG_YHIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_YHIE
    INT_CFG_ZLIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_ZLIE
    INT_CFG_ZHIE = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_ZHIE
    INT_CFG_AOI = _pyupm_h3lis331dl.H3LIS331DL_INT_CFG_AOI
    INT_SRC_XL = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_XL
    INT_SRC_XH = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_XH
    INT_SRC_YL = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_YL
    INT_SRC_YH = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_YH
    INT_SRC_ZL = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_ZL
    INT_SRC_ZH = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_ZH
    INT_SRC_IA = _pyupm_h3lis331dl.H3LIS331DL_INT_SRC_IA

    def __init__(self, bus, address=0x18):
        _pyupm_h3lis331dl.H3LIS331DL_swiginit(self, _pyupm_h3lis331dl.new_H3LIS331DL(bus, address))
    __swig_destroy__ = _pyupm_h3lis331dl.delete_H3LIS331DL

    def init(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_init(self, *args)

    def getChipID(self):
        return _pyupm_h3lis331dl.H3LIS331DL_getChipID(self)

    def setDataRate(self, odr):
        return _pyupm_h3lis331dl.H3LIS331DL_setDataRate(self, odr)

    def setPowerMode(self, pm):
        return _pyupm_h3lis331dl.H3LIS331DL_setPowerMode(self, pm)

    def enableAxis(self, axisEnable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableAxis(self, axisEnable)

    def setFullScale(self, fs):
        return _pyupm_h3lis331dl.H3LIS331DL_setFullScale(self, fs)

    def setHPCF(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setHPCF(self, val)

    def setHPM(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setHPM(self, val)

    def boot(self):
        return _pyupm_h3lis331dl.H3LIS331DL_boot(self)

    def enableHPF1(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableHPF1(self, enable)

    def enableHPF2(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableHPF2(self, enable)

    def enableFDS(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableFDS(self, enable)

    def setInterruptActiveLow(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterruptActiveLow(self, enable)

    def setInterruptOpenDrain(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterruptOpenDrain(self, enable)

    def setInterrupt1Latch(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Latch(self, enable)

    def setInterrupt2Latch(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Latch(self, enable)

    def setInterrupt1PadConfig(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1PadConfig(self, val)

    def setInterrupt2PadConfig(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2PadConfig(self, val)

    def enableBDU(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableBDU(self, enable)

    def enableBLE(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableBLE(self, enable)

    def enableSleepToWake(self, enable):
        return _pyupm_h3lis331dl.H3LIS331DL_enableSleepToWake(self, enable)

    def getStatus(self):
        return _pyupm_h3lis331dl.H3LIS331DL_getStatus(self)

    def setInterrupt1Config(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Config(self, val)

    def setInterrupt2Config(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Config(self, val)

    def setInterrupt1Source(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Source(self, val)

    def setInterrupt2Source(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Source(self, val)

    def setInterrupt1Threshold(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Threshold(self, val)

    def setInterrupt2Threshold(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Threshold(self, val)

    def setInterrupt1Duration(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt1Duration(self, val)

    def setInterrupt2Duration(self, val):
        return _pyupm_h3lis331dl.H3LIS331DL_setInterrupt2Duration(self, val)

    def update(self):
        return _pyupm_h3lis331dl.H3LIS331DL_update(self)

    def setAdjustmentOffsets(self, adjX, adjY, adjZ):
        return _pyupm_h3lis331dl.H3LIS331DL_setAdjustmentOffsets(self, adjX, adjY, adjZ)

    def getAcceleration(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_getAcceleration(self, *args)

    def getRawXYZ(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_getRawXYZ(self, *args)

    def getXYZ(self, *args):
        return _pyupm_h3lis331dl.H3LIS331DL_getXYZ(self, *args)

    def i2cContext(self):
        return _pyupm_h3lis331dl.H3LIS331DL_i2cContext(self)

# Register H3LIS331DL in _pyupm_h3lis331dl:
_pyupm_h3lis331dl.H3LIS331DL_swigregister(H3LIS331DL)



