# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# 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
if 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_mma8x5x', [dirname(__file__)])
except ImportError:
import _pyupm_mma8x5x
return _pyupm_mma8x5x
if fp is not None:
try:
_mod = imp.load_module('_pyupm_mma8x5x', fp, pathname, description)
finally:
fp.close()
return _mod
_pyupm_mma8x5x = swig_import_helper()
del swig_import_helper
else:
import _pyupm_mma8x5x
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
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_nondynamic(self, class_type, name, static=1):
if (name == "thisown"):
return self.this.own()
method = class_type.__swig_getmethods__.get(name, None)
if method:
return method(self)
if (not static):
return object.__getattr__(self, name)
else:
raise AttributeError(name)
def _swig_getattr(self, class_type, name):
return _swig_getattr_nondynamic(self, class_type, name, 0)
def _swig_repr(self):
try:
strthis = "proxy of " + self.this.__repr__()
except Exception:
strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object:
pass
_newclass = 0
def getVersion():
return _pyupm_mma8x5x.getVersion()
getVersion = _pyupm_mma8x5x.getVersion
_pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8652_swigconstant(_pyupm_mma8x5x)
MMA8X5X_DEVICE_ID_MMA8652 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8652
_pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8653_swigconstant(_pyupm_mma8x5x)
MMA8X5X_DEVICE_ID_MMA8653 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8653
_pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8451_swigconstant(_pyupm_mma8x5x)
MMA8X5X_DEVICE_ID_MMA8451 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8451
_pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8452_swigconstant(_pyupm_mma8x5x)
MMA8X5X_DEVICE_ID_MMA8452 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8452
_pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8453_swigconstant(_pyupm_mma8x5x)
MMA8X5X_DEVICE_ID_MMA8453 = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_MMA8453
_pyupm_mma8x5x.MMA8X5X_NAME_MMA8652_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NAME_MMA8652 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8652
_pyupm_mma8x5x.MMA8X5X_NAME_MMA8653_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NAME_MMA8653 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8653
_pyupm_mma8x5x.MMA8X5X_NAME_MMA8451_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NAME_MMA8451 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8451
_pyupm_mma8x5x.MMA8X5X_NAME_MMA8452_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NAME_MMA8452 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8452
_pyupm_mma8x5x.MMA8X5X_NAME_MMA8453_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NAME_MMA8453 = _pyupm_mma8x5x.MMA8X5X_NAME_MMA8453
_pyupm_mma8x5x.MMA8X5X_I2C_ADDRESS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_I2C_ADDRESS = _pyupm_mma8x5x.MMA8X5X_I2C_ADDRESS
_pyupm_mma8x5x.MMA8X5X_DEVICE_ID_REG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_DEVICE_ID_REG = _pyupm_mma8x5x.MMA8X5X_DEVICE_ID_REG
_pyupm_mma8x5x.MMA8X5X_STATUS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS = _pyupm_mma8x5x.MMA8X5X_STATUS
_pyupm_mma8x5x.MMA8X5X_OUT_X_MSB_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OUT_X_MSB = _pyupm_mma8x5x.MMA8X5X_OUT_X_MSB
_pyupm_mma8x5x.MMA8X5X_OUT_X_LSB_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OUT_X_LSB = _pyupm_mma8x5x.MMA8X5X_OUT_X_LSB
_pyupm_mma8x5x.MMA8X5X_OUT_Y_MSB_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OUT_Y_MSB = _pyupm_mma8x5x.MMA8X5X_OUT_Y_MSB
_pyupm_mma8x5x.MMA8X5X_OUT_Y_LSB_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OUT_Y_LSB = _pyupm_mma8x5x.MMA8X5X_OUT_Y_LSB
_pyupm_mma8x5x.MMA8X5X_OUT_Z_MSB_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OUT_Z_MSB = _pyupm_mma8x5x.MMA8X5X_OUT_Z_MSB
_pyupm_mma8x5x.MMA8X5X_OUT_Z_LSB_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OUT_Z_LSB = _pyupm_mma8x5x.MMA8X5X_OUT_Z_LSB
_pyupm_mma8x5x.MMA8X5X_F_SETUP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_SETUP = _pyupm_mma8x5x.MMA8X5X_F_SETUP
_pyupm_mma8x5x.MMA8X5X_TRIG_CFG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRIG_CFG = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG
_pyupm_mma8x5x.MMA8X5X_SYSMOD_swigconstant(_pyupm_mma8x5x)
MMA8X5X_SYSMOD = _pyupm_mma8x5x.MMA8X5X_SYSMOD
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE
_pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_XYZ_DATA_CFG = _pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG
_pyupm_mma8x5x.MMA8X5X_HP_FILTER_CUTOFF_swigconstant(_pyupm_mma8x5x)
MMA8X5X_HP_FILTER_CUTOFF = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_CUTOFF
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS = _pyupm_mma8x5x.MMA8X5X_PL_STATUS
_pyupm_mma8x5x.MMA8X5X_PL_CFG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_CFG = _pyupm_mma8x5x.MMA8X5X_PL_CFG
_pyupm_mma8x5x.MMA8X5X_PL_COUNT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_COUNT = _pyupm_mma8x5x.MMA8X5X_PL_COUNT
_pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_BF_ZCOMP = _pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP
_pyupm_mma8x5x.MMA8X5X_P_L_THS_REG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_P_L_THS_REG = _pyupm_mma8x5x.MMA8X5X_P_L_THS_REG
_pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_CFG = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC
_pyupm_mma8x5x.MMA8X5X_FF_MT_THS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_THS = _pyupm_mma8x5x.MMA8X5X_FF_MT_THS
_pyupm_mma8x5x.MMA8X5X_FF_MT_COUNT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_COUNT = _pyupm_mma8x5x.MMA8X5X_FF_MT_COUNT
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_CFG = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_THS = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_COUNT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_COUNT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_COUNT
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC
_pyupm_mma8x5x.MMA8X5X_PULSE_THSX_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_THSX = _pyupm_mma8x5x.MMA8X5X_PULSE_THSX
_pyupm_mma8x5x.MMA8X5X_PULSE_THSY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_THSY = _pyupm_mma8x5x.MMA8X5X_PULSE_THSY
_pyupm_mma8x5x.MMA8X5X_PULSE_THSZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_THSZ = _pyupm_mma8x5x.MMA8X5X_PULSE_THSZ
_pyupm_mma8x5x.MMA8X5X_PULSE_TMLT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_TMLT = _pyupm_mma8x5x.MMA8X5X_PULSE_TMLT
_pyupm_mma8x5x.MMA8X5X_PULSE_LTCY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_LTCY = _pyupm_mma8x5x.MMA8X5X_PULSE_LTCY
_pyupm_mma8x5x.MMA8X5X_PULSE_WIND_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_WIND = _pyupm_mma8x5x.MMA8X5X_PULSE_WIND
_pyupm_mma8x5x.MMA8X5X_ASLP_COUNT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_ASLP_COUNT = _pyupm_mma8x5x.MMA8X5X_ASLP_COUNT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5
_pyupm_mma8x5x.MMA8X5X_OFF_X_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OFF_X = _pyupm_mma8x5x.MMA8X5X_OFF_X
_pyupm_mma8x5x.MMA8X5X_OFF_Y_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OFF_Y = _pyupm_mma8x5x.MMA8X5X_OFF_Y
_pyupm_mma8x5x.MMA8X5X_OFF_Z_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OFF_Z = _pyupm_mma8x5x.MMA8X5X_OFF_Z
_pyupm_mma8x5x.MMA8X5X_RATE_800HZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_800HZ = _pyupm_mma8x5x.MMA8X5X_RATE_800HZ
_pyupm_mma8x5x.MMA8X5X_RATE_400HZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_400HZ = _pyupm_mma8x5x.MMA8X5X_RATE_400HZ
_pyupm_mma8x5x.MMA8X5X_RATE_200HZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_200HZ = _pyupm_mma8x5x.MMA8X5X_RATE_200HZ
_pyupm_mma8x5x.MMA8X5X_RATE_100HZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_100HZ = _pyupm_mma8x5x.MMA8X5X_RATE_100HZ
_pyupm_mma8x5x.MMA8X5X_RATE_50HZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_50HZ = _pyupm_mma8x5x.MMA8X5X_RATE_50HZ
_pyupm_mma8x5x.MMA8X5X_RATE_1HZ25_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_1HZ25 = _pyupm_mma8x5x.MMA8X5X_RATE_1HZ25
_pyupm_mma8x5x.MMA8X5X_RATE_6HZ25_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_6HZ25 = _pyupm_mma8x5x.MMA8X5X_RATE_6HZ25
_pyupm_mma8x5x.MMA8X5X_RATE_1HZ56_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_1HZ56 = _pyupm_mma8x5x.MMA8X5X_RATE_1HZ56
_pyupm_mma8x5x.MMA8X5X_RATE_DEFAULT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RATE_DEFAULT = _pyupm_mma8x5x.MMA8X5X_RATE_DEFAULT
_pyupm_mma8x5x.MMA8X5X_RANGE_2G_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RANGE_2G = _pyupm_mma8x5x.MMA8X5X_RANGE_2G
_pyupm_mma8x5x.MMA8X5X_RANGE_4G_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RANGE_4G = _pyupm_mma8x5x.MMA8X5X_RANGE_4G
_pyupm_mma8x5x.MMA8X5X_RANGE_8G_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RANGE_8G = _pyupm_mma8x5x.MMA8X5X_RANGE_8G
_pyupm_mma8x5x.MMA8X5X_RANGE_DEFAULT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_RANGE_DEFAULT = _pyupm_mma8x5x.MMA8X5X_RANGE_DEFAULT
_pyupm_mma8x5x.MMA8X5X_OK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_OK = _pyupm_mma8x5x.MMA8X5X_OK
_pyupm_mma8x5x.MMA8X5X_DATA_READY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_DATA_READY = _pyupm_mma8x5x.MMA8X5X_DATA_READY
_pyupm_mma8x5x.MMA8X5X_NOI2C_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NOI2C = _pyupm_mma8x5x.MMA8X5X_NOI2C
_pyupm_mma8x5x.MMA8X5X_NODEV_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NODEV = _pyupm_mma8x5x.MMA8X5X_NODEV
_pyupm_mma8x5x.MMA8X5X_NODATA_swigconstant(_pyupm_mma8x5x)
MMA8X5X_NODATA = _pyupm_mma8x5x.MMA8X5X_NODATA
_pyupm_mma8x5x.MMA8X5X_STATUS_XDR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_XDR = _pyupm_mma8x5x.MMA8X5X_STATUS_XDR
_pyupm_mma8x5x.MMA8X5X_STATUS_YDR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_YDR = _pyupm_mma8x5x.MMA8X5X_STATUS_YDR
_pyupm_mma8x5x.MMA8X5X_STATUS_ZDR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_ZDR = _pyupm_mma8x5x.MMA8X5X_STATUS_ZDR
_pyupm_mma8x5x.MMA8X5X_STATUS_ZYXDR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_ZYXDR = _pyupm_mma8x5x.MMA8X5X_STATUS_ZYXDR
_pyupm_mma8x5x.MMA8X5X_STATUS_XOW_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_XOW = _pyupm_mma8x5x.MMA8X5X_STATUS_XOW
_pyupm_mma8x5x.MMA8X5X_STATUS_YOW_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_YOW = _pyupm_mma8x5x.MMA8X5X_STATUS_YOW
_pyupm_mma8x5x.MMA8X5X_STATUS_ZOW_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_ZOW = _pyupm_mma8x5x.MMA8X5X_STATUS_ZOW
_pyupm_mma8x5x.MMA8X5X_STATUS_ZYXOW_swigconstant(_pyupm_mma8x5x)
MMA8X5X_STATUS_ZYXOW = _pyupm_mma8x5x.MMA8X5X_STATUS_ZYXOW
_pyupm_mma8x5x.MMA8X5X_F_STATUS_F_CNT_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_STATUS_F_CNT_MASK = _pyupm_mma8x5x.MMA8X5X_F_STATUS_F_CNT_MASK
_pyupm_mma8x5x.MMA8X5X_F_STATUS_F_WMRK_FLAG_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_STATUS_F_WMRK_FLAG = _pyupm_mma8x5x.MMA8X5X_F_STATUS_F_WMRK_FLAG
_pyupm_mma8x5x.MMA8X5X_F_STATUS_F_OVF_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_STATUS_F_OVF = _pyupm_mma8x5x.MMA8X5X_F_STATUS_F_OVF
_pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_SETUP_MODE_MASK = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_MASK
_pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_DISABLED_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_SETUP_MODE_DISABLED = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_DISABLED
_pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_CIRCULAR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_SETUP_MODE_CIRCULAR = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_CIRCULAR
_pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_STOP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_SETUP_MODE_STOP = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_STOP
_pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_TRIGGER_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_SETUP_MODE_TRIGGER = _pyupm_mma8x5x.MMA8X5X_F_SETUP_MODE_TRIGGER
_pyupm_mma8x5x.MMA8X5X_F_SETUP_F_WMRK_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_F_SETUP_F_WMRK_MASK = _pyupm_mma8x5x.MMA8X5X_F_SETUP_F_WMRK_MASK
_pyupm_mma8x5x.MMA8X5X_TRIG_CFG_FF_MT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRIG_CFG_FF_MT = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_FF_MT
_pyupm_mma8x5x.MMA8X5X_TRIG_CFG_PULSE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRIG_CFG_PULSE = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_PULSE
_pyupm_mma8x5x.MMA8X5X_TRIG_CFG_LNDPRT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRIG_CFG_LNDPRT = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_LNDPRT
_pyupm_mma8x5x.MMA8X5X_TRIG_CFG_TRANS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRIG_CFG_TRANS = _pyupm_mma8x5x.MMA8X5X_TRIG_CFG_TRANS
_pyupm_mma8x5x.MMA8X5X_SYSMOD_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_SYSMOD_MASK = _pyupm_mma8x5x.MMA8X5X_SYSMOD_MASK
_pyupm_mma8x5x.MMA8X5X_SYSMOD_STANDBY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_SYSMOD_STANDBY = _pyupm_mma8x5x.MMA8X5X_SYSMOD_STANDBY
_pyupm_mma8x5x.MMA8X5X_SYSMOD_WAKE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_SYSMOD_WAKE = _pyupm_mma8x5x.MMA8X5X_SYSMOD_WAKE
_pyupm_mma8x5x.MMA8X5X_SYSMOD_SLEEP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_SYSMOD_SLEEP = _pyupm_mma8x5x.MMA8X5X_SYSMOD_SLEEP
_pyupm_mma8x5x.MMA8X5X_SYSMOD_FGT_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_SYSMOD_FGT_MASK = _pyupm_mma8x5x.MMA8X5X_SYSMOD_FGT_MASK
_pyupm_mma8x5x.MMA8X5X_SYSMOD_FGERR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_SYSMOD_FGERR = _pyupm_mma8x5x.MMA8X5X_SYSMOD_FGERR
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_DRDY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE_DRDY = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_DRDY
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_FF_MT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE_FF_MT = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_FF_MT
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_PULSE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE_PULSE = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_PULSE
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_LNDPRT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE_LNDPRT = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_LNDPRT
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_TRANS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE_TRANS = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_TRANS
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_FIFO_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE_FIFO = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_FIFO
_pyupm_mma8x5x.MMA8X5X_INT_SOURCE_ASLP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_INT_SOURCE_ASLP = _pyupm_mma8x5x.MMA8X5X_INT_SOURCE_ASLP
_pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG_FS_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_XYZ_DATA_CFG_FS_MASK = _pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG_FS_MASK
_pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG_HPF_OUT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_XYZ_DATA_CFG_HPF_OUT = _pyupm_mma8x5x.MMA8X5X_XYZ_DATA_CFG_HPF_OUT
_pyupm_mma8x5x.MMA8X5X_HP_FILTER_SEL_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_HP_FILTER_SEL_MASK = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_SEL_MASK
_pyupm_mma8x5x.MMA8X5X_HP_FILTER_LPF_EN_swigconstant(_pyupm_mma8x5x)
MMA8X5X_HP_FILTER_LPF_EN = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_LPF_EN
_pyupm_mma8x5x.MMA8X5X_HP_FILTER_HPF_BYP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_HP_FILTER_HPF_BYP = _pyupm_mma8x5x.MMA8X5X_HP_FILTER_HPF_BYP
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_BAFRO_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_BAFRO = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_BAFRO
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_LAPO_MASK = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_MASK
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_P_UP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_LAPO_P_UP = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_P_UP
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_P_DOWN_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_LAPO_P_DOWN = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_P_DOWN
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_L_RIGHT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_LAPO_L_RIGHT = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_L_RIGHT
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_L_LEFT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_LAPO_L_LEFT = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LAPO_L_LEFT
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_LO_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_LO = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_LO
_pyupm_mma8x5x.MMA8X5X_PL_STATUS_NEWLP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_STATUS_NEWLP = _pyupm_mma8x5x.MMA8X5X_PL_STATUS_NEWLP
_pyupm_mma8x5x.MMA8X5X_PL_CFG_PL_EN_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_CFG_PL_EN = _pyupm_mma8x5x.MMA8X5X_PL_CFG_PL_EN
_pyupm_mma8x5x.MMA8X5X_PL_CFG_DBCNTM_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_CFG_DBCNTM = _pyupm_mma8x5x.MMA8X5X_PL_CFG_DBCNTM
_pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP_ZLOCK_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_BF_ZCOMP_ZLOCK_MASK = _pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP_ZLOCK_MASK
_pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP_BKFR_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PL_BF_ZCOMP_BKFR_MASK = _pyupm_mma8x5x.MMA8X5X_PL_BF_ZCOMP_BKFR_MASK
_pyupm_mma8x5x.MMA8X5X_P_L_HYS_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_P_L_HYS_MASK = _pyupm_mma8x5x.MMA8X5X_P_L_HYS_MASK
_pyupm_mma8x5x.MMA8X5X_P_L_THS_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_P_L_THS_MASK = _pyupm_mma8x5x.MMA8X5X_P_L_THS_MASK
_pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_XEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_CFG_XEFE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_XEFE
_pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_YEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_CFG_YEFE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_YEFE
_pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_ZEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_CFG_ZEFE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_ZEFE
_pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_OAE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_CFG_OAE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_OAE
_pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_ELE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_CFG_ELE = _pyupm_mma8x5x.MMA8X5X_FF_MT_CFG_ELE
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_XHP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC_XHP = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_XHP
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_XHE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC_XHE = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_XHE
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_YHP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC_YHP = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_YHP
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_YHE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC_YHE = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_YHE
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_ZHP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC_ZHP = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_ZHP
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_ZHE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC_ZHE = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_ZHE
_pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_EA_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_SRC_EA = _pyupm_mma8x5x.MMA8X5X_FF_MT_SRC_EA
_pyupm_mma8x5x.MMA8X5X_FF_MT_THS_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_THS_MASK = _pyupm_mma8x5x.MMA8X5X_FF_MT_THS_MASK
_pyupm_mma8x5x.MMA8X5X_FF_MT_THS_DBCNTM_swigconstant(_pyupm_mma8x5x)
MMA8X5X_FF_MT_THS_DBCNTM = _pyupm_mma8x5x.MMA8X5X_FF_MT_THS_DBCNTM
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_HPF_BYP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_CFG_HPF_BYP = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_HPF_BYP
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_XTEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_CFG_XTEFE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_XTEFE
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_YTEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_CFG_YTEFE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_YTEFE
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_ZTEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_CFG_ZTEFE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_ZTEFE
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_ELE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_CFG_ELE = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_CFG_ELE
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_XTPOL_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC_XTPOL = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_XTPOL
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_XTEVENT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC_XTEVENT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_XTEVENT
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_YTPOL_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC_YTPOL = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_YTPOL
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_YTEVENT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC_YTEVENT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_YTEVENT
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_ZTPOL_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC_ZTPOL = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_ZTPOL
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_ZTEVENT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC_ZTEVENT = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_ZTEVENT
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_EA_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_SRC_EA = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_SRC_EA
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_THS_MASK = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS_MASK
_pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS_DBCNTM_swigconstant(_pyupm_mma8x5x)
MMA8X5X_TRANSIENT_THS_DBCNTM = _pyupm_mma8x5x.MMA8X5X_TRANSIENT_THS_DBCNTM
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_XSPEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_XSPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_XSPEFE
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_XDPEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_XDPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_XDPEFE
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_YSPEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_YSPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_YSPEFE
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_YDPEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_YDPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_YDPEFE
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ZSPEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_ZSPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ZSPEFE
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ZDPEFE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_ZDPEFE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ZDPEFE
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ELE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_ELE = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_ELE
_pyupm_mma8x5x.MMA8X5X_PULSE_CFG_DPA_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_CFG_DPA = _pyupm_mma8x5x.MMA8X5X_PULSE_CFG_DPA
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLX_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_POLX = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLX
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_POLY = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLY
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_POLZ = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_POLZ
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_DPE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_DPE = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_DPE
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXX_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_AXX = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXX
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_AXY = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXY
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_AXZ = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_AXZ
_pyupm_mma8x5x.MMA8X5X_PULSE_SRC_EA_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_SRC_EA = _pyupm_mma8x5x.MMA8X5X_PULSE_SRC_EA
_pyupm_mma8x5x.MMA8X5X_PULSE_THSX_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_THSX_MASK = _pyupm_mma8x5x.MMA8X5X_PULSE_THSX_MASK
_pyupm_mma8x5x.MMA8X5X_PULSE_THSY_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_THSY_MASK = _pyupm_mma8x5x.MMA8X5X_PULSE_THSY_MASK
_pyupm_mma8x5x.MMA8X5X_PULSE_THSZ_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_PULSE_THSZ_MASK = _pyupm_mma8x5x.MMA8X5X_PULSE_THSZ_MASK
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ACTIVE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_ACTIVE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ACTIVE
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_F_READ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_F_READ = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_F_READ
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_DR_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_DR_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_DR_MASK
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_DR_SHIFT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_DR_SHIFT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_DR_SHIFT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_ASR_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_MASK
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_50HZ_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_ASR_50HZ = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_50HZ
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_12HZ5_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_ASR_12HZ5 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_12HZ5
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_6HZ25_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_ASR_6HZ25 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_6HZ25
_pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_1HZ56_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG1_ASR_1HZ56 = _pyupm_mma8x5x.MMA8X5X_CTRL_REG1_ASR_1HZ56
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_MODS_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_MASK
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_NORMAL_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_MODS_NORMAL = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_NORMAL
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_LNLP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_MODS_LNLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_LNLP
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_HR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_MODS_HR = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_HR
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_LP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_MODS_LP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_MODS_LP
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SLPE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_SLPE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SLPE
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_MASK_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_SMODS_MASK = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_MASK
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_NORMAL_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_SMODS_NORMAL = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_NORMAL
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_LNLP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_SMODS_LNLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_LNLP
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_HR_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_SMODS_HR = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_HR
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_LP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_SMODS_LP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_SMODS_LP
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_RST_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_RST = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_RST
_pyupm_mma8x5x.MMA8X5X_CTRL_REG2_ST_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG2_ST = _pyupm_mma8x5x.MMA8X5X_CTRL_REG2_ST
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_PP_OD_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3_PP_OD = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_PP_OD
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_IPOL_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3_IPOL = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_IPOL
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_FF_MT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3_WAKE_FF_MT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_FF_MT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_PULSE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3_WAKE_PULSE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_PULSE
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_LNDPRT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3_WAKE_LNDPRT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_LNDPRT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_TRANS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3_WAKE_TRANS = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_WAKE_TRANS
_pyupm_mma8x5x.MMA8X5X_CTRL_REG3_FIFO_GATE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG3_FIFO_GATE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG3_FIFO_GATE
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_DRDY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4_INT_EN_DRDY = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_DRDY
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_FF_MT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4_INT_EN_FF_MT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_FF_MT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_PULSE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4_INT_EN_PULSE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_PULSE
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_LNDPRT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4_INT_EN_LNDPRT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_LNDPRT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_TRANS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4_INT_EN_TRANS = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_TRANS
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_FIFO_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4_INT_EN_FIFO = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_FIFO
_pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_ASLP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG4_INT_EN_ASLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG4_INT_EN_ASLP
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_DRDY_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5_INT_CFG_DRDY = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_DRDY
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_FF_MT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5_INT_CFG_FF_MT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_FF_MT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_PULSE_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5_INT_CFG_PULSE = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_PULSE
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_LNDPRT_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5_INT_CFG_LNDPRT = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_LNDPRT
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_TRANS_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5_INT_CFG_TRANS = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_TRANS
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_FIFO_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5_INT_CFG_FIFO = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_FIFO
_pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_ASLP_swigconstant(_pyupm_mma8x5x)
MMA8X5X_CTRL_REG5_INT_CFG_ASLP = _pyupm_mma8x5x.MMA8X5X_CTRL_REG5_INT_CFG_ASLP
[docs]class mma8x5x_params_t(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, mma8x5x_params_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, mma8x5x_params_t, name)
__repr__ = _swig_repr
__swig_setmethods__["type"] = _pyupm_mma8x5x.mma8x5x_params_t_type_set
__swig_getmethods__["type"] = _pyupm_mma8x5x.mma8x5x_params_t_type_get
if _newclass:
type = _swig_property(_pyupm_mma8x5x.mma8x5x_params_t_type_get, _pyupm_mma8x5x.mma8x5x_params_t_type_set)
__swig_setmethods__["rate"] = _pyupm_mma8x5x.mma8x5x_params_t_rate_set
__swig_getmethods__["rate"] = _pyupm_mma8x5x.mma8x5x_params_t_rate_get
if _newclass:
rate = _swig_property(_pyupm_mma8x5x.mma8x5x_params_t_rate_get, _pyupm_mma8x5x.mma8x5x_params_t_rate_set)
__swig_setmethods__["range"] = _pyupm_mma8x5x.mma8x5x_params_t_range_set
__swig_getmethods__["range"] = _pyupm_mma8x5x.mma8x5x_params_t_range_get
if _newclass:
range = _swig_property(_pyupm_mma8x5x.mma8x5x_params_t_range_get, _pyupm_mma8x5x.mma8x5x_params_t_range_set)
__swig_setmethods__["offsetX"] = _pyupm_mma8x5x.mma8x5x_params_t_offsetX_set
__swig_getmethods__["offsetX"] = _pyupm_mma8x5x.mma8x5x_params_t_offsetX_get
if _newclass:
offsetX = _swig_property(_pyupm_mma8x5x.mma8x5x_params_t_offsetX_get, _pyupm_mma8x5x.mma8x5x_params_t_offsetX_set)
__swig_setmethods__["offsetY"] = _pyupm_mma8x5x.mma8x5x_params_t_offsetY_set
__swig_getmethods__["offsetY"] = _pyupm_mma8x5x.mma8x5x_params_t_offsetY_get
if _newclass:
offsetY = _swig_property(_pyupm_mma8x5x.mma8x5x_params_t_offsetY_get, _pyupm_mma8x5x.mma8x5x_params_t_offsetY_set)
__swig_setmethods__["offsetZ"] = _pyupm_mma8x5x.mma8x5x_params_t_offsetZ_set
__swig_getmethods__["offsetZ"] = _pyupm_mma8x5x.mma8x5x_params_t_offsetZ_get
if _newclass:
offsetZ = _swig_property(_pyupm_mma8x5x.mma8x5x_params_t_offsetZ_get, _pyupm_mma8x5x.mma8x5x_params_t_offsetZ_set)
def __init__(self):
this = _pyupm_mma8x5x.new_mma8x5x_params_t()
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _pyupm_mma8x5x.delete_mma8x5x_params_t
__del__ = lambda self: None
mma8x5x_params_t_swigregister = _pyupm_mma8x5x.mma8x5x_params_t_swigregister
mma8x5x_params_t_swigregister(mma8x5x_params_t)
[docs]class mma8x5x_data_t(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, mma8x5x_data_t, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, mma8x5x_data_t, name)
__repr__ = _swig_repr
__swig_setmethods__["x"] = _pyupm_mma8x5x.mma8x5x_data_t_x_set
__swig_getmethods__["x"] = _pyupm_mma8x5x.mma8x5x_data_t_x_get
if _newclass:
x = _swig_property(_pyupm_mma8x5x.mma8x5x_data_t_x_get, _pyupm_mma8x5x.mma8x5x_data_t_x_set)
__swig_setmethods__["y"] = _pyupm_mma8x5x.mma8x5x_data_t_y_set
__swig_getmethods__["y"] = _pyupm_mma8x5x.mma8x5x_data_t_y_get
if _newclass:
y = _swig_property(_pyupm_mma8x5x.mma8x5x_data_t_y_get, _pyupm_mma8x5x.mma8x5x_data_t_y_set)
__swig_setmethods__["z"] = _pyupm_mma8x5x.mma8x5x_data_t_z_set
__swig_getmethods__["z"] = _pyupm_mma8x5x.mma8x5x_data_t_z_get
if _newclass:
z = _swig_property(_pyupm_mma8x5x.mma8x5x_data_t_z_get, _pyupm_mma8x5x.mma8x5x_data_t_z_set)
def __init__(self):
this = _pyupm_mma8x5x.new_mma8x5x_data_t()
try:
self.this.append(this)
except Exception:
self.this = this
__swig_destroy__ = _pyupm_mma8x5x.delete_mma8x5x_data_t
__del__ = lambda self: None
mma8x5x_data_t_swigregister = _pyupm_mma8x5x.mma8x5x_data_t_swigregister
mma8x5x_data_t_swigregister(mma8x5x_data_t)
[docs]class MMA8X5X(_object):
"""
API for the MMA8X5X Three-Axis Accelerometer.
ID: mma8x5x
Name: MMA8X5X Three-Axis Accelerometer
Other Chips: mma8451 mma8452 mma8453 mma8652 mma8653
Category: accelerometer compass
Manufacturer: freescale
Link:http://www.nxp.com/products/sensors/accelerometers:DRSNSAXLRTN
Connection: i2c Description in web-link above: The NXP MMA8X5X are
low-power, three-axis capacitive micromachined accelerometer with
10/12/14 bits of resolution. These accelerometer are packed with
embedded functions with flexible user-programmable options
configurable to two interrupt pins. The MMA8X5X have user-selectable
full scales of +-2g/+-4g/+-8g.
C++ includes: mma8x5x.hpp
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MMA8X5X, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MMA8X5X, name)
__repr__ = _swig_repr
def __init__(self, bus, params=None, devAddr=0x1D):
"""
MMA8X5X(int bus,
mma8x5x_params_t *params=NULL, int devAddr=MMA8X5X_I2C_ADDRESS)
Instantiates an MMA8X5X object
Parameters:
-----------
bus: Number of the used bus params Params of device
devAddr: Address of the used I2C device
"""
this = _pyupm_mma8x5x.new_MMA8X5X(bus, params, devAddr)
try:
self.this.append(this)
except Exception:
self.this = this
[docs] def setDeviceName(self, type):
"""
int
setDeviceName(uint8_t type)
Set device name and type matching given type or read out devive_id to
set name and type of device
Parameters:
-----------
type: Type of device if set or 0 if needed to find out by it
0 on success -1 on error
"""
return _pyupm_mma8x5x.MMA8X5X_setDeviceName(self, type)
[docs] def setDeviceParams(self, params):
"""
int
setDeviceParams(mma8x5x_params_t *params)
Set device params to given data or set default params and read out
devive_id to set type of device
Parameters:
-----------
params: Params of device if set by user NULL if it is not set by user
0 on success -1 on error
"""
return _pyupm_mma8x5x.MMA8X5X_setDeviceParams(self, params)
[docs] def setUserOffset(self, x, y, z):
"""
int
setUserOffset(int8_t x, int8_t y, int8_t z)
Set user offset correction Offset correction register will be erased
after accelerometer reset
Parameters:
-----------
x: Offset correction value for x-axis
y: Offset correction value for y-axis
z: Offset correction value for z-axis
0 on success -1 on error
"""
return _pyupm_mma8x5x.MMA8X5X_setUserOffset(self, x, y, z)
[docs] def setActive(self):
"""
int setActive(void)
Set active mode, this enables periodic measurements
0 on success -1 on error
"""
return _pyupm_mma8x5x.MMA8X5X_setActive(self)
[docs] def setStandby(self):
"""
int setStandby(void)
Set standby mode, this disables periodic measurements
0 on success -1 on error
"""
return _pyupm_mma8x5x.MMA8X5X_setStandby(self)
[docs] def isReady(self):
"""
int isReady(void)
Check for new set of measurement data.
MMA8X5X_DATA_READY if new sample is ready MMA8X5X_NODATA if nothing is
available
"""
return _pyupm_mma8x5x.MMA8X5X_isReady(self)
[docs] def sampleData(self):
"""
int sampleData(void)
Read & calculate accelerometer data in mg & saves them to variables
0 on success -1 on error
"""
return _pyupm_mma8x5x.MMA8X5X_sampleData(self)
[docs] def getX(self, bSampleData=0):
"""
int16_t getX(int
bSampleData=0)
Get x-axis acceleration
Parameters:
-----------
bSampleData: Flag to read sensor
The x-axis acceleration on success -999 on error
"""
return _pyupm_mma8x5x.MMA8X5X_getX(self, bSampleData)
[docs] def getY(self, bSampleData=0):
"""
int16_t getY(int
bSampleData=0)
Get y-axis acceleration
Parameters:
-----------
bSampleData: Flag to read sensor
The y-axis acceleration on success -999 on error
"""
return _pyupm_mma8x5x.MMA8X5X_getY(self, bSampleData)
[docs] def getZ(self, bSampleData=0):
"""
int16_t getZ(int
bSampleData=0)
Get z-axis acceleration
Parameters:
-----------
bSampleData: Flag to read sensor
The z-axis acceleration on success -999 on error
"""
return _pyupm_mma8x5x.MMA8X5X_getZ(self, bSampleData)
[docs] def getData(self, data, bSampleData=0):
"""
int
getData(mma8x5x_data_t *data, int bSampleData=0)
Get sensor values
Parameters:
-----------
data: Sensor values
bSampleData: Flag to read sensor
0 on success -1 on error
"""
return _pyupm_mma8x5x.MMA8X5X_getData(self, data, bSampleData)
__swig_destroy__ = _pyupm_mma8x5x.delete_MMA8X5X
__del__ = lambda self: None
MMA8X5X_swigregister = _pyupm_mma8x5x.MMA8X5X_swigregister
MMA8X5X_swigregister(MMA8X5X)
# This file is compatible with both classic and new-style classes.