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
,
62 IIO_EV_TYPE_THRESH_ADAPTIVE
,
63 IIO_EV_TYPE_MAG_ADAPTIVE
,
69 IIO_EV_INFO_HYSTERESIS
,
72 enum iio_event_direction
{
79 #define IIO_VAL_INT_PLUS_MICRO 2
80 #define IIO_VAL_INT_PLUS_NANO 3
81 #define IIO_VAL_INT_PLUS_MICRO_DB 4
82 #define IIO_VAL_INT_MULTIPLE 5
83 #define IIO_VAL_FRACTIONAL 10
84 #define IIO_VAL_FRACTIONAL_LOG2 11
86 #endif /* _IIO_TYPES_H_ */