# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# 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):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_pyupm_bma220')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_pyupm_bma220')
    _pyupm_bma220 = swig_import_helper()
    del swig_import_helper
elif _swig_python_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_bma220', [dirname(__file__)])
        except ImportError:
            import _pyupm_bma220
            return _pyupm_bma220
        try:
            _mod = imp.load_module('_pyupm_bma220', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _pyupm_bma220 = swig_import_helper()
    del swig_import_helper
else:
    import _pyupm_bma220
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

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(self, class_type, name):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))


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,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0

import upm.pyupm_interfaces

def getVersion():
    return _pyupm_bma220.getVersion()
getVersion = _pyupm_bma220.getVersion
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_bma220.delete_SwigPyIterator
    __del__ = lambda self: None

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __sub__(self, *args):
        return _pyupm_bma220.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _pyupm_bma220.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __init__(self, *args):
        this = _pyupm_bma220.new_intVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

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

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

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

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

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

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

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

    def capacity(self):
        return _pyupm_bma220.intVector_capacity(self)
    __swig_destroy__ = _pyupm_bma220.delete_intVector
    __del__ = lambda self: None
intVector_swigregister = _pyupm_bma220.intVector_swigregister
intVector_swigregister(intVector)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __init__(self, *args):
        this = _pyupm_bma220.new_int16Vector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

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

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

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

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

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

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

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

    def capacity(self):
        return _pyupm_bma220.int16Vector_capacity(self)
    __swig_destroy__ = _pyupm_bma220.delete_int16Vector
    __del__ = lambda self: None
int16Vector_swigregister = _pyupm_bma220.int16Vector_swigregister
int16Vector_swigregister(int16Vector)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __init__(self, *args):
        this = _pyupm_bma220.new_floatVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

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

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

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

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

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

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

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

    def capacity(self):
        return _pyupm_bma220.floatVector_capacity(self)
    __swig_destroy__ = _pyupm_bma220.delete_floatVector
    __del__ = lambda self: None
floatVector_swigregister = _pyupm_bma220.floatVector_swigregister
floatVector_swigregister(floatVector)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __init__(self, *args):
        this = _pyupm_bma220.new_doubleVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

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

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

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

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

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

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

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

    def capacity(self):
        return _pyupm_bma220.doubleVector_capacity(self)
    __swig_destroy__ = _pyupm_bma220.delete_doubleVector
    __del__ = lambda self: None
doubleVector_swigregister = _pyupm_bma220.doubleVector_swigregister
doubleVector_swigregister(doubleVector)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __init__(self, *args):
        this = _pyupm_bma220.new_byteVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

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

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

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

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

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

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

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

    def capacity(self):
        return _pyupm_bma220.byteVector_capacity(self)
    __swig_destroy__ = _pyupm_bma220.delete_byteVector
    __del__ = lambda self: None
byteVector_swigregister = _pyupm_bma220.byteVector_swigregister
byteVector_swigregister(byteVector)


def new_floatp():
    return _pyupm_bma220.new_floatp()
new_floatp = _pyupm_bma220.new_floatp

def copy_floatp(value):
    return _pyupm_bma220.copy_floatp(value)
copy_floatp = _pyupm_bma220.copy_floatp

def delete_floatp(obj):
    return _pyupm_bma220.delete_floatp(obj)
delete_floatp = _pyupm_bma220.delete_floatp

def floatp_assign(obj, value):
    return _pyupm_bma220.floatp_assign(obj, value)
floatp_assign = _pyupm_bma220.floatp_assign

def floatp_value(obj):
    return _pyupm_bma220.floatp_value(obj)
