# 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_mma7455
else:
    import _pyupm_mma7455

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_mma7455.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_mma7455.delete_SwigPyIterator

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register SwigPyIterator in _pyupm_mma7455:
_pyupm_mma7455.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_mma7455.intVector_iterator(self)
    def __iter__(self):
        return self.iterator()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register intVector in _pyupm_mma7455:
_pyupm_mma7455.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_mma7455.int16Vector_iterator(self)
    def __iter__(self):
        return self.iterator()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register int16Vector in _pyupm_mma7455:
_pyupm_mma7455.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_mma7455.floatVector_iterator(self)
    def __iter__(self):
        return self.iterator()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register floatVector in _pyupm_mma7455:
_pyupm_mma7455.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_mma7455.doubleVector_iterator(self)
    def __iter__(self):
        return self.iterator()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# Register doubleVector in _pyupm_mma7455:
_pyupm_mma7455.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_mma7455.byteVector_iterator(self)
    def __iter__(self):
        return self.iterator()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ADDR = _pyupm_mma7455.ADDR
MMA7455_XOUTL = _pyupm_mma7455.MMA7455_XOUTL
MMA7455_XOUTH = _pyupm_mma7455.MMA7455_XOUTH
MMA7455_YOUTL = _pyupm_mma7455.MMA7455_YOUTL
MMA7455_YOUTH = _pyupm_mma7455.MMA7455_YOUTH
MMA7455_ZOUTL = _pyupm_mma7455.MMA7455_ZOUTL
MMA7455_ZOUTH = _pyupm_mma7455.MMA7455_ZOUTH
MMA7455_XOUT8 = _pyupm_mma7455.MMA7455_XOUT8
MMA7455_YOUT8 = _pyupm_mma7455.MMA7455_YOUT8
MMA7455_ZOUT8 = _pyupm_mma7455.MMA7455_ZOUT8
MMA7455_STATUS = _pyupm_mma7455.MMA7455_STATUS
MMA7455_DETSRC = _pyupm_mma7455.MMA7455_DETSRC
MMA7455_TOUT = _pyupm_mma7455.MMA7455_TOUT
MMA7455_RESERVED1 = _pyupm_mma7455.MMA7455_RESERVED1
MMA7455_I2CAD = _pyupm_mma7455.MMA7455_I2CAD
MMA7455_USRINF = _pyupm_mma7455.MMA7455_USRINF
MMA7455_WHOAMI = _pyupm_mma7455.MMA7455_WHOAMI
MMA7455_XOFFL = _pyupm_mma7455.MMA7455_XOFFL
MMA7455_XOFFH = _pyupm_mma7455.MMA7455_XOFFH
MMA7455_YOFFL = _pyupm_mma7455.MMA7455_YOFFL
MMA7455_YOFFH = _pyupm_mma7455.MMA7455_YOFFH
MMA7455_ZOFFL = _pyupm_mma7455.MMA7455_ZOFFL
MMA7455_ZOFFH = _pyupm_mma7455.MMA7455_ZOFFH
MMA7455_MCTL = _pyupm_mma7455.MMA7455_MCTL
MMA7455_INTRST = _pyupm_mma7455.MMA7455_INTRST
MMA7455_CTL1 = _pyupm_mma7455.MMA7455_CTL1
MMA7455_CTL2 = _pyupm_mma7455.MMA7455_CTL2
MMA7455_LDTH = _pyupm_mma7455.MMA7455_LDTH
MMA7455_PDTH = _pyupm_mma7455.MMA7455_PDTH
MMA7455_PD = _pyupm_mma7455.MMA7455_PD
MMA7455_LT = _pyupm_mma7455.MMA7455_LT
MMA7455_TW = _pyupm_mma7455.MMA7455_TW
MMA7455_RESERVED2 = _pyupm_mma7455.MMA7455_RESERVED2
MMA7455_D0 = _pyupm_mma7455.MMA7455_D0
MMA7455_D1 = _pyupm_mma7455.MMA7455_D1
MMA7455_D2 = _pyupm_mma7455.MMA7455_D2
MMA7455_D3 = _pyupm_mma7455.MMA7455_D3
MMA7455_D4 = _pyupm_mma7455.MMA7455_D4
MMA7455_D5 = _pyupm_mma7455.MMA7455_D5
MMA7455_D6 = _pyupm_mma7455.MMA7455_D6
MMA7455_D7 = _pyupm_mma7455.MMA7455_D7
MMA7455_DRDY = _pyupm_mma7455.MMA7455_DRDY
MMA7455_DOVR = _pyupm_mma7455.MMA7455_DOVR
MMA7455_PERR = _pyupm_mma7455.MMA7455_PERR
MMA7455_MODE0 = _pyupm_mma7455.MMA7455_MODE0
MMA7455_MODE1 = _pyupm_mma7455.MMA7455_MODE1
MMA7455_GLVL0 = _pyupm_mma7455.MMA7455_GLVL0
MMA7455_GLVL1 = _pyupm_mma7455.MMA7455_GLVL1
MMA7455_STON = _pyupm_mma7455.MMA7455_STON
MMA7455_SPI3W = _pyupm_mma7455.MMA7455_SPI3W
MMA7455_DRPD = _pyupm_mma7455.MMA7455_DRPD
MMA7455_INTPIN = _pyupm_mma7455.MMA7455_INTPIN
MMA7455_INTREG0 = _pyupm_mma7455.MMA7455_INTREG0
MMA7455_INTREG1 = _pyupm_mma7455.MMA7455_INTREG1
MMA7455_XDA = _pyupm_mma7455.MMA7455_XDA
MMA7455_YDA = _pyupm_mma7455.MMA7455_YDA
MMA7455_ZDA = _pyupm_mma7455.MMA7455_ZDA
MMA7455_THOPT = _pyupm_mma7455.MMA7455_THOPT
MMA7455_DFBW = _pyupm_mma7455.MMA7455_DFBW
MMA7455_LDPL = _pyupm_mma7455.MMA7455_LDPL
MMA7455_PDPL = _pyupm_mma7455.MMA7455_PDPL
MMA7455_DRVO = _pyupm_mma7455.MMA7455_DRVO
MMA7455_CLR_INT1 = _pyupm_mma7455.MMA7455_CLR_INT1
MMA7455_CLR_INT2 = _pyupm_mma7455.MMA7455_CLR_INT2
MMA7455_INT1 = _pyupm_mma7455.MMA7455_INT1
MMA7455_INT2 = _pyupm_mma7455.MMA7455_INT2
MMA7455_PDZ = _pyupm_mma7455.MMA7455_PDZ
MMA7455_PDY = _pyupm_mma7455.MMA7455_PDY
MMA7455_PDX = _pyupm_mma7455.MMA7455_PDX
MMA7455_LDZ = _pyupm_mma7455.MMA7455_LDZ
MMA7455_LDY = _pyupm_mma7455.MMA7455_LDY
MMA7455_LDX = _pyupm_mma7455.MMA7455_LDX
MMA7455_I2CDIS = _pyupm_mma7455.MMA7455_I2CDIS
HIGH = _pyupm_mma7455.HIGH
LOW = _pyupm_mma7455.LOW
class accelData(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self):
        _pyupm_mma7455.accelData_swiginit(self, _pyupm_mma7455.new_accelData())
    __swig_destroy__ = _pyupm_mma7455.delete_accelData

# Register accelData in _pyupm_mma7455:
_pyupm_mma7455.accelData_swigregister(accelData)

class MMA7455(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

    def __init__(self, bus=0, devAddr=0x1D):
        _pyupm_mma7455.MMA7455_swiginit(self, _pyupm_mma7455.new_MMA7455(bus, devAddr))

    def name(self):
        return _pyupm_mma7455.MMA7455_name(self)

    def calibrate(self):
        return _pyupm_mma7455.MMA7455_calibrate(self)

    def readData(self, *args):
        return _pyupm_mma7455.MMA7455_readData(self, *args)

    def getAcceleration(self):
        return _pyupm_mma7455.MMA7455_getAcceleration(self)

    def i2cReadReg(self, reg, buffer, len):
        return _pyupm_mma7455.MMA7455_i2cReadReg(self, reg, buffer, len)

    def i2cWriteReg(self, reg, buffer, len):
        return _pyupm_mma7455.MMA7455_i2cWriteReg(self, reg, buffer, len)
    __swig_destroy__ = _pyupm_mma7455.delete_MMA7455

# Register MMA7455 in _pyupm_mma7455:
_pyupm_mma7455.MMA7455_swigregister(MMA7455)



