Home | History | Annotate | Download | only in iio
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _UAPI_IIO_TYPES_H_
     20 #define _UAPI_IIO_TYPES_H_
     21 enum iio_chan_type {
     22   IIO_VOLTAGE,
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24   IIO_CURRENT,
     25   IIO_POWER,
     26   IIO_ACCEL,
     27   IIO_ANGL_VEL,
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29   IIO_MAGN,
     30   IIO_LIGHT,
     31   IIO_INTENSITY,
     32   IIO_PROXIMITY,
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34   IIO_TEMP,
     35   IIO_INCLI,
     36   IIO_ROT,
     37   IIO_ANGL,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39   IIO_TIMESTAMP,
     40   IIO_CAPACITANCE,
     41   IIO_ALTVOLTAGE,
     42   IIO_CCT,
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44   IIO_PRESSURE,
     45   IIO_HUMIDITYRELATIVE,
     46   IIO_ACTIVITY,
     47   IIO_STEPS,
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49   IIO_ENERGY,
     50   IIO_DISTANCE,
     51   IIO_VELOCITY,
     52   IIO_CONCENTRATION,
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54   IIO_RESISTANCE,
     55   IIO_PH,
     56   IIO_UVINDEX,
     57   IIO_ELECTRICALCONDUCTIVITY,
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59   IIO_COUNT,
     60   IIO_INDEX,
     61 };
     62 enum iio_modifier {
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64   IIO_NO_MOD,
     65   IIO_MOD_X,
     66   IIO_MOD_Y,
     67   IIO_MOD_Z,
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69   IIO_MOD_X_AND_Y,
     70   IIO_MOD_X_AND_Z,
     71   IIO_MOD_Y_AND_Z,
     72   IIO_MOD_X_AND_Y_AND_Z,
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74   IIO_MOD_X_OR_Y,
     75   IIO_MOD_X_OR_Z,
     76   IIO_MOD_Y_OR_Z,
     77   IIO_MOD_X_OR_Y_OR_Z,
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79   IIO_MOD_LIGHT_BOTH,
     80   IIO_MOD_LIGHT_IR,
     81   IIO_MOD_ROOT_SUM_SQUARED_X_Y,
     82   IIO_MOD_SUM_SQUARED_X_Y_Z,
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84   IIO_MOD_LIGHT_CLEAR,
     85   IIO_MOD_LIGHT_RED,
     86   IIO_MOD_LIGHT_GREEN,
     87   IIO_MOD_LIGHT_BLUE,
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89   IIO_MOD_QUATERNION,
     90   IIO_MOD_TEMP_AMBIENT,
     91   IIO_MOD_TEMP_OBJECT,
     92   IIO_MOD_NORTH_MAGN,
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94   IIO_MOD_NORTH_TRUE,
     95   IIO_MOD_NORTH_MAGN_TILT_COMP,
     96   IIO_MOD_NORTH_TRUE_TILT_COMP,
     97   IIO_MOD_RUNNING,
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99   IIO_MOD_JOGGING,
    100   IIO_MOD_WALKING,
    101   IIO_MOD_STILL,
    102   IIO_MOD_ROOT_SUM_SQUARED_X_Y_Z,
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104   IIO_MOD_I,
    105   IIO_MOD_Q,
    106   IIO_MOD_CO2,
    107   IIO_MOD_VOC,
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109   IIO_MOD_LIGHT_UV,
    110 };
    111 enum iio_event_type {
    112   IIO_EV_TYPE_THRESH,
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114   IIO_EV_TYPE_MAG,
    115   IIO_EV_TYPE_ROC,
    116   IIO_EV_TYPE_THRESH_ADAPTIVE,
    117   IIO_EV_TYPE_MAG_ADAPTIVE,
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119   IIO_EV_TYPE_CHANGE,
    120 };
    121 enum iio_event_direction {
    122   IIO_EV_DIR_EITHER,
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124   IIO_EV_DIR_RISING,
    125   IIO_EV_DIR_FALLING,
    126   IIO_EV_DIR_NONE,
    127 };
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129 #endif
    130