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


def getVersion():
    return _pyupm_adis16448.getVersion()
getVersion = _pyupm_adis16448.getVersion
FLASH_CNT = _pyupm_adis16448.FLASH_CNT
XGYRO_OUT = _pyupm_adis16448.XGYRO_OUT
YGYRO_OUT = _pyupm_adis16448.YGYRO_OUT
ZGYRO_OUT = _pyupm_adis16448.ZGYRO_OUT
XACCL_OUT = _pyupm_adis16448.XACCL_OUT
YACCL_OUT = _pyupm_adis16448.YACCL_OUT
ZACCL_OUT = _pyupm_adis16448.ZACCL_OUT
XMAGN_OUT = _pyupm_adis16448.XMAGN_OUT
YMAGN_OUT = _pyupm_adis16448.YMAGN_OUT
ZMAGN_OUT = _pyupm_adis16448.ZMAGN_OUT
BARO_OUT = _pyupm_adis16448.BARO_OUT
TEMP_OUT = _pyupm_adis16448.TEMP_OUT
XGYRO_OFF = _pyupm_adis16448.XGYRO_OFF
YGYRO_OFF = _pyupm_adis16448.YGYRO_OFF
ZGYRO_OFF = _pyupm_adis16448.ZGYRO_OFF
XACCL_OFF = _pyupm_adis16448.XACCL_OFF
YACCL_OFF = _pyupm_adis16448.YACCL_OFF
ZACCL_OFF = _pyupm_adis16448.ZACCL_OFF
XMAGN_HIC = _pyupm_adis16448.XMAGN_HIC
YMAGN_HIC = _pyupm_adis16448.YMAGN_HIC
ZMAGN_HIC = _pyupm_adis16448.ZMAGN_HIC
XMAGN_SIC = _pyupm_adis16448.XMAGN_SIC
YMAGN_SIC = _pyupm_adis16448.YMAGN_SIC
ZMAGN_SIC = _pyupm_adis16448.ZMAGN_SIC
GPIO_CTRL = _pyupm_adis16448.GPIO_CTRL
MSC_CTRL = _pyupm_adis16448.MSC_CTRL
SMPL_PRD = _pyupm_adis16448.SMPL_PRD
SENS_AVG = _pyupm_adis16448.SENS_AVG
SEQ_CNT = _pyupm_adis16448.SEQ_CNT
DIAG_STAT = _pyupm_adis16448.DIAG_STAT
GLOB_CMD = _pyupm_adis16448.GLOB_CMD
ALM_MAG1 = _pyupm_adis16448.ALM_MAG1
ALM_MAG2 = _pyupm_adis16448.ALM_MAG2
ALM_SMPL1 = _pyupm_adis16448.ALM_SMPL1
ALM_SMPL2 = _pyupm_adis16448.ALM_SMPL2
ALM_CTRL = _pyupm_adis16448.ALM_CTRL
LOT_ID1 = _pyupm_adis16448.LOT_ID1
LOT_ID2 = _pyupm_adis16448.LOT_ID2
PROD_ID = _pyupm_adis16448.PROD_ID
SERIAL_NUM = _pyupm_adis16448.SERIAL_NUM
class ADIS16448(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, ADIS16448, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, ADIS16448, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _pyupm_adis16448.new_ADIS16448(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_adis16448.delete_ADIS16448
    __del__ = lambda self: None

    def resetDUT(self):
        return _pyupm_adis16448.ADIS16448_resetDUT(self)

    def configSPI(self):
        return _pyupm_adis16448.ADIS16448_configSPI(self)

    def regRead(self, regAddr):
        return _pyupm_adis16448.ADIS16448_regRead(self, regAddr)

    def regWrite(self, regAddr, regData):
        return _pyupm_adis16448.ADIS16448_regWrite(self, regAddr, regData)

    def accelScale(self, sensorData):
        return _pyupm_adis16448.ADIS16448_accelScale(self, sensorData)

    def gyroScale(self, sensorData):
        return _pyupm_adis16448.ADIS16448_gyroScale(self, sensorData)

    def tempScale(self, sensorData):
        return _pyupm_adis16448.ADIS16448_tempScale(self, sensorData)

    def pressureScale(self, sensorData):
        return _pyupm_adis16448.ADIS16448_pressureScale(self, sensorData)

    def magnetometerScale(self, sensorData):
        return _pyupm_adis16448.ADIS16448_magnetometerScale(self, sensorData)
ADIS16448_swigregister = _pyupm_adis16448.ADIS16448_swigregister
ADIS16448_swigregister(ADIS16448)

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


