1 /* industrial I/O data types needed both in and out of kernel
3 * Copyright (c) 2008 Jonathan Cameron
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published by
7 * the Free Software Foundation.
42 IIO_MOD_X_AND_Y_AND_Z,
49 IIO_MOD_ROOT_SUM_SQUARED_X_Y,
50 IIO_MOD_SUM_SQUARED_X_Y_Z,
61 IIO_EV_TYPE_THRESH_ADAPTIVE,
62 IIO_EV_TYPE_MAG_ADAPTIVE,
68 IIO_EV_INFO_HYSTERESIS,
71 enum iio_event_direction {
78 #define IIO_VAL_INT_PLUS_MICRO 2
79 #define IIO_VAL_INT_PLUS_NANO 3
80 #define IIO_VAL_INT_PLUS_MICRO_DB 4
81 #define IIO_VAL_FRACTIONAL 10
82 #define IIO_VAL_FRACTIONAL_LOG2 11
84 #endif /* _IIO_TYPES_H_ */