1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* industrial I/O data types needed both in and out of kernel
4 * Copyright (c) 2008 Jonathan Cameron
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
11 #ifndef _UAPI_IIO_TYPES_H_
12 #define _UAPI_IIO_TYPES_H_
43 IIO_ELECTRICALCONDUCTIVITY,
49 IIO_MASSCONCENTRATION,
65 IIO_MOD_X_AND_Y_AND_Z,
72 IIO_MOD_ROOT_SUM_SQUARED_X_Y,
73 IIO_MOD_SUM_SQUARED_X_Y_Z,
83 IIO_MOD_NORTH_MAGN_TILT_COMP,
84 IIO_MOD_NORTH_TRUE_TILT_COMP,
89 IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z,
113 enum iio_event_type {
117 IIO_EV_TYPE_THRESH_ADAPTIVE,
118 IIO_EV_TYPE_MAG_ADAPTIVE,
120 IIO_EV_TYPE_MAG_REFERENCED,
124 enum iio_event_direction {
129 IIO_EV_DIR_SINGLETAP,
130 IIO_EV_DIR_DOUBLETAP,
133 #endif /* _UAPI_IIO_TYPES_H_ */