floatp_value = _pyupm_bma220.floatp_value
BMA220_I2C_BUS = _pyupm_bma220.BMA220_I2C_BUS
BMA220_DEFAULT_ADDR = _pyupm_bma220.BMA220_DEFAULT_ADDR
class BMA220(upm.pyupm_interfaces.iAcceleration):
    __swig_setmethods__ = {}
    for _s in [upm.pyupm_interfaces.iAcceleration]:
        __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, BMA220, name, value)
    __swig_getmethods__ = {}
    for _s in [upm.pyupm_interfaces.iAcceleration]:
        __swig_getmethods__.update(getattr(_s, '__swig_getmethods__', {}))
    __getattr__ = lambda self, name: _swig_getattr(self, BMA220, name)
    __repr__ = _swig_repr
    REG_CHIPID = _pyupm_bma220.BMA220_REG_CHIPID
    REG_REVISIONID = _pyupm_bma220.BMA220_REG_REVISIONID
    REG_ACC_X = _pyupm_bma220.BMA220_REG_ACC_X
    REG_ACC_Y = _pyupm_bma220.BMA220_REG_ACC_Y
    REG_ACC_Z = _pyupm_bma220.BMA220_REG_ACC_Z
    REG_H_HYST_DUR = _pyupm_bma220.BMA220_REG_H_HYST_DUR
    REG_THRESHOLD = _pyupm_bma220.BMA220_REG_THRESHOLD
    REG_L_HYST_DUR = _pyupm_bma220.BMA220_REG_L_HYST_DUR
    REG_TAP_CONFIG = _pyupm_bma220.BMA220_REG_TAP_CONFIG
    REG_SLOPE_CONFIG = _pyupm_bma220.BMA220_REG_SLOPE_CONFIG
    REG_TAP_CONFIG2 = _pyupm_bma220.BMA220_REG_TAP_CONFIG2
    REG_INT_STATUS1 = _pyupm_bma220.BMA220_REG_INT_STATUS1
    REG_INT_STATUS2 = _pyupm_bma220.BMA220_REG_INT_STATUS2
    REG_ENABLE_CONFIG = _pyupm_bma220.BMA220_REG_ENABLE_CONFIG
    REG_ENABLE_CONFIG2 = _pyupm_bma220.BMA220_REG_ENABLE_CONFIG2
    REG_ENABLE_CONFIG3 = _pyupm_bma220.BMA220_REG_ENABLE_CONFIG3
    REG_FILTER_CONFIG = _pyupm_bma220.BMA220_REG_FILTER_CONFIG
    REG_SBIST_FSL_CONFIG = _pyupm_bma220.BMA220_REG_SBIST_FSL_CONFIG
    REG_I2C_WATCHDOG = _pyupm_bma220.BMA220_REG_I2C_WATCHDOG
    REG_SUSPEND = _pyupm_bma220.BMA220_REG_SUSPEND
    REG_SOFTRESET = _pyupm_bma220.BMA220_REG_SOFTRESET
    H_HYST_DUR_HIGH_DUR0 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_DUR0
    H_HYST_DUR_HIGH_DUR1 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_DUR1
    H_HYST_DUR_HIGH_DUR2 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_DUR2
    H_HYST_DUR_HIGH_DUR3 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_DUR3
    H_HYST_DUR_HIGH_DUR4 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_DUR4
    H_HYST_DUR_HIGH_DUR5 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_DUR5
    _H_HYST_DUR_HIGH_DUR_MASK = _pyupm_bma220.BMA220__H_HYST_DUR_HIGH_DUR_MASK
    _H_HYST_DUR_HIGH_DUR_SHIFT = _pyupm_bma220.BMA220__H_HYST_DUR_HIGH_DUR_SHIFT
    H_HYST_DUR_HIGH_HY1 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_HY1
    H_HYST_DUR_HIGH_HY2 = _pyupm_bma220.BMA220_H_HYST_DUR_HIGH_HY2
    _H_HYST_DUR_HIGH_HY_MASK = _pyupm_bma220.BMA220__H_HYST_DUR_HIGH_HY_MASK
    _H_HYST_DUR_HIGH_HY_SHIFT = _pyupm_bma220.BMA220__H_HYST_DUR_HIGH_HY_SHIFT
    THRESHOLD_HIGH0 = _pyupm_bma220.BMA220_THRESHOLD_HIGH0
    THRESHOLD_HIGH1 = _pyupm_bma220.BMA220_THRESHOLD_HIGH1
    THRESHOLD_HIGH2 = _pyupm_bma220.BMA220_THRESHOLD_HIGH2
    THRESHOLD_HIGH3 = _pyupm_bma220.BMA220_THRESHOLD_HIGH3
    _THRESHOLD_HIGH_MASK = _pyupm_bma220.BMA220__THRESHOLD_HIGH_MASK
    _THRESHOLD_HIGH_SHIFT = _pyupm_bma220.BMA220__THRESHOLD_HIGH_SHIFT
    THRESHOLD_LOW0 = _pyupm_bma220.BMA220_THRESHOLD_LOW0
    THRESHOLD_LOW1 = _pyupm_bma220.BMA220_THRESHOLD_LOW1
    THRESHOLD_LOW2 = _pyupm_bma220.BMA220_THRESHOLD_LOW2
    THRESHOLD_LOW3 = _pyupm_bma220.BMA220_THRESHOLD_LOW3
    _THRESHOLD_LOW_MASK = _pyupm_bma220.BMA220__THRESHOLD_LOW_MASK
    _THRESHOLD_LOW_SHIFT = _pyupm_bma220.BMA220__THRESHOLD_LOW_SHIFT
    L_HYST_DUR_LOW_DUR0 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_DUR0
    L_HYST_DUR_LOW_DUR1 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_DUR1
    L_HYST_DUR_LOW_DUR2 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_DUR2
    L_HYST_DUR_LOW_DUR3 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_DUR3
    L_HYST_DUR_LOW_DUR4 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_DUR4
    L_HYST_DUR_LOW_DUR5 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_DUR5
    _L_HYST_DUR_LOW_DUR_MASK = _pyupm_bma220.BMA220__L_HYST_DUR_LOW_DUR_MASK
    _L_HYST_DUR_LOW_DUR_SHIFT = _pyupm_bma220.BMA220__L_HYST_DUR_LOW_DUR_SHIFT
    L_HYST_DUR_LOW_HY1 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_HY1
    L_HYST_DUR_LOW_HY2 = _pyupm_bma220.BMA220_L_HYST_DUR_LOW_HY2
    _L_HYST_DUR_LOW_HY_MASK = _pyupm_bma220.BMA220__L_HYST_DUR_LOW_HY_MASK
    _L_HYST_DUR_LOW_HY_SHIFT = _pyupm_bma220.BMA220__L_HYST_DUR_LOW_HY_SHIFT
    TAP_CONFIG_DUR0 = _pyupm_bma220.BMA220_TAP_CONFIG_DUR0
    TAP_CONFIG_DUR1 = _pyupm_bma220.BMA220_TAP_CONFIG_DUR1
    TAP_CONFIG_DUR2 = _pyupm_bma220.BMA220_TAP_CONFIG_DUR2
    _TAP_CONFIG_DUR_MASK = _pyupm_bma220.BMA220__TAP_CONFIG_DUR_MASK
    _TAP_CONFIG_DUR_SHIFT = _pyupm_bma220.BMA220__TAP_CONFIG_DUR_SHIFT
    TAP_CONFIG_THRESH0 = _pyupm_bma220.BMA220_TAP_CONFIG_THRESH0
    TAP_CONFIG_THRESH1 = _pyupm_bma220.BMA220_TAP_CONFIG_THRESH1
    TAP_CONFIG_THRESH2 = _pyupm_bma220.BMA220_TAP_CONFIG_THRESH2
    TAP_CONFIG_THRESH3 = _pyupm_bma220.BMA220_TAP_CONFIG_THRESH3
    _TAP_CONFIG_THRESH_MASK = _pyupm_bma220.BMA220__TAP_CONFIG_THRESH_MASK
    _TAP_CONFIG_THRESH_SHIFT = _pyupm_bma220.BMA220__TAP_CONFIG_THRESH_SHIFT
    TAP_CONFIG_FILTER = _pyupm_bma220.BMA220_TAP_CONFIG_FILTER
    SLOPE_CONFIG_DUR0 = _pyupm_bma220.BMA220_SLOPE_CONFIG_DUR0
    SLOPE_CONFIG_DUR1 = _pyupm_bma220.BMA220_SLOPE_CONFIG_DUR1
    _SLOPE_CONFIG_DUR_MASK = _pyupm_bma220.BMA220__SLOPE_CONFIG_DUR_MASK
    _SLOPE_CONFIG_DUR_SHIFT = _pyupm_bma220.BMA220__SLOPE_CONFIG_DUR_SHIFT
    SLOPE_CONFIG_THRESH0 = _pyupm_bma220.BMA220_SLOPE_CONFIG_THRESH0
    SLOPE_CONFIG_THRESH1 = _pyupm_bma220.BMA220_SLOPE_CONFIG_THRESH1
    SLOPE_CONFIG_THRESH2 = _pyupm_bma220.BMA220_SLOPE_CONFIG_THRESH2
    SLOPE_CONFIG_THRESH3 = _pyupm_bma220.BMA220_SLOPE_CONFIG_THRESH3
    _SLOPE_CONFIG_THRESH_MASK = _pyupm_bma220.BMA220__SLOPE_CONFIG_THRESH_MASK
    _SLOPE_CONFIG_THRESH_SHIFT = _pyupm_bma220.BMA220__SLOPE_CONFIG_THRESH_SHIFT
    SLOPE_CONFIG_FILTER = _pyupm_bma220.BMA220_SLOPE_CONFIG_FILTER
    SLOPE_CONFIG_ORIENT_EX = _pyupm_bma220.BMA220_SLOPE_CONFIG_ORIENT_EX
    TAP_CONFIG2_SAMP0 = _pyupm_bma220.BMA220_TAP_CONFIG2_SAMP0
    TAP_CONFIG2_SAMP1 = _pyupm_bma220.BMA220_TAP_CONFIG2_SAMP1
    _TAP_CONFIG2_SAMP_MASK = _pyupm_bma220.BMA220__TAP_CONFIG2_SAMP_MASK
    _TAP_CONFIG2_SAMP_SHIFT = _pyupm_bma220.BMA220__TAP_CONFIG2_SAMP_SHIFT
    TAP_CONFIG2_ORIENT_BLOCK0 = _pyupm_bma220.BMA220_TAP_CONFIG2_ORIENT_BLOCK0
    TAP_CONFIG2_ORIENT_BLOCK1 = _pyupm_bma220.BMA220_TAP_CONFIG2_ORIENT_BLOCK1
    _TAP_CONFIG2_ORIENT_BLOCK_MASK = _pyupm_bma220.BMA220__TAP_CONFIG2_ORIENT_BLOCK_MASK
    _TAP_CONFIG2_ORIENT_BLOCK_SHIFT = _pyupm_bma220.BMA220__TAP_CONFIG2_ORIENT_BLOCK_SHIFT
    TAP_CONFIG2_TIP_EN = _pyupm_bma220.BMA220_TAP_CONFIG2_TIP_EN
    TAP_SAMP_2 = _pyupm_bma220.BMA220_TAP_SAMP_2
    TAP_SAMP_4 = _pyupm_bma220.BMA220_TAP_SAMP_4
    TAP_SAMP_8 = _pyupm_bma220.BMA220_TAP_SAMP_8
    TAP_SAMP_16 = _pyupm_bma220.BMA220_TAP_SAMP_16
    TAP_ORIENT_BLOCK_0 = _pyupm_bma220.BMA220_TAP_ORIENT_BLOCK_0
    TAP_ORIENT_BLOCK_2 = _pyupm_bma220.BMA220_TAP_ORIENT_BLOCK_2
    TAP_ORIENT_BLOCK_3 = _pyupm_bma220.BMA220_TAP_ORIENT_BLOCK_3
    TAP_ORIENT_BLOCK_4 = _pyupm_bma220.BMA220_TAP_ORIENT_BLOCK_4
    INT_STATUS1_SIGN = _pyupm_bma220.BMA220_INT_STATUS1_SIGN
    INT_STATUS1_FIRST_Z = _pyupm_bma220.BMA220_INT_STATUS1_FIRST_Z
    INT_STATUS1_FIRST_Y = _pyupm_bma220.BMA220_INT_STATUS1_FIRST_Y
    INT_STATUS1_FIRST_X = _pyupm_bma220.BMA220_INT_STATUS1_FIRST_X
    INT_STATUS1_ORIENT0 = _pyupm_bma220.BMA220_INT_STATUS1_ORIENT0
    INT_STATUS1_ORIENT1 = _pyupm_bma220.BMA220_INT_STATUS1_ORIENT1
    INT_STATUS1_ORIENT2 = _pyupm_bma220.BMA220_INT_STATUS1_ORIENT2
    _INT_STATUS1_ORIENT_MASK = _pyupm_bma220.BMA220__INT_STATUS1_ORIENT_MASK
    _INT_STATUS1_ORIENT_SHIFT = _pyupm_bma220.BMA220__INT_STATUS1_ORIENT_SHIFT
    INT_STATUS1_ORIENT_INT = _pyupm_bma220.BMA220_INT_STATUS1_ORIENT_INT
    CONFIG_ORI_UP_PORT_UPRIGHT = _pyupm_bma220.BMA220_CONFIG_ORI_UP_PORT_UPRIGHT
    CONFIG_ORI_UP_PORT_UPSIDE_DOWN = _pyupm_bma220.BMA220_CONFIG_ORI_UP_PORT_UPSIDE_DOWN
    CONFIG_ORI_UP_LAND_LEFT = _pyupm_bma220.BMA220_CONFIG_ORI_UP_LAND_LEFT
    CONFIG_ORI_UP_LAND_RIGHT = _pyupm_bma220.BMA220_CONFIG_ORI_UP_LAND_RIGHT
    CONFIG_ORI_DN_PORT_UPRIGHT = _pyupm_bma220.BMA220_CONFIG_ORI_DN_PORT_UPRIGHT
    CONFIG_ORI_DN_PORT_UPSIDE_DOWN = _pyupm_bma220.BMA220_CONFIG_ORI_DN_PORT_UPSIDE_DOWN
    CONFIG_ORI_DN_LAND_LEFT = _pyupm_bma220.BMA220_CONFIG_ORI_DN_LAND_LEFT
    CONFIG_ORI_DN_LAND_RIGHT = _pyupm_bma220.BMA220_CONFIG_ORI_DN_LAND_RIGHT
    INT_STATUS2_SLOPE = _pyupm_bma220.BMA220_INT_STATUS2_SLOPE
    INT_STATUS2_DATA = _pyupm_bma220.BMA220_INT_STATUS2_DATA
    INT_STATUS2_HIGH = _pyupm_bma220.BMA220_INT_STATUS2_HIGH
    INT_STATUS2_LOW = _pyupm_bma220.BMA220_INT_STATUS2_LOW
    INT_STATUS2_TAP = _pyupm_bma220.BMA220_INT_STATUS2_TAP
    ENABLE_CONFIG_TT_Z = _pyupm_bma220.BMA220_ENABLE_CONFIG_TT_Z
    ENABLE_CONFIG_TT_Y = _pyupm_bma220.BMA220_ENABLE_CONFIG_TT_Y
    ENABLE_CONFIG_TT_X = _pyupm_bma220.BMA220_ENABLE_CONFIG_TT_X
    ENABLE_CONFIG_SLOPE_Z = _pyupm_bma220.BMA220_ENABLE_CONFIG_SLOPE_Z
    ENABLE_CONFIG_SLOPE_Y = _pyupm_bma220.BMA220_ENABLE_CONFIG_SLOPE_Y
    ENABLE_CONFIG_SLOPE_X = _pyupm_bma220.BMA220_ENABLE_CONFIG_SLOPE_X
    ENABLE_CONFIG_ORIENT = _pyupm_bma220.BMA220_ENABLE_CONFIG_ORIENT
    ENABLE_CONFIG_DATA = _pyupm_bma220.BMA220_ENABLE_CONFIG_DATA
    ENABLE_CONFIG2_HIGH_Z = _pyupm_bma220.BMA220_ENABLE_CONFIG2_HIGH_Z
    ENABLE_CONFIG2_HIGH_Y = _pyupm_bma220.BMA220_ENABLE_CONFIG2_HIGH_Y
    ENABLE_CONFIG2_HIGH_X = _pyupm_bma220.BMA220_ENABLE_CONFIG2_HIGH_X
    ENABLE_CONFIG2_LOW = _pyupm_bma220.BMA220_ENABLE_CONFIG2_LOW
    ENABLE_CONFIG2_LAT_INT0 = _pyupm_bma220.BMA220_ENABLE_CONFIG2_LAT_INT0
    ENABLE_CONFIG2_LAT_INT1 = _pyupm_bma220.BMA220_ENABLE_CONFIG2_LAT_INT1
    ENABLE_CONFIG2_LAT_INT2 = _pyupm_bma220.BMA220_ENABLE_CONFIG2_LAT_INT2
    _ENABLE_CONFIG2_LAT_INT_MASK = _pyupm_bma220.BMA220__ENABLE_CONFIG2_LAT_INT_MASK
    _ENABLE_CONFIG2_LAT_INT_SHIFT = _pyupm_bma220.BMA220__ENABLE_CONFIG2_LAT_INT_SHIFT
    ENABLE_CONFIG2_RESET_INT = _pyupm_bma220.BMA220_ENABLE_CONFIG2_RESET_INT
    CONFIG2_LAT_UNLATCH = _pyupm_bma220.BMA220_CONFIG2_LAT_UNLATCH
    CONFIG2_LAT_0_25 = _pyupm_bma220.BMA220_CONFIG2_LAT_0_25
    CONFIG2_LAT_0_5 = _pyupm_bma220.BMA220_CONFIG2_LAT_0_5
    CONFIG2_LAT_1 = _pyupm_bma220.BMA220_CONFIG2_LAT_1
    CONFIG2_LAT_2 = _pyupm_bma220.BMA220_CONFIG2_LAT_2
    CONFIG2_LAT_4 = _pyupm_bma220.BMA220_CONFIG2_LAT_4
    CONFIG2_LAT_8 = _pyupm_bma220.BMA220_CONFIG2_LAT_8
    CONFIG2_LAT_PERM = _pyupm_bma220.BMA220_CONFIG2_LAT_PERM
    ENABLE_CONFIG3_Z_CHAN = _pyupm_bma220.BMA220_ENABLE_CONFIG3_Z_CHAN
    ENABLE_CONFIG3_Y_CHAN = _pyupm_bma220.BMA220_ENABLE_CONFIG3_Y_CHAN
    ENABLE_CONFIG3_X_CHAN = _pyupm_bma220.BMA220_ENABLE_CONFIG3_X_CHAN
    ENABLE_CONFIG3_SLEEP_DUR0 = _pyupm_bma220.BMA220_ENABLE_CONFIG3_SLEEP_DUR0
    ENABLE_CONFIG3_SLEEP_DUR1 = _pyupm_bma220.BMA220_ENABLE_CONFIG3_SLEEP_DUR1
    ENABLE_CONFIG3_SLEEP_DUR2 = _pyupm_bma220.BMA220_ENABLE_CONFIG3_SLEEP_DUR2
    _ENABLE_CONFIG3_SLEEP_DUR_MASK = _pyupm_bma220.BMA220__ENABLE_CONFIG3_SLEEP_DUR_MASK
    _ENABLE_CONFIG3_SLEEP_DUR_SHIFT = _pyupm_bma220.BMA220__ENABLE_CONFIG3_SLEEP_DUR_SHIFT
    ENABLE_CONFIG3_SLEEP_EN = _pyupm_bma220.BMA220_ENABLE_CONFIG3_SLEEP_EN
    SLEEP_DUR_2MS = _pyupm_bma220.BMA220_SLEEP_DUR_2MS
    SLEEP_DUR_10MS = _pyupm_bma220.BMA220_SLEEP_DUR_10MS
    SLEEP_DUR_25MS = _pyupm_bma220.BMA220_SLEEP_DUR_25MS
    SLEEP_DUR_50MS = _pyupm_bma220.BMA220_SLEEP_DUR_50MS
    SLEEP_DUR_100MS = _pyupm_bma220.BMA220_SLEEP_DUR_100MS
    SLEEP_DUR_500MS = _pyupm_bma220.BMA220_SLEEP_DUR_500MS
    SLEEP_DUR_1S = _pyupm_bma220.BMA220_SLEEP_DUR_1S
    SLEEP_DUR_2S = _pyupm_bma220.BMA220_SLEEP_DUR_2S
    FILTER_CONFIG_FILTER0 = _pyupm_bma220.BMA220_FILTER_CONFIG_FILTER0
    FILTER_CONFIG_FILTER1 = _pyupm_bma220.BMA220_FILTER_CONFIG_FILTER1
    FILTER_CONFIG_FILTER2 = _pyupm_bma220.BMA220_FILTER_CONFIG_FILTER2
    FILTER_CONFIG_FILTER3 = _pyupm_bma220.BMA220_FILTER_CONFIG_FILTER3
    _FILTER_CONFIG_FILTER_MASK = _pyupm_bma220.BMA220__FILTER_CONFIG_FILTER_MASK
    _FILTER_CONFIG_FILTER_SHIFT = _pyupm_bma220.BMA220__FILTER_CONFIG_FILTER_SHIFT
    FILTER_CONFIG_SERIAL_HIGH_BW = _pyupm_bma220.BMA220_FILTER_CONFIG_SERIAL_HIGH_BW
    FILTER_CONFIG_1KHZ = _pyupm_bma220.BMA220_FILTER_CONFIG_1KHZ
    FILTER_CONFIG_500HZ = _pyupm_bma220.BMA220_FILTER_CONFIG_500HZ
    FILTER_CONFIG_250HZ = _pyupm_bma220.BMA220_FILTER_CONFIG_250HZ
    FILTER_CONFIG_125HZ = _pyupm_bma220.BMA220_FILTER_CONFIG_125HZ
    FILTER_CONFIG_64HZ = _pyupm_bma220.BMA220_FILTER_CONFIG_64HZ
    FILTER_CONFIG_32HZ = _pyupm_bma220.BMA220_FILTER_CONFIG_32HZ
    REG_SBIST_FSL_RANGE0 = _pyupm_bma220.BMA220_REG_SBIST_FSL_RANGE0
    REG_SBIST_FSL_RANGE1 = _pyupm_bma220.BMA220_REG_SBIST_FSL_RANGE1
    _REG_SBIST_FSL_RANGE_MASK = _pyupm_bma220.BMA220__REG_SBIST_FSL_RANGE_MASK
    _REG_SBIST_FSL_RANGE_SHIFT = _pyupm_bma220.BMA220__REG_SBIST_FSL_RANGE_SHIFT
    REG_SBIST_FSL_SBIST0 = _pyupm_bma220.BMA220_REG_SBIST_FSL_SBIST0
    REG_SBIST_FSL_SBIST1 = _pyupm_bma220.BMA220_REG_SBIST_FSL_SBIST1
    _REG_SBIST_FSL_SBIST_MASK = _pyupm_bma220.BMA220__REG_SBIST_FSL_SBIST_MASK
    _REG_SBIST_FSL_SBIST_SHIFT = _pyupm_bma220.BMA220__REG_SBIST_FSL_SBIST_SHIFT
    REG_SBIST_FSL_SBIST_SIGN = _pyupm_bma220.BMA220_REG_SBIST_FSL_SBIST_SIGN
    FSL_RANGE_2G = _pyupm_bma220.BMA220_FSL_RANGE_2G
    FSL_RANGE_4G = _pyupm_bma220.BMA220_FSL_RANGE_4G
    FSL_RANGE_8G = _pyupm_bma220.BMA220_FSL_RANGE_8G
    FSL_RANGE_16G = _pyupm_bma220.BMA220_FSL_RANGE_16G
    SBIST_OFF = _pyupm_bma220.BMA220_SBIST_OFF
    SBIST_X = _pyupm_bma220.BMA220_SBIST_X
    SBIST_Y = _pyupm_bma220.BMA220_SBIST_Y
    SBIST_Z = _pyupm_bma220.BMA220_SBIST_Z
    I2C_WATCHDOG_SPI3 = _pyupm_bma220.BMA220_I2C_WATCHDOG_SPI3
    I2C_WATCHDOG_TO_SEL = _pyupm_bma220.BMA220_I2C_WATCHDOG_TO_SEL
    I2C_WATCHDOG_TO_EN = _pyupm_bma220.BMA220_I2C_WATCHDOG_TO_EN

    def __init__(self, *args):
        this = _pyupm_bma220.new_BMA220(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_bma220.delete_BMA220
    __del__ = lambda self: None

    def update(self):
        return _pyupm_bma220.BMA220_update(self)

    def readReg(self, reg):
        return _pyupm_bma220.BMA220_readReg(self, reg)

    def writeReg(self, reg, val):
        return _pyupm_bma220.BMA220_writeReg(self, reg, val)

    def getChipID(self):
        return _pyupm_bma220.BMA220_getChipID(self)

    def getChipRevision(self):
        return _pyupm_bma220.BMA220_getChipRevision(self)

    def setAccelerometerScale(self, scale):
        return _pyupm_bma220.BMA220_setAccelerometerScale(self, scale)

    def getAccelerometer(self, *args):
        return _pyupm_bma220.BMA220_getAccelerometer(self, *args)

    def getAcceleration(self):
        return _pyupm_bma220.BMA220_getAcceleration(self)

    def setFilterConfig(self, filter):
        return _pyupm_bma220.BMA220_setFilterConfig(self, filter)

    def setSerialHighBW(self, high):
        return _pyupm_bma220.BMA220_setSerialHighBW(self, high)

    def enableAxes(self, xEn, yEn, zEn):
        return _pyupm_bma220.BMA220_enableAxes(self, xEn, yEn, zEn)

    def suspend(self):
        return _pyupm_bma220.BMA220_suspend(self)

    def softReset(self):
        return _pyupm_bma220.BMA220_softReset(self)

    def sleep(self, enable):
        return _pyupm_bma220.BMA220_sleep(self, enable)

    def setSleepDuration(self, dur):
        return _pyupm_bma220.BMA220_setSleepDuration(self, dur)

    def setLowGThreshold(self, thresh):
        return _pyupm_bma220.BMA220_setLowGThreshold(self, thresh)

    def setHighGThreshold(self, thresh):
        return _pyupm_bma220.BMA220_setHighGThreshold(self, thresh)

    def setLowGHysteresis(self, hyst):
        return _pyupm_bma220.BMA220_setLowGHysteresis(self, hyst)

    def setLowGDuration(self, dur):
        return _pyupm_bma220.BMA220_setLowGDuration(self, dur)

    def setHighGHysteresis(self, hyst):
        return _pyupm_bma220.BMA220_setHighGHysteresis(self, hyst)

    def setHighGDuration(self, dur):
        return _pyupm_bma220.BMA220_setHighGDuration(self, dur)

    def setTapDuration(self, dur):
        return _pyupm_bma220.BMA220_setTapDuration(self, dur)

    def setTapThreshold(self, thresh):
        return _pyupm_bma220.BMA220_setTapThreshold(self, thresh)

    def enableTapFilter(self, filt):
        return _pyupm_bma220.BMA220_enableTapFilter(self, filt)

    def setSlopeDuration(self, dur):
        return _pyupm_bma220.BMA220_setSlopeDuration(self, dur)

    def setSlopeThreshold(self, thresh):
        return _pyupm_bma220.BMA220_setSlopeThreshold(self, thresh)

    def enableSlopeFilter(self, filt):
        return _pyupm_bma220.BMA220_enableSlopeFilter(self, filt)

    def getInterruptStatus1(self):
        return _pyupm_bma220.BMA220_getInterruptStatus1(self)

    def getOrient(self):
        return _pyupm_bma220.BMA220_getOrient(self)

    def getInterruptStatus2(self):
        return _pyupm_bma220.BMA220_getInterruptStatus2(self)

    def setInterruptEnables1(self, bits):
        return _pyupm_bma220.BMA220_setInterruptEnables1(self, bits)

    def getInterruptEnables1(self):
        return _pyupm_bma220.BMA220_getInterruptEnables1(self)

    def setInterruptEnables2(self, bits):
        return _pyupm_bma220.BMA220_setInterruptEnables2(self, bits)

    def getInterruptEnables2(self):
        return _pyupm_bma220.BMA220_getInterruptEnables2(self)

    def setInterruptLatch(self, lat):
        return _pyupm_bma220.BMA220_setInterruptLatch(self, lat)

    def resetInterrupts(self):
        return _pyupm_bma220.BMA220_resetInterrupts(self)

    def installISR(self, gpio, level, isr, arg):
        return _pyupm_bma220.BMA220_installISR(self, gpio, level, isr, arg)

    def uninstallISR(self):
        return _pyupm_bma220.BMA220_uninstallISR(self)

    def get_gpioIntr(self):
        return _pyupm_bma220.BMA220_get_gpioIntr(self)
BMA220_swigregister = _pyupm_bma220.BMA220_swigregister
BMA220_swigregister(BMA220)

# This file is compatible with both classic and new-style classes.


