# 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_mma7455')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_pyupm_mma7455')
    _pyupm_mma7455 = 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_mma7455', [dirname(__file__)])
        except ImportError:
            import _pyupm_mma7455
            return _pyupm_mma7455
        try:
            _mod = imp.load_module('_pyupm_mma7455', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _pyupm_mma7455 = swig_import_helper()
    del swig_import_helper
else:
    import _pyupm_mma7455
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_mma7455.getVersion()
getVersion = _pyupm_mma7455.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_mma7455.delete_SwigPyIterator
    __del__ = lambda self: None

    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
SwigPyIterator_swigregister = _pyupm_mma7455.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_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):
        this = _pyupm_mma7455.new_intVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    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
    __del__ = lambda self: None
intVector_swigregister = _pyupm_mma7455.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_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):
        this = _pyupm_mma7455.new_int16Vector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    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
    __del__ = lambda self: None
int16Vector_swigregister = _pyupm_mma7455.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_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):
        this = _pyupm_mma7455.new_floatVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    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
    __del__ = lambda self: None
floatVector_swigregister = _pyupm_mma7455.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_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):
        this = _pyupm_mma7455.new_doubleVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    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
    __del__ = lambda self: None
doubleVector_swigregister = _pyupm_mma7455.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_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):
        this = _pyupm_mma7455.new_byteVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    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
    __del__ = lambda self: None
byteVector_swigregister = _pyupm_mma7455.byteVector_swigregister
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):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, accelData, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, accelData, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _pyupm_mma7455.new_accelData()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_mma7455.delete_accelData
    __del__ = lambda self: None
accelData_swigregister = _pyupm_mma7455.accelData_swigregister
accelData_swigregister(accelData)

class MMA7455(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, MMA7455, 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, MMA7455, name)
    __repr__ = _swig_repr

    def __init__(self, bus=0, devAddr=0x1D):
        this = _pyupm_mma7455.new_MMA7455(bus, devAddr)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    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
    __del__ = lambda self: None
MMA7455_swigregister = _pyupm_mma7455.MMA7455_swigregister
MMA7455_swigregister(MMA7455)

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


