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.
43 IIO_MOD_X_AND_Y_AND_Z,
50 IIO_MOD_ROOT_SUM_SQUARED_X_Y,
51 IIO_MOD_SUM_SQUARED_X_Y_Z,
65 IIO_EV_TYPE_THRESH_ADAPTIVE,
66 IIO_EV_TYPE_MAG_ADAPTIVE,
72 IIO_EV_INFO_HYSTERESIS,
75 enum iio_event_direction {
82 #define IIO_VAL_INT_PLUS_MICRO 2
83 #define IIO_VAL_INT_PLUS_NANO 3
84 #define IIO_VAL_INT_PLUS_MICRO_DB 4
85 #define IIO_VAL_INT_MULTIPLE 5
86 #define IIO_VAL_FRACTIONAL 10
87 #define IIO_VAL_FRACTIONAL_LOG2 11
89 #endif /* _IIO_TYPES_H_ */