Go to the documentation of this file.
13 #ifndef __LINUX_INPUT_ADXL34X_H__
14 #define __LINUX_INPUT_ADXL34X_H__
38 #define ADXL_SUPPRESS (1 << 3)
39 #define ADXL_TAP_X_EN (1 << 2)
40 #define ADXL_TAP_Y_EN (1 << 1)
41 #define ADXL_TAP_Z_EN (1 << 0)
111 #define ADXL_ACT_ACDC (1 << 7)
112 #define ADXL_ACT_X_EN (1 << 6)
113 #define ADXL_ACT_Y_EN (1 << 5)
114 #define ADXL_ACT_Z_EN (1 << 4)
115 #define ADXL_INACT_ACDC (1 << 3)
116 #define ADXL_INACT_X_EN (1 << 2)
117 #define ADXL_INACT_Y_EN (1 << 1)
118 #define ADXL_INACT_Z_EN (1 << 0)
206 #define ADXL_FULL_RES (1 << 3)
207 #define ADXL_RANGE_PM_2g 0
208 #define ADXL_RANGE_PM_4g 1
209 #define ADXL_RANGE_PM_8g 2
210 #define ADXL_RANGE_PM_16g 3
239 #define ADXL_LINK (1 << 5)
240 #define ADXL_AUTO_SLEEP (1 << 4)
254 #define ADXL_FIFO_BYPASS 0
255 #define ADXL_FIFO_FIFO 1
256 #define ADXL_FIFO_STREAM 2
309 #define ADXL_EN_ORIENTATION_2D 1
310 #define ADXL_EN_ORIENTATION_3D 2
311 #define ADXL_EN_ORIENTATION_2D_3D 3
323 #define ADXL_DEADZONE_ANGLE_0p0 0
324 #define ADXL_DEADZONE_ANGLE_3p6 1
325 #define ADXL_DEADZONE_ANGLE_7p2 2
326 #define ADXL_DEADZONE_ANGLE_10p8 3
327 #define ADXL_DEADZONE_ANGLE_14p4 4
328 #define ADXL_DEADZONE_ANGLE_18p0 5
329 #define ADXL_DEADZONE_ANGLE_21p6 6
330 #define ADXL_DEADZONE_ANGLE_25p2 7
342 #define ADXL_LP_FILTER_DIVISOR_2 0
343 #define ADXL_LP_FILTER_DIVISOR_4 1
344 #define ADXL_LP_FILTER_DIVISOR_8 2
345 #define ADXL_LP_FILTER_DIVISOR_16 3
346 #define ADXL_LP_FILTER_DIVISOR_32 4
347 #define ADXL_LP_FILTER_DIVISOR_64 5
348 #define ADXL_LP_FILTER_DIVISOR_128 6
349 #define ADXL_LP_FILTER_DIVISOR_256 7