# 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_mma8x5x
else:
    import _pyupm_mma8x5x

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_mma8x5x.getVersion()
MMA8X5X_DEVICE_ID_MMA8652 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8652
MMA8X5X_DEVICE_ID_MMA8653 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8653
MMA8X5X_DEVICE_ID_MMA8451 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8451
MMA8X5X_DEVICE_ID_MMA8452 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8452
MMA8X5X_DEVICE_ID_MMA8453 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8453
MMA8X5X_NAME_MMA8652 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8652
MMA8X5X_NAME_MMA8653 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8653
MMA8X5X_NAME_MMA8451 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8451
MMA8X5X_NAME_MMA8452 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8452
MMA8X5X_NAME_MMA8453 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8453
MMA8X5X_I2C_ADDRESS = _pyupm_mma8x5x.MMA8X5X_I2C_ADDRESS
MMA8X5X_DEVICE_ID_REG = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_REG
MMA8X5X_STATUS = _pyupm_mma8x5x.MMA8X5X_STATUS
MMA8X5X_OUT_X_MSB = _pyupm_mma8x5x.MMA8X5X_OUT_X_MSB
MMA8X5X_OUT_X_LSB = _pyupm_mma8x5x.MMA8X5X_OUT_X_LSB
MMA8X5X_OUT_Y_MSB = _pyupm_mma8x5x.MMA8X5X_OUT_Y_MSB
MMA8X5X_OUT_Y_LSB = _pyupm_mma8x5x.MMA8X5X_OUT_Y_LSB
MMA8X5X_OUT_Z_MSB = _pyupm_mma8x5x.MMA8X5X_OUT_Z_MSB
MMA8X5X_OUT_Z_LSB = _pyupm_mma8x5x.MMA8X5X_OUT_Z_LSB
MMA8X5X_F_SETUP = _pyupm_mma8x5x.MMA8X5X_F_SETUP
MMA8X5X_TRIG_CFG = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG
MMA8X5X_SYSMOD = _pyupm_mma8x5x.MMA8X5X_SYSMOD
MMA8X5X_INT_SOURCE = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE
MMA8X5X_XYZ_DATA_CFG = _pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG
MMA8X5X_HP_FILTER_CUTOFF = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_CUTOFF
MMA8X5X_PL_STATUS = _pyupm_mma8x5x.MMA8X5X_PL_STATUS
MMA8X5X_PL_CFG = _pyupm_mma8x5x.MMA8X5X_PL_CFG
MMA8X5X_PL_COUNT = _pyupm_mma8x5x.MMA8X5X_PL_COUNT
MMA8X5X_PL_BF_ZCOMP = _pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP
MMA8X5X_P_L_THS_REG = _pyupm_mma8x5x.MMA8X5X_P_L_THS_REG
MMA8X5X_FF_MT_CFG = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG
MMA8X5X_FF_MT_SRC = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC
MMA8X5X_FF_MT_THS = _pyupm_mma8x5x.MMA8X5X_FF_MT_THS
MMA8X5X_FF_MT_COUNT = _pyupm_mma8x5x.MMA8X5X_FF_MT_COUNT
MMA8X5X_TRANSIENT_CFG = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG
MMA8X5X_TRANSIENT_SRC = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC
MMA8X5X_TRANSIENT_THS = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS
MMA8X5X_TRANSIENT_COUNT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_COUNT
MMA8X5X_PULSE_CFG = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG
MMA8X5X_PULSE_SRC = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC
MMA8X5X_PULSE_THSX = _pyupm_mma8x5x.MMA8X5X_PULSE_THSX
MMA8X5X_PULSE_THSY = _pyupm_mma8x5x.MMA8X5X_PULSE_THSY
MMA8X5X_PULSE_THSZ = _pyupm_mma8x5x.MMA8X5X_PULSE_THSZ
MMA8X5X_PULSE_TMLT = _pyupm_mma8x5x.MMA8X5X_PULSE_TMLT
MMA8X5X_PULSE_LTCY = _pyupm_mma8x5x.MMA8X5X_PULSE_LTCY
MMA8X5X_PULSE_WIND = _pyupm_mma8x5x.MMA8X5X_PULSE_WIND
MMA8X5X_ASLP_COUNT = _pyupm_mma8x5x.MMA8X5X_ASLP_COUNT
MMA8X5X_CTRL_REG1 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1
MMA8X5X_CTRL_REG2 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2
MMA8X5X_CTRL_REG3 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3
MMA8X5X_CTRL_REG4 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4
MMA8X5X_CTRL_REG5 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5
MMA8X5X_OFF_X = _pyupm_mma8x5x.MMA8X5X_OFF_X
MMA8X5X_OFF_Y = _pyupm_mma8x5x.MMA8X5X_OFF_Y
MMA8X5X_OFF_Z = _pyupm_mma8x5x.MMA8X5X_OFF_Z
MMA8X5X_RATE_800HZ = _pyupm_mma8x5x.MMA8X5X_RATE_800HZ
MMA8X5X_RATE_400HZ = _pyupm_mma8x5x.MMA8X5X_RATE_400HZ
MMA8X5X_RATE_200HZ = _pyupm_mma8x5x.MMA8X5X_RATE_200HZ
MMA8X5X_RATE_100HZ = _pyupm_mma8x5x.MMA8X5X_RATE_100HZ
MMA8X5X_RATE_50HZ = _pyupm_mma8x5x.MMA8X5X_RATE_50HZ
MMA8X5X_RATE_1HZ25 = _pyupm_mma8x5x.MMA8X5X_RATE_1HZ25
MMA8X5X_RATE_6HZ25 = _pyupm_mma8x5x.MMA8X5X_RATE_6HZ25
MMA8X5X_RATE_1HZ56 = _pyupm_mma8x5x.MMA8X5X_RATE_1HZ56
MMA8X5X_RATE_DEFAULT = _pyupm_mma8x5x.MMA8X5X_RATE_DEFAULT
MMA8X5X_RANGE_2G = _pyupm_mma8x5x.MMA8X5X_RANGE_2G
MMA8X5X_RANGE_4G = _pyupm_mma8x5x.MMA8X5X_RANGE_4G
MMA8X5X_RANGE_8G = _pyupm_mma8x5x.MMA8X5X_RANGE_8G
MMA8X5X_RANGE_DEFAULT = _pyupm_mma8x5x.MMA8X5X_RANGE_DEFAULT
MMA8X5X_OK = _pyupm_mma8x5x.MMA8X5X_OK
MMA8X5X_DATA_READY = _pyupm_mma8x5x.MMA8X5X_DATA_READY
MMA8X5X_NOI2C = _pyupm_mma8x5x.MMA8X5X_NOI2C
MMA8X5X_NODEV = _pyupm_mma8x5x.MMA8X5X_NODEV
MMA8X5X_NODATA = _pyupm_mma8x5x.MMA8X5X_NODATA
MMA8X5X_STATUS_XDR = _pyupm_mma8x5x.MMA8X5X_STATUS_XDR
MMA8X5X_STATUS_YDR = _pyupm_mma8x5x.MMA8X5X_STATUS_YDR
MMA8X5X_STATUS_ZDR = _pyupm_mma8x5x.MMA8X5X_STATUS_ZDR
MMA8X5X_STATUS_ZYXDR = _pyupm_mma8x5x.MMA8X5X_STATUS_ZYXDR
MMA8X5X_STATUS_XOW = _pyupm_mma8x5x.MMA8X5X_STATUS_XOW
MMA8X5X_STATUS_YOW = _pyupm_mma8x5x.MMA8X5X_STATUS_YOW
MMA8X5X_STATUS_ZOW = _pyupm_mma8x5x.MMA8X5X_STATUS_ZOW
MMA8X5X_STATUS_ZYXOW = _pyupm_mma8x5x.MMA8X5X_STATUS_ZYXOW
MMA8X5X_F_STATUS_F_CNT_MASK = _pyupm_mma8x5x.MMA8X5X_F_STATUS_F_CNT_MASK
MMA8X5X_F_STATUS_F_WMRK_FLAG = _pyupm_mma8x5x.MMA8X5X_F_STATUS_F_WMRK_FLAG
MMA8X5X_F_STATUS_F_OVF = _pyupm_mma8x5x.MMA8X5X_F_STATUS_F_OVF
MMA8X5X_F_SETUP_MODE_MASK = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_MASK
MMA8X5X_F_SETUP_MODE_DISABLED = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_DISABLED
MMA8X5X_F_SETUP_MODE_CIRCULAR = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_CIRCULAR
MMA8X5X_F_SETUP_MODE_STOP = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_STOP
MMA8X5X_F_SETUP_MODE_TRIGGER = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_TRIGGER
MMA8X5X_F_SETUP_F_WMRK_MASK = _pyupm_mma8x5x.MMA8X5X_F_SETUP_F_WMRK_MASK
MMA8X5X_TRIG_CFG_FF_MT = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_FF_MT
MMA8X5X_TRIG_CFG_PULSE = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_PULSE
MMA8X5X_TRIG_CFG_LNDPRT = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_LNDPRT
MMA8X5X_TRIG_CFG_TRANS = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_TRANS
MMA8X5X_SYSMOD_MASK = _pyupm_mma8x5x.MMA8X5X_SYSMOD_MASK
MMA8X5X_SYSMOD_STANDBY = _pyupm_mma8x5x.MMA8X5X_SYSMOD_STANDBY
MMA8X5X_SYSMOD_WAKE = _pyupm_mma8x5x.MMA8X5X_SYSMOD_WAKE
MMA8X5X_SYSMOD_SLEEP = _pyupm_mma8x5x.MMA8X5X_SYSMOD_SLEEP
MMA8X5X_SYSMOD_FGT_MASK = _pyupm_mma8x5x.MMA8X5X_SYSMOD_FGT_MASK
MMA8X5X_SYSMOD_FGERR = _pyupm_mma8x5x.MMA8X5X_SYSMOD_FGERR
MMA8X5X_INT_SOURCE_DRDY = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_DRDY
MMA8X5X_INT_SOURCE_FF_MT = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_FF_MT
MMA8X5X_INT_SOURCE_PULSE = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_PULSE
MMA8X5X_INT_SOURCE_LNDPRT = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_LNDPRT
MMA8X5X_INT_SOURCE_TRANS = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_TRANS
MMA8X5X_INT_SOURCE_FIFO = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_FIFO
MMA8X5X_INT_SOURCE_ASLP = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_ASLP
MMA8X5X_XYZ_DATA_CFG_FS_MASK = _pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG_FS_MASK
MMA8X5X_XYZ_DATA_CFG_HPF_OUT = _pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG_HPF_OUT
MMA8X5X_HP_FILTER_SEL_MASK = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_SEL_MASK
MMA8X5X_HP_FILTER_LPF_EN = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_LPF_EN
MMA8X5X_HP_FILTER_HPF_BYP = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_HPF_BYP
MMA8X5X_PL_STATUS_BAFRO = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_BAFRO
MMA8X5X_PL_STATUS_LAPO_MASK = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_MASK
MMA8X5X_PL_STATUS_LAPO_P_UP = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_P_UP
MMA8X5X_PL_STATUS_LAPO_P_DOWN = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_P_DOWN
MMA8X5X_PL_STATUS_LAPO_L_RIGHT = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_L_RIGHT
MMA8X5X_PL_STATUS_LAPO_L_LEFT = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_L_LEFT
MMA8X5X_PL_STATUS_LO = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LO
MMA8X5X_PL_STATUS_NEWLP = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_NEWLP
MMA8X5X_PL_CFG_PL_EN = _pyupm_mma8x5x.MMA8X5X_PL_CFG_PL_EN
MMA8X5X_PL_CFG_DBCNTM = _pyupm_mma8x5x.MMA8X5X_PL_CFG_DBCNTM
MMA8X5X_PL_BF_ZCOMP_ZLOCK_MASK = _pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP_ZLOCK_MASK
MMA8X5X_PL_BF_ZCOMP_BKFR_MASK = _pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP_BKFR_MASK
MMA8X5X_P_L_HYS_MASK = _pyupm_mma8x5x.MMA8X5X_P_L_HYS_MASK
MMA8X5X_P_L_THS_MASK = _pyupm_mma8x5x.MMA8X5X_P_L_THS_MASK
MMA8X5X_FF_MT_CFG_XEFE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_XEFE
MMA8X5X_FF_MT_CFG_YEFE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_YEFE
MMA8X5X_FF_MT_CFG_ZEFE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_ZEFE
MMA8X5X_FF_MT_CFG_OAE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_OAE
MMA8X5X_FF_MT_CFG_ELE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_ELE
MMA8X5X_FF_MT_SRC_XHP = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_XHP
MMA8X5X_FF_MT_SRC_XHE = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_XHE
MMA8X5X_FF_MT_SRC_YHP = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_YHP
MMA8X5X_FF_MT_SRC_YHE = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_YHE
MMA8X5X_FF_MT_SRC_ZHP = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_ZHP
MMA8X5X_FF_MT_SRC_ZHE = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_ZHE
MMA8X5X_FF_MT_SRC_EA = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_EA
MMA8X5X_FF_MT_THS_MASK = _pyupm_mma8x5x.MMA8X5X_FF_MT_THS_MASK
MMA8X5X_FF_MT_THS_DBCNTM = _pyupm_mma8x5x.MMA8X5X_FF_MT_THS_DBCNTM
MMA8X5X_TRANSIENT_CFG_HPF_BYP = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_HPF_BYP
MMA8X5X_TRANSIENT_CFG_XTEFE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_XTEFE
MMA8X5X_TRANSIENT_CFG_YTEFE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_YTEFE
MMA8X5X_TRANSIENT_CFG_ZTEFE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_ZTEFE
MMA8X5X_TRANSIENT_CFG_ELE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_ELE
MMA8X5X_TRANSIENT_SRC_XTPOL = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_XTPOL
MMA8X5X_TRANSIENT_SRC_XTEVENT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_XTEVENT
MMA8X5X_TRANSIENT_SRC_YTPOL = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_YTPOL
MMA8X5X_TRANSIENT_SRC_YTEVENT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_YTEVENT
MMA8X5X_TRANSIENT_SRC_ZTPOL = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_ZTPOL
MMA8X5X_TRANSIENT_SRC_ZTEVENT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_ZTEVENT
MMA8X5X_TRANSIENT_SRC_EA = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_EA
MMA8X5X_TRANSIENT_THS_MASK = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS_MASK
MMA8X5X_TRANSIENT_THS_DBCNTM = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS_DBCNTM
MMA8X5X_PULSE_CFG_XSPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_XSPEFE
MMA8X5X_PULSE_CFG_XDPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_XDPEFE
MMA8X5X_PULSE_CFG_YSPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_YSPEFE
MMA8X5X_PULSE_CFG_YDPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_YDPEFE
MMA8X5X_PULSE_CFG_ZSPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ZSPEFE
MMA8X5X_PULSE_CFG_ZDPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ZDPEFE
MMA8X5X_PULSE_CFG_ELE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ELE
MMA8X5X_PULSE_CFG_DPA = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_DPA
MMA8X5X_PULSE_SRC_POLX = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLX
MMA8X5X_PULSE_SRC_POLY = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLY
MMA8X5X_PULSE_SRC_POLZ = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLZ
MMA8X5X_PULSE_SRC_DPE = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_DPE
MMA8X5X_PULSE_SRC_AXX = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXX
MMA8X5X_PULSE_SRC_AXY = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXY
MMA8X5X_PULSE_SRC_AXZ = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXZ
MMA8X5X_PULSE_SRC_EA = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_EA
MMA8X5X_PULSE_THSX_MASK = _pyupm_mma8x5x.MMA8X5X_PULSE_THSX_MASK
MMA8X5X_PULSE_THSY_MASK = _pyupm_mma8x5x.MMA8X5X_PULSE_THSY_MASK
MMA8X5X_PULSE_THSZ_MASK = _pyupm_mma8x5x.MMA8X5X_PULSE_THSZ_MASK
MMA8X5X_CTRL_REG1_ACTIVE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ACTIVE
MMA8X5X_CTRL_REG1_F_READ = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_F_READ
MMA8X5X_CTRL_REG1_DR_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_DR_MASK
MMA8X5X_CTRL_REG1_DR_SHIFT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_DR_SHIFT
MMA8X5X_CTRL_REG1_ASR_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_MASK
MMA8X5X_CTRL_REG1_ASR_50HZ = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_50HZ
MMA8X5X_CTRL_REG1_ASR_12HZ5 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_12HZ5
MMA8X5X_CTRL_REG1_ASR_6HZ25 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_6HZ25
MMA8X5X_CTRL_REG1_ASR_1HZ56 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_1HZ56
MMA8X5X_CTRL_REG2_MODS_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_MASK
MMA8X5X_CTRL_REG2_MODS_NORMAL = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_NORMAL
MMA8X5X_CTRL_REG2_MODS_LNLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_LNLP
MMA8X5X_CTRL_REG2_MODS_HR = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_HR
MMA8X5X_CTRL_REG2_MODS_LP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_LP
MMA8X5X_CTRL_REG2_SLPE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SLPE
MMA8X5X_CTRL_REG2_SMODS_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_MASK
MMA8X5X_CTRL_REG2_SMODS_NORMAL = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_NORMAL
MMA8X5X_CTRL_REG2_SMODS_LNLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_LNLP
MMA8X5X_CTRL_REG2_SMODS_HR = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_HR
MMA8X5X_CTRL_REG2_SMODS_LP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_LP
MMA8X5X_CTRL_REG2_RST = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_RST
MMA8X5X_CTRL_REG2_ST = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_ST
MMA8X5X_CTRL_REG3_PP_OD = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_PP_OD
MMA8X5X_CTRL_REG3_IPOL = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_IPOL
MMA8X5X_CTRL_REG3_WAKE_FF_MT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_FF_MT
MMA8X5X_CTRL_REG3_WAKE_PULSE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_PULSE
MMA8X5X_CTRL_REG3_WAKE_LNDPRT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_LNDPRT
MMA8X5X_CTRL_REG3_WAKE_TRANS = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_TRANS
MMA8X5X_CTRL_REG3_FIFO_GATE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_FIFO_GATE
MMA8X5X_CTRL_REG4_INT_EN_DRDY = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_DRDY
MMA8X5X_CTRL_REG4_INT_EN_FF_MT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_FF_MT
MMA8X5X_CTRL_REG4_INT_EN_PULSE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_PULSE
MMA8X5X_CTRL_REG4_INT_EN_LNDPRT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_LNDPRT
MMA8X5X_CTRL_REG4_INT_EN_TRANS = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_TRANS
MMA8X5X_CTRL_REG4_INT_EN_FIFO = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_FIFO
MMA8X5X_CTRL_REG4_INT_EN_ASLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_ASLP
MMA8X5X_CTRL_REG5_INT_CFG_DRDY = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_DRDY
MMA8X5X_CTRL_REG5_INT_CFG_FF_MT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_FF_MT
MMA8X5X_CTRL_REG5_INT_CFG_PULSE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_PULSE
MMA8X5X_CTRL_REG5_INT_CFG_LNDPRT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_LNDPRT
MMA8X5X_CTRL_REG5_INT_CFG_TRANS = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_TRANS
MMA8X5X_CTRL_REG5_INT_CFG_FIFO = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_FIFO
MMA8X5X_CTRL_REG5_INT_CFG_ASLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_ASLP
class mma8x5x_params_t(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    type = property(_pyupm_mma8x5x.mma8x5x_params_t_type_get, _pyupm_mma8x5x.mma8x5x_params_t_type_set)
    rate = property(_pyupm_mma8x5x.mma8x5x_params_t_rate_get, _pyupm_mma8x5x.mma8x5x_params_t_rate_set)
    range = property(_pyupm_mma8x5x.mma8x5x_params_t_range_get, _pyupm_mma8x5x.mma8x5x_params_t_range_set)
    offsetX = property(_pyupm_mma8x5x.mma8x5x_params_t_offsetX_get, _pyupm_mma8x5x.mma8x5x_params_t_offsetX_set)
    offsetY = property(_pyupm_mma8x5x.mma8x5x_params_t_offsetY_get, _pyupm_mma8x5x.mma8x5x_params_t_offsetY_set)
    offsetZ = property(_pyupm_mma8x5x.mma8x5x_params_t_offsetZ_get, _pyupm_mma8x5x.mma8x5x_params_t_offsetZ_set)

    def __init__(self):
        _pyupm_mma8x5x.mma8x5x_params_t_swiginit(self, _pyupm_mma8x5x.new_mma8x5x_params_t())
    __swig_destroy__ = _pyupm_mma8x5x.delete_mma8x5x_params_t

# Register mma8x5x_params_t in _pyupm_mma8x5x:
_pyupm_mma8x5x.mma8x5x_params_t_swigregister(mma8x5x_params_t)

class mma8x5x_data_t(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    x = property(_pyupm_mma8x5x.mma8x5x_data_t_x_get, _pyupm_mma8x5x.mma8x5x_data_t_x_set)
    y = property(_pyupm_mma8x5x.mma8x5x_data_t_y_get, _pyupm_mma8x5x.mma8x5x_data_t_y_set)
    z = property(_pyupm_mma8x5x.mma8x5x_data_t_z_get, _pyupm_mma8x5x.mma8x5x_data_t_z_set)

    def __init__(self):
        _pyupm_mma8x5x.mma8x5x_data_t_swiginit(self, _pyupm_mma8x5x.new_mma8x5x_data_t())
    __swig_destroy__ = _pyupm_mma8x5x.delete_mma8x5x_data_t

# Register mma8x5x_data_t in _pyupm_mma8x5x:
_pyupm_mma8x5x.mma8x5x_data_t_swigregister(mma8x5x_data_t)

class MMA8X5X(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, params=None, devAddr=0x1D):
        _pyupm_mma8x5x.MMA8X5X_swiginit(self, _pyupm_mma8x5x.new_MMA8X5X(bus, params, devAddr))

    def setDeviceName(self, type):
        return _pyupm_mma8x5x.MMA8X5X_setDeviceName(self, type)

    def setDeviceParams(self, params):
        return _pyupm_mma8x5x.MMA8X5X_setDeviceParams(self, params)

    def setUserOffset(self, x, y, z):
        return _pyupm_mma8x5x.MMA8X5X_setUserOffset(self, x, y, z)

    def setActive(self):
        return _pyupm_mma8x5x.MMA8X5X_setActive(self)

    def setStandby(self):
        return _pyupm_mma8x5x.MMA8X5X_setStandby(self)

    def isReady(self):
        return _pyupm_mma8x5x.MMA8X5X_isReady(self)

    def sampleData(self):
        return _pyupm_mma8x5x.MMA8X5X_sampleData(self)

    def getX(self, bSampleData=0):
        return _pyupm_mma8x5x.MMA8X5X_getX(self, bSampleData)

    def getY(self, bSampleData=0):
        return _pyupm_mma8x5x.MMA8X5X_getY(self, bSampleData)

    def getZ(self, bSampleData=0):
        return _pyupm_mma8x5x.MMA8X5X_getZ(self, bSampleData)

    def getAcceleration(self):
        return _pyupm_mma8x5x.MMA8X5X_getAcceleration(self)

    def getData(self, data, bSampleData=0):
        return _pyupm_mma8x5x.MMA8X5X_getData(self, data, bSampleData)
    __swig_destroy__ = _pyupm_mma8x5x.delete_MMA8X5X

# Register MMA8X5X in _pyupm_mma8x5x:
_pyupm_mma8x5x.MMA8X5X_swigregister(MMA8X5X)



