Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
adxl34x.h File Reference

Go to the source code of this file.

Data Structures

struct  adxl34x_platform_data
 

Macros

#define ADXL_SUPPRESS   (1 << 3)
 
#define ADXL_TAP_X_EN   (1 << 2)
 
#define ADXL_TAP_Y_EN   (1 << 1)
 
#define ADXL_TAP_Z_EN   (1 << 0)
 
#define ADXL_ACT_ACDC   (1 << 7)
 
#define ADXL_ACT_X_EN   (1 << 6)
 
#define ADXL_ACT_Y_EN   (1 << 5)
 
#define ADXL_ACT_Z_EN   (1 << 4)
 
#define ADXL_INACT_ACDC   (1 << 3)
 
#define ADXL_INACT_X_EN   (1 << 2)
 
#define ADXL_INACT_Y_EN   (1 << 1)
 
#define ADXL_INACT_Z_EN   (1 << 0)
 
#define ADXL_FULL_RES   (1 << 3)
 
#define ADXL_RANGE_PM_2g   0
 
#define ADXL_RANGE_PM_4g   1
 
#define ADXL_RANGE_PM_8g   2
 
#define ADXL_RANGE_PM_16g   3
 
#define ADXL_LINK   (1 << 5)
 
#define ADXL_AUTO_SLEEP   (1 << 4)
 
#define ADXL_FIFO_BYPASS   0
 
#define ADXL_FIFO_FIFO   1
 
#define ADXL_FIFO_STREAM   2
 
#define ADXL_EN_ORIENTATION_2D   1
 
#define ADXL_EN_ORIENTATION_3D   2
 
#define ADXL_EN_ORIENTATION_2D_3D   3
 
#define ADXL_DEADZONE_ANGLE_0p0   0 /* !!!0.0 [deg] */
 
#define ADXL_DEADZONE_ANGLE_3p6   1 /* 3.6 [deg] */
 
#define ADXL_DEADZONE_ANGLE_7p2   2 /* 7.2 [deg] */
 
#define ADXL_DEADZONE_ANGLE_10p8   3 /* 10.8 [deg] */
 
#define ADXL_DEADZONE_ANGLE_14p4   4 /* 14.4 [deg] */
 
#define ADXL_DEADZONE_ANGLE_18p0   5 /* 18.0 [deg] */
 
#define ADXL_DEADZONE_ANGLE_21p6   6 /* 21.6 [deg] */
 
#define ADXL_DEADZONE_ANGLE_25p2   7 /* 25.2 [deg] */
 
#define ADXL_LP_FILTER_DIVISOR_2   0
 
#define ADXL_LP_FILTER_DIVISOR_4   1
 
#define ADXL_LP_FILTER_DIVISOR_8   2
 
#define ADXL_LP_FILTER_DIVISOR_16   3
 
#define ADXL_LP_FILTER_DIVISOR_32   4
 
#define ADXL_LP_FILTER_DIVISOR_64   5
 
#define ADXL_LP_FILTER_DIVISOR_128   6
 
#define ADXL_LP_FILTER_DIVISOR_256   7
 

Macro Definition Documentation

#define ADXL_ACT_ACDC   (1 << 7)

Definition at line 111 of file adxl34x.h.

#define ADXL_ACT_X_EN   (1 << 6)

Definition at line 112 of file adxl34x.h.

#define ADXL_ACT_Y_EN   (1 << 5)

Definition at line 113 of file adxl34x.h.

#define ADXL_ACT_Z_EN   (1 << 4)

Definition at line 114 of file adxl34x.h.

#define ADXL_AUTO_SLEEP   (1 << 4)

Definition at line 240 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_0p0   0 /* !!!0.0 [deg] */

Definition at line 323 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_10p8   3 /* 10.8 [deg] */

Definition at line 326 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_14p4   4 /* 14.4 [deg] */

Definition at line 327 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_18p0   5 /* 18.0 [deg] */

Definition at line 328 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_21p6   6 /* 21.6 [deg] */

Definition at line 329 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_25p2   7 /* 25.2 [deg] */

Definition at line 330 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_3p6   1 /* 3.6 [deg] */

Definition at line 324 of file adxl34x.h.

#define ADXL_DEADZONE_ANGLE_7p2   2 /* 7.2 [deg] */

Definition at line 325 of file adxl34x.h.

#define ADXL_EN_ORIENTATION_2D   1

Definition at line 309 of file adxl34x.h.

#define ADXL_EN_ORIENTATION_2D_3D   3

Definition at line 311 of file adxl34x.h.

#define ADXL_EN_ORIENTATION_3D   2

Definition at line 310 of file adxl34x.h.

#define ADXL_FIFO_BYPASS   0

Definition at line 254 of file adxl34x.h.

#define ADXL_FIFO_FIFO   1

Definition at line 255 of file adxl34x.h.

#define ADXL_FIFO_STREAM   2

Definition at line 256 of file adxl34x.h.

#define ADXL_FULL_RES   (1 << 3)

Definition at line 206 of file adxl34x.h.

#define ADXL_INACT_ACDC   (1 << 3)

Definition at line 115 of file adxl34x.h.

#define ADXL_INACT_X_EN   (1 << 2)

Definition at line 116 of file adxl34x.h.

#define ADXL_INACT_Y_EN   (1 << 1)

Definition at line 117 of file adxl34x.h.

#define ADXL_INACT_Z_EN   (1 << 0)

Definition at line 118 of file adxl34x.h.

#define ADXL_LINK   (1 << 5)

Definition at line 239 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_128   6

Definition at line 348 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_16   3

Definition at line 345 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_2   0

Definition at line 342 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_256   7

Definition at line 349 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_32   4

Definition at line 346 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_4   1

Definition at line 343 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_64   5

Definition at line 347 of file adxl34x.h.

#define ADXL_LP_FILTER_DIVISOR_8   2

Definition at line 344 of file adxl34x.h.

#define ADXL_RANGE_PM_16g   3

Definition at line 210 of file adxl34x.h.

#define ADXL_RANGE_PM_2g   0

Definition at line 207 of file adxl34x.h.

#define ADXL_RANGE_PM_4g   1

Definition at line 208 of file adxl34x.h.

#define ADXL_RANGE_PM_8g   2

Definition at line 209 of file adxl34x.h.

#define ADXL_SUPPRESS   (1 << 3)

Definition at line 38 of file adxl34x.h.

#define ADXL_TAP_X_EN   (1 << 2)

Definition at line 39 of file adxl34x.h.

#define ADXL_TAP_Y_EN   (1 << 1)

Definition at line 40 of file adxl34x.h.

#define ADXL_TAP_Z_EN   (1 << 0)

Definition at line 41 of file adxl34x.h.