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,
96 IIO_EV_TYPE_THRESH_ADAPTIVE,
97 IIO_EV_TYPE_MAG_ADAPTIVE,
101 enum iio_event_direction {
110 #define __USE_LINUX_IOCTL_DEFS 111 #include <sys/ioctl.h> 113 #include <linux/ioctl.h> 121 unsigned long long int id;
126 #define IIO_GET_EVENT_FD_IOCTL _IOR('i', 0x90, int) 128 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) 130 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) 132 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) 136 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((short int)(mask & 0xFFFF)) 137 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((short int)(((mask) >> 16) & 0xFFFF)) 139 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) 140 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) long long int timestamp
Definition: iio_kernel_headers.h:123
Definition: iio_kernel_headers.h:119
unsigned long long int id
Definition: iio_kernel_headers.h:121