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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __sub__(self, *args):
        return _pyupm_kxtj3.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _pyupm_kxtj3.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

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_kxtj3.floatVector_iterator(self)
    def __iter__(self):
        return self.iterator()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    def __init__(self, *args):
        this = _pyupm_kxtj3.new_floatVector(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

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

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

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

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

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

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

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

    def capacity(self):
        return _pyupm_kxtj3.floatVector_capacity(self)
    __swig_destroy__ = _pyupm_kxtj3.delete_floatVector
    __del__ = lambda self: None
floatVector_swigregister = _pyupm_kxtj3.floatVector_swigregister
floatVector_swigregister(floatVector)

SECOND_IN_MICRO_S = _pyupm_kxtj3.SECOND_IN_MICRO_S
LOW_RES = _pyupm_kxtj3.LOW_RES
HIGH_RES = _pyupm_kxtj3.HIGH_RES
ACTIVE_LOW = _pyupm_kxtj3.ACTIVE_LOW
ACTIVE_HIGH = _pyupm_kxtj3.ACTIVE_HIGH
LATCH_UNTIL_CLEARED = _pyupm_kxtj3.LATCH_UNTIL_CLEARED
TRANSMIT_ONE_PULSE = _pyupm_kxtj3.TRANSMIT_ONE_PULSE
NO_INTERRUPT = _pyupm_kxtj3.NO_INTERRUPT
KXTJ3_DATA_READY_INTERRUPT = _pyupm_kxtj3.KXTJ3_DATA_READY_INTERRUPT
KXTJ3_WAKEUP_INTERRUPT = _pyupm_kxtj3.KXTJ3_WAKEUP_INTERRUPT
KXTJ3_DATA_READY_AND_WAKEUP_INT = _pyupm_kxtj3.KXTJ3_DATA_READY_AND_WAKEUP_INT
KXTJ3_RANGE_2G = _pyupm_kxtj3.KXTJ3_RANGE_2G
KXTJ3_RANGE_4G = _pyupm_kxtj3.KXTJ3_RANGE_4G
KXTJ3_RANGE_8G = _pyupm_kxtj3.KXTJ3_RANGE_8G
KXTJ3_RANGE_8G_14 = _pyupm_kxtj3.KXTJ3_RANGE_8G_14
KXTJ3_RANGE_16G = _pyupm_kxtj3.KXTJ3_RANGE_16G
KXTJ3_RANGE_16G_2 = _pyupm_kxtj3.KXTJ3_RANGE_16G_2
KXTJ3_RANGE_16G_3 = _pyupm_kxtj3.KXTJ3_RANGE_16G_3
KXTJ3_RANGE_16G_14 = _pyupm_kxtj3.KXTJ3_RANGE_16G_14
KXTJ3_ODR_0P781 = _pyupm_kxtj3.KXTJ3_ODR_0P781
KXTJ3_ODR_1P563 = _pyupm_kxtj3.KXTJ3_ODR_1P563
KXTJ3_ODR_3P125 = _pyupm_kxtj3.KXTJ3_ODR_3P125
KXTJ3_ODR_6P25 = _pyupm_kxtj3.KXTJ3_ODR_6P25
KXTJ3_ODR_12P5 = _pyupm_kxtj3.KXTJ3_ODR_12P5
KXTJ3_ODR_25 = _pyupm_kxtj3.KXTJ3_ODR_25
KXTJ3_ODR_50 = _pyupm_kxtj3.KXTJ3_ODR_50
KXTJ3_ODR_100 = _pyupm_kxtj3.KXTJ3_ODR_100
KXTJ3_ODR_200 = _pyupm_kxtj3.KXTJ3_ODR_200
KXTJ3_ODR_400 = _pyupm_kxtj3.KXTJ3_ODR_400
KXTJ3_ODR_800 = _pyupm_kxtj3.KXTJ3_ODR_800
KXTJ3_ODR_1600 = _pyupm_kxtj3.KXTJ3_ODR_1600
KXTJ3_ODR_WAKEUP_0P781 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_0P781
KXTJ3_ODR_WAKEUP_1P563 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_1P563
KXTJ3_ODR_WAKEUP_3P125 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_3P125
KXTJ3_ODR_WAKEUP_6P25 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_6P25
KXTJ3_ODR_WAKEUP_12P5 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_12P5
KXTJ3_ODR_WAKEUP_25 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_25
KXTJ3_ODR_WAKEUP_50 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_50
KXTJ3_ODR_WAKEUP_100 = _pyupm_kxtj3.KXTJ3_ODR_WAKEUP_100
X_NEGATIVE = _pyupm_kxtj3.X_NEGATIVE
X_POSITIVE = _pyupm_kxtj3.X_POSITIVE
Y_NEGATIVE = _pyupm_kxtj3.Y_NEGATIVE
Y_POSITIVE = _pyupm_kxtj3.Y_POSITIVE
Z_NEGATIVE = _pyupm_kxtj3.Z_NEGATIVE
Z_POSITIVE = _pyupm_kxtj3.Z_POSITIVE
class kxtj3_wakeup_axes(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, kxtj3_wakeup_axes, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, kxtj3_wakeup_axes, name)
    __repr__ = _swig_repr
    __swig_setmethods__["X_NEGATIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_X_NEGATIVE_set
    __swig_getmethods__["X_NEGATIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_X_NEGATIVE_get
    if _newclass:
        X_NEGATIVE = _swig_property(_pyupm_kxtj3.kxtj3_wakeup_axes_X_NEGATIVE_get, _pyupm_kxtj3.kxtj3_wakeup_axes_X_NEGATIVE_set)
    __swig_setmethods__["X_POSITIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_X_POSITIVE_set
    __swig_getmethods__["X_POSITIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_X_POSITIVE_get
    if _newclass:
        X_POSITIVE = _swig_property(_pyupm_kxtj3.kxtj3_wakeup_axes_X_POSITIVE_get, _pyupm_kxtj3.kxtj3_wakeup_axes_X_POSITIVE_set)
    __swig_setmethods__["Y_NEGATIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Y_NEGATIVE_set
    __swig_getmethods__["Y_NEGATIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Y_NEGATIVE_get
    if _newclass:
        Y_NEGATIVE = _swig_property(_pyupm_kxtj3.kxtj3_wakeup_axes_Y_NEGATIVE_get, _pyupm_kxtj3.kxtj3_wakeup_axes_Y_NEGATIVE_set)
    __swig_setmethods__["Y_POSITIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Y_POSITIVE_set
    __swig_getmethods__["Y_POSITIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Y_POSITIVE_get
    if _newclass:
        Y_POSITIVE = _swig_property(_pyupm_kxtj3.kxtj3_wakeup_axes_Y_POSITIVE_get, _pyupm_kxtj3.kxtj3_wakeup_axes_Y_POSITIVE_set)
    __swig_setmethods__["Z_NEGATIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Z_NEGATIVE_set
    __swig_getmethods__["Z_NEGATIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Z_NEGATIVE_get
    if _newclass:
        Z_NEGATIVE = _swig_property(_pyupm_kxtj3.kxtj3_wakeup_axes_Z_NEGATIVE_get, _pyupm_kxtj3.kxtj3_wakeup_axes_Z_NEGATIVE_set)
    __swig_setmethods__["Z_POSITIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Z_POSITIVE_set
    __swig_getmethods__["Z_POSITIVE"] = _pyupm_kxtj3.kxtj3_wakeup_axes_Z_POSITIVE_get
    if _newclass:
        Z_POSITIVE = _swig_property(_pyupm_kxtj3.kxtj3_wakeup_axes_Z_POSITIVE_get, _pyupm_kxtj3.kxtj3_wakeup_axes_Z_POSITIVE_set)

    def __init__(self):
        this = _pyupm_kxtj3.new_kxtj3_wakeup_axes()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_kxtj3.delete_kxtj3_wakeup_axes
    __del__ = lambda self: None
kxtj3_wakeup_axes_swigregister = _pyupm_kxtj3.kxtj3_wakeup_axes_swigregister
kxtj3_wakeup_axes_swigregister(kxtj3_wakeup_axes)

class _kxtj3_context(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, _kxtj3_context, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, _kxtj3_context, name)
    __repr__ = _swig_repr
    __swig_setmethods__["i2c"] = _pyupm_kxtj3._kxtj3_context_i2c_set
    __swig_getmethods__["i2c"] = _pyupm_kxtj3._kxtj3_context_i2c_get
    if _newclass:
        i2c = _swig_property(_pyupm_kxtj3._kxtj3_context_i2c_get, _pyupm_kxtj3._kxtj3_context_i2c_set)
    __swig_setmethods__["res_mode"] = _pyupm_kxtj3._kxtj3_context_res_mode_set
    __swig_getmethods__["res_mode"] = _pyupm_kxtj3._kxtj3_context_res_mode_get
    if _newclass:
        res_mode = _swig_property(_pyupm_kxtj3._kxtj3_context_res_mode_get, _pyupm_kxtj3._kxtj3_context_res_mode_set)
    __swig_setmethods__["g_range_mode"] = _pyupm_kxtj3._kxtj3_context_g_range_mode_set
    __swig_getmethods__["g_range_mode"] = _pyupm_kxtj3._kxtj3_context_g_range_mode_get
    if _newclass:
        g_range_mode = _swig_property(_pyupm_kxtj3._kxtj3_context_g_range_mode_get, _pyupm_kxtj3._kxtj3_context_g_range_mode_set)
    __swig_setmethods__["acceleration_scale"] = _pyupm_kxtj3._kxtj3_context_acceleration_scale_set
    __swig_getmethods__["acceleration_scale"] = _pyupm_kxtj3._kxtj3_context_acceleration_scale_get
    if _newclass:
        acceleration_scale = _swig_property(_pyupm_kxtj3._kxtj3_context_acceleration_scale_get, _pyupm_kxtj3._kxtj3_context_acceleration_scale_set)
    __swig_setmethods__["odr"] = _pyupm_kxtj3._kxtj3_context_odr_set
    __swig_getmethods__["odr"] = _pyupm_kxtj3._kxtj3_context_odr_get
    if _newclass:
        odr = _swig_property(_pyupm_kxtj3._kxtj3_context_odr_get, _pyupm_kxtj3._kxtj3_context_odr_set)
    __swig_setmethods__["odr_in_sec"] = _pyupm_kxtj3._kxtj3_context_odr_in_sec_set
    __swig_getmethods__["odr_in_sec"] = _pyupm_kxtj3._kxtj3_context_odr_in_sec_get
    if _newclass:
        odr_in_sec = _swig_property(_pyupm_kxtj3._kxtj3_context_odr_in_sec_get, _pyupm_kxtj3._kxtj3_context_odr_in_sec_set)
    __swig_setmethods__["odr_wakeup"] = _pyupm_kxtj3._kxtj3_context_odr_wakeup_set
    __swig_getmethods__["odr_wakeup"] = _pyupm_kxtj3._kxtj3_context_odr_wakeup_get
    if _newclass:
        odr_wakeup = _swig_property(_pyupm_kxtj3._kxtj3_context_odr_wakeup_get, _pyupm_kxtj3._kxtj3_context_odr_wakeup_set)
    __swig_setmethods__["odr_in_sec_wakeup"] = _pyupm_kxtj3._kxtj3_context_odr_in_sec_wakeup_set
    __swig_getmethods__["odr_in_sec_wakeup"] = _pyupm_kxtj3._kxtj3_context_odr_in_sec_wakeup_get
    if _newclass:
        odr_in_sec_wakeup = _swig_property(_pyupm_kxtj3._kxtj3_context_odr_in_sec_wakeup_get, _pyupm_kxtj3._kxtj3_context_odr_in_sec_wakeup_set)
    __swig_setmethods__["interrupt_pin"] = _pyupm_kxtj3._kxtj3_context_interrupt_pin_set
    __swig_getmethods__["interrupt_pin"] = _pyupm_kxtj3._kxtj3_context_interrupt_pin_get
    if _newclass:
        interrupt_pin = _swig_property(_pyupm_kxtj3._kxtj3_context_interrupt_pin_get, _pyupm_kxtj3._kxtj3_context_interrupt_pin_set)

    def __init__(self):
        this = _pyupm_kxtj3.new__kxtj3_context()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_kxtj3.delete__kxtj3_context
    __del__ = lambda self: None
_kxtj3_context_swigregister = _pyupm_kxtj3._kxtj3_context_swigregister
_kxtj3_context_swigregister(_kxtj3_context)


def kxtj3_init(bus, addr):
    return _pyupm_kxtj3.kxtj3_init(bus, addr)
kxtj3_init = _pyupm_kxtj3.kxtj3_init

def kxtj3_sensor_init(dev, odr, res, g_range):
    return _pyupm_kxtj3.kxtj3_sensor_init(dev, odr, res, g_range)
kxtj3_sensor_init = _pyupm_kxtj3.kxtj3_sensor_init

def kxtj3_get_who_am_i(dev, data):
    return _pyupm_kxtj3.kxtj3_get_who_am_i(dev, data)
kxtj3_get_who_am_i = _pyupm_kxtj3.kxtj3_get_who_am_i

def kxtj3_close(dev):
    return _pyupm_kxtj3.kxtj3_close(dev)
kxtj3_close = _pyupm_kxtj3.kxtj3_close

def kxtj3_set_sensor_active(dev):
    return _pyupm_kxtj3.kxtj3_set_sensor_active(dev)
kxtj3_set_sensor_active = _pyupm_kxtj3.kxtj3_set_sensor_active

def kxtj3_set_sensor_standby(dev):
    return _pyupm_kxtj3.kxtj3_set_sensor_standby(dev)
kxtj3_set_sensor_standby = _pyupm_kxtj3.kxtj3_set_sensor_standby

def kxtj3_set_g_range(dev, g_range):
    return _pyupm_kxtj3.kxtj3_set_g_range(dev, g_range)
kxtj3_set_g_range = _pyupm_kxtj3.kxtj3_set_g_range

def kxtj3_set_resolution(dev, resolution):
    return _pyupm_kxtj3.kxtj3_set_resolution(dev, resolution)
kxtj3_set_resolution = _pyupm_kxtj3.kxtj3_set_resolution

def kxtj3_set_odr(dev, odr):
    return _pyupm_kxtj3.kxtj3_set_odr(dev, odr)
kxtj3_set_odr = _pyupm_kxtj3.kxtj3_set_odr

def kxtj3_set_odr_wakeup_function(dev, odr):
    return _pyupm_kxtj3.kxtj3_set_odr_wakeup_function(dev, odr)
kxtj3_set_odr_wakeup_function = _pyupm_kxtj3.kxtj3_set_odr_wakeup_function

def kxtj3_self_test_digital_communication(dev):
    return _pyupm_kxtj3.kxtj3_self_test_digital_communication(dev)
kxtj3_self_test_digital_communication = _pyupm_kxtj3.kxtj3_self_test_digital_communication

def kxtj3_sensor_self_test(dev):
    return _pyupm_kxtj3.kxtj3_sensor_self_test(dev)
kxtj3_sensor_self_test = _pyupm_kxtj3.kxtj3_sensor_self_test

def kxtj3_sensor_software_reset(dev):
    return _pyupm_kxtj3.kxtj3_sensor_software_reset(dev)
kxtj3_sensor_software_reset = _pyupm_kxtj3.kxtj3_sensor_software_reset

def kxtj3_get_acceleration_data_raw(dev):
    return _pyupm_kxtj3.kxtj3_get_acceleration_data_raw(dev)
kxtj3_get_acceleration_data_raw = _pyupm_kxtj3.kxtj3_get_acceleration_data_raw

def kxtj3_get_acceleration_data(dev):
    return _pyupm_kxtj3.kxtj3_get_acceleration_data(dev)
kxtj3_get_acceleration_data = _pyupm_kxtj3.kxtj3_get_acceleration_data

def kxtj3_get_acceleration_sampling_period(dev):
    return _pyupm_kxtj3.kxtj3_get_acceleration_sampling_period(dev)
kxtj3_get_acceleration_sampling_period = _pyupm_kxtj3.kxtj3_get_acceleration_sampling_period

def kxtj3_get_wakeup_sampling_period(dev):
    return _pyupm_kxtj3.kxtj3_get_wakeup_sampling_period(dev)
kxtj3_get_wakeup_sampling_period = _pyupm_kxtj3.kxtj3_get_wakeup_sampling_period

def kxtj3_enable_data_ready_interrupt(dev):
    return _pyupm_kxtj3.kxtj3_enable_data_ready_interrupt(dev)
kxtj3_enable_data_ready_interrupt = _pyupm_kxtj3.kxtj3_enable_data_ready_interrupt

def kxtj3_disable_data_ready_interrupt(dev):
    return _pyupm_kxtj3.kxtj3_disable_data_ready_interrupt(dev)
kxtj3_disable_data_ready_interrupt = _pyupm_kxtj3.kxtj3_disable_data_ready_interrupt

def kxtj3_enable_wakeup_interrupt(dev):
    return _pyupm_kxtj3.kxtj3_enable_wakeup_interrupt(dev)
kxtj3_enable_wakeup_interrupt = _pyupm_kxtj3.kxtj3_enable_wakeup_interrupt

def kxtj3_disable_wakeup_interrupt(dev):
    return _pyupm_kxtj3.kxtj3_disable_wakeup_interrupt(dev)
kxtj3_disable_wakeup_interrupt = _pyupm_kxtj3.kxtj3_disable_wakeup_interrupt

def kxtj3_enable_interrupt_pin(dev, polarity, response_type):
    return _pyupm_kxtj3.kxtj3_enable_interrupt_pin(dev, polarity, response_type)
kxtj3_enable_interrupt_pin = _pyupm_kxtj3.kxtj3_enable_interrupt_pin

def kxtj3_disable_interrupt_pin(dev):
    return _pyupm_kxtj3.kxtj3_disable_interrupt_pin(dev)
kxtj3_disable_interrupt_pin = _pyupm_kxtj3.kxtj3_disable_interrupt_pin

def kxtj3_set_interrupt_polarity(dev, polarity):
    return _pyupm_kxtj3.kxtj3_set_interrupt_polarity(dev, polarity)
kxtj3_set_interrupt_polarity = _pyupm_kxtj3.kxtj3_set_interrupt_polarity

def kxtj3_set_interrupt_response(dev, response_type):
    return _pyupm_kxtj3.kxtj3_set_interrupt_response(dev, response_type)
kxtj3_set_interrupt_response = _pyupm_kxtj3.kxtj3_set_interrupt_response

def kxtj3_get_interrupt_status(dev):
    return _pyupm_kxtj3.kxtj3_get_interrupt_status(dev)
kxtj3_get_interrupt_status = _pyupm_kxtj3.kxtj3_get_interrupt_status

def kxtj3_read_interrupt_source1_reg(dev, reg_value):
    return _pyupm_kxtj3.kxtj3_read_interrupt_source1_reg(dev, reg_value)
kxtj3_read_interrupt_source1_reg = _pyupm_kxtj3.kxtj3_read_interrupt_source1_reg

def kxtj3_get_interrupt_source(dev):
    return _pyupm_kxtj3.kxtj3_get_interrupt_source(dev)
kxtj3_get_interrupt_source = _pyupm_kxtj3.kxtj3_get_interrupt_source

def kxtj3_install_isr(dev, edge, pin, isr, isr_args):
    return _pyupm_kxtj3.kxtj3_install_isr(dev, edge, pin, isr, isr_args)
kxtj3_install_isr = _pyupm_kxtj3.kxtj3_install_isr

def kxtj3_uninstall_isr(dev):
    return _pyupm_kxtj3.kxtj3_uninstall_isr(dev)
kxtj3_uninstall_isr = _pyupm_kxtj3.kxtj3_uninstall_isr

def kxtj3_clear_interrupt_information(dev):
    return _pyupm_kxtj3.kxtj3_clear_interrupt_information(dev)
kxtj3_clear_interrupt_information = _pyupm_kxtj3.kxtj3_clear_interrupt_information

def kxtj3_enable_wakeup_single_axis_direction(dev, axis):
    return _pyupm_kxtj3.kxtj3_enable_wakeup_single_axis_direction(dev, axis)
kxtj3_enable_wakeup_single_axis_direction = _pyupm_kxtj3.kxtj3_enable_wakeup_single_axis_direction

def kxtj3_disable_wakeup_single_axis_direction(dev, axis):
    return _pyupm_kxtj3.kxtj3_disable_wakeup_single_axis_direction(dev, axis)
kxtj3_disable_wakeup_single_axis_direction = _pyupm_kxtj3.kxtj3_disable_wakeup_single_axis_direction

def kxtj3_get_wakeup_axis_and_direction(dev):
    return _pyupm_kxtj3.kxtj3_get_wakeup_axis_and_direction(dev)
kxtj3_get_wakeup_axis_and_direction = _pyupm_kxtj3.kxtj3_get_wakeup_axis_and_direction

def kxtj3_enable_wakeup_latch(dev):
    return _pyupm_kxtj3.kxtj3_enable_wakeup_latch(dev)
kxtj3_enable_wakeup_latch = _pyupm_kxtj3.kxtj3_enable_wakeup_latch

def kxtj3_disable_wakeup_latch(dev):
    return _pyupm_kxtj3.kxtj3_disable_wakeup_latch(dev)
kxtj3_disable_wakeup_latch = _pyupm_kxtj3.kxtj3_disable_wakeup_latch

def kxtj3_set_wakeup_motion_counter(dev, count):
    return _pyupm_kxtj3.kxtj3_set_wakeup_motion_counter(dev, count)
kxtj3_set_wakeup_motion_counter = _pyupm_kxtj3.kxtj3_set_wakeup_motion_counter

def kxtj3_set_wakeup_motion_time(dev, desired_time):
    return _pyupm_kxtj3.kxtj3_set_wakeup_motion_time(dev, desired_time)
kxtj3_set_wakeup_motion_time = _pyupm_kxtj3.kxtj3_set_wakeup_motion_time

def kxtj3_get_wakeup_motion_time(dev, out_time):
    return _pyupm_kxtj3.kxtj3_get_wakeup_motion_time(dev, out_time)
kxtj3_get_wakeup_motion_time = _pyupm_kxtj3.kxtj3_get_wakeup_motion_time

def kxtj3_set_wakeup_non_activity_counter(dev, count):
    return _pyupm_kxtj3.kxtj3_set_wakeup_non_activity_counter(dev, count)
kxtj3_set_wakeup_non_activity_counter = _pyupm_kxtj3.kxtj3_set_wakeup_non_activity_counter

def kxtj3_set_wakeup_non_activity_time(dev, desired_time):
    return _pyupm_kxtj3.kxtj3_set_wakeup_non_activity_time(dev, desired_time)
kxtj3_set_wakeup_non_activity_time = _pyupm_kxtj3.kxtj3_set_wakeup_non_activity_time

def kxtj3_get_wakeup_non_activity_time(dev, out_time):
    return _pyupm_kxtj3.kxtj3_get_wakeup_non_activity_time(dev, out_time)
kxtj3_get_wakeup_non_activity_time = _pyupm_kxtj3.kxtj3_get_wakeup_non_activity_time

def kxtj3_set_wakeup_threshold_counter(dev, count):
    return _pyupm_kxtj3.kxtj3_set_wakeup_threshold_counter(dev, count)
kxtj3_set_wakeup_threshold_counter = _pyupm_kxtj3.kxtj3_set_wakeup_threshold_counter

def kxtj3_set_wakeup_threshold_g_value(dev, g_threshold):
    return _pyupm_kxtj3.kxtj3_set_wakeup_threshold_g_value(dev, g_threshold)
kxtj3_set_wakeup_threshold_g_value = _pyupm_kxtj3.kxtj3_set_wakeup_threshold_g_value

def kxtj3_get_wakeup_threshold(dev, out_threshold):
    return _pyupm_kxtj3.kxtj3_get_wakeup_threshold(dev, out_threshold)
kxtj3_get_wakeup_threshold = _pyupm_kxtj3.kxtj3_get_wakeup_threshold
class KXTJ3(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, KXTJ3, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, KXTJ3, name)
    __repr__ = _swig_repr

    def __init__(self, bus, addr=0x0f):
        this = _pyupm_kxtj3.new_KXTJ3(bus, addr)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_kxtj3.delete_KXTJ3
    __del__ = lambda self: None

    def SensorInit(self, odr, resolution, g_range):
        return _pyupm_kxtj3.KXTJ3_SensorInit(self, odr, resolution, g_range)

    def GetWhoAmI(self):
        return _pyupm_kxtj3.KXTJ3_GetWhoAmI(self)

    def SensorActive(self):
        return _pyupm_kxtj3.KXTJ3_SensorActive(self)

    def SensorStandby(self):
        return _pyupm_kxtj3.KXTJ3_SensorStandby(self)

    def SetGRange(self, g_range):
        return _pyupm_kxtj3.KXTJ3_SetGRange(self, g_range)

    def SetResolution(self, resolution):
        return _pyupm_kxtj3.KXTJ3_SetResolution(self, resolution)

    def SetOdr(self, odr):
        return _pyupm_kxtj3.KXTJ3_SetOdr(self, odr)

    def SetOdrForWakeup(self, odr):
        return _pyupm_kxtj3.KXTJ3_SetOdrForWakeup(self, odr)

    def SelfTestDigitalCommunication(self):
        return _pyupm_kxtj3.KXTJ3_SelfTestDigitalCommunication(self)

    def SensorSelfTest(self):
        return _pyupm_kxtj3.KXTJ3_SensorSelfTest(self)

    def SensorSoftwareReset(self):
        return _pyupm_kxtj3.KXTJ3_SensorSoftwareReset(self)

    def GetAccelerationRawVector(self):
        return _pyupm_kxtj3.KXTJ3_GetAccelerationRawVector(self)

    def GetAccelerationVector(self):
        return _pyupm_kxtj3.KXTJ3_GetAccelerationVector(self)

    def GetAccelerationSamplePeriod(self):
        return _pyupm_kxtj3.KXTJ3_GetAccelerationSamplePeriod(self)

    def GetWakeUpSamplePeriod(self):
        return _pyupm_kxtj3.KXTJ3_GetWakeUpSamplePeriod(self)

    def EnableDataReadyInterrupt(self):
        return _pyupm_kxtj3.KXTJ3_EnableDataReadyInterrupt(self)

    def DisableDataReadyInterrupt(self):
        return _pyupm_kxtj3.KXTJ3_DisableDataReadyInterrupt(self)

    def EnableWakeUpInterrupt(self):
        return _pyupm_kxtj3.KXTJ3_EnableWakeUpInterrupt(self)

    def DisableWakeUpInterrupt(self):
        return _pyupm_kxtj3.KXTJ3_DisableWakeUpInterrupt(self)

    def EnableInterruptPin(self, polarity, response_type):
        return _pyupm_kxtj3.KXTJ3_EnableInterruptPin(self, polarity, response_type)

    def DisableInterruptPin(self):
        return _pyupm_kxtj3.KXTJ3_DisableInterruptPin(self)

    def SetInterruptPolarity(self, polarity):
        return _pyupm_kxtj3.KXTJ3_SetInterruptPolarity(self, polarity)

    def SetInerruptResponse(self, response_type):
        return _pyupm_kxtj3.KXTJ3_SetInerruptResponse(self, response_type)

    def GetInterruptStatus(self):
        return _pyupm_kxtj3.KXTJ3_GetInterruptStatus(self)

    def ReadInterruptSource1(self):
        return _pyupm_kxtj3.KXTJ3_ReadInterruptSource1(self)

    def GetInterruptSource(self):
        return _pyupm_kxtj3.KXTJ3_GetInterruptSource(self)

    def InstallIsr(self, edge, pin, isr, isr_args):
        return _pyupm_kxtj3.KXTJ3_InstallIsr(self, edge, pin, isr, isr_args)

    def UninstallIsr(self):
        return _pyupm_kxtj3.KXTJ3_UninstallIsr(self)

    def ClearInterrupt(self):
        return _pyupm_kxtj3.KXTJ3_ClearInterrupt(self)

    def EnableWakeUpSingleAxisDirection(self, axis):
        return _pyupm_kxtj3.KXTJ3_EnableWakeUpSingleAxisDirection(self, axis)

    def DisableWakeUpSingleAxisDirection(self, axis):
        return _pyupm_kxtj3.KXTJ3_DisableWakeUpSingleAxisDirection(self, axis)

    def GetWakeUpAxisDirection(self):
        return _pyupm_kxtj3.KXTJ3_GetWakeUpAxisDirection(self)

    def EnableWakeUpLatch(self):
        return _pyupm_kxtj3.KXTJ3_EnableWakeUpLatch(self)

    def DisableWakeUpLatch(self):
        return _pyupm_kxtj3.KXTJ3_DisableWakeUpLatch(self)

    def SetWakeUpMotionCounter(self, count):
        return _pyupm_kxtj3.KXTJ3_SetWakeUpMotionCounter(self, count)

    def SetWakeUpMotionTime(self, desired_time):
        return _pyupm_kxtj3.KXTJ3_SetWakeUpMotionTime(self, desired_time)

    def GetWakeUpMotionTime(self):
        return _pyupm_kxtj3.KXTJ3_GetWakeUpMotionTime(self)

    def SetWakeUpNonActivityCounter(self, count):
        return _pyupm_kxtj3.KXTJ3_SetWakeUpNonActivityCounter(self, count)

    def SetWakeUpNonActivityTime(self, desired_time):
        return _pyupm_kxtj3.KXTJ3_SetWakeUpNonActivityTime(self, desired_time)

    def GetWakeUpNonActivityTime(self):
        return _pyupm_kxtj3.KXTJ3_GetWakeUpNonActivityTime(self)

    def SetWakeUpThresholdCounter(self, count):
        return _pyupm_kxtj3.KXTJ3_SetWakeUpThresholdCounter(self, count)

    def SetWakeUpThresholdGRange(self, g_threshold):
        return _pyupm_kxtj3.KXTJ3_SetWakeUpThresholdGRange(self, g_threshold)

    def GetWakeUpThresholdGRange(self):
        return _pyupm_kxtj3.KXTJ3_GetWakeUpThresholdGRange(self)
KXTJ3_swigregister = _pyupm_kxtj3.KXTJ3_swigregister
KXTJ3_swigregister(KXTJ3)

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


