Go to the documentation of this file.
54 #define LIS3_CLICK_SINGLE_X (1 << 0)
55 #define LIS3_CLICK_DOUBLE_X (1 << 1)
56 #define LIS3_CLICK_SINGLE_Y (1 << 2)
57 #define LIS3_CLICK_DOUBLE_Y (1 << 3)
58 #define LIS3_CLICK_SINGLE_Z (1 << 4)
59 #define LIS3_CLICK_DOUBLE_Z (1 << 5)
68 #define LIS3_IRQ1_DISABLE (0 << 0)
69 #define LIS3_IRQ1_FF_WU_1 (1 << 0)
70 #define LIS3_IRQ1_FF_WU_2 (2 << 0)
71 #define LIS3_IRQ1_FF_WU_12 (3 << 0)
72 #define LIS3_IRQ1_DATA_READY (4 << 0)
73 #define LIS3_IRQ1_CLICK (7 << 0)
74 #define LIS3_IRQ1_MASK (7 << 0)
75 #define LIS3_IRQ2_DISABLE (0 << 3)
76 #define LIS3_IRQ2_FF_WU_1 (1 << 3)
77 #define LIS3_IRQ2_FF_WU_2 (2 << 3)
78 #define LIS3_IRQ2_FF_WU_12 (3 << 3)
79 #define LIS3_IRQ2_DATA_READY (4 << 3)
80 #define LIS3_IRQ2_CLICK (7 << 3)
81 #define LIS3_IRQ2_MASK (7 << 3)
82 #define LIS3_IRQ_OPEN_DRAIN (1 << 6)
83 #define LIS3_IRQ_ACTIVE_LOW (1 << 7)
89 #define LIS3_WAKEUP_X_LO (1 << 0)
90 #define LIS3_WAKEUP_X_HI (1 << 1)
91 #define LIS3_WAKEUP_Y_LO (1 << 2)
92 #define LIS3_WAKEUP_Y_HI (1 << 3)
93 #define LIS3_WAKEUP_Z_LO (1 << 4)
94 #define LIS3_WAKEUP_Z_HI (1 << 5)
99 #define LIS3_HIPASS_CUTFF_8HZ 0
100 #define LIS3_HIPASS_CUTFF_4HZ 1
101 #define LIS3_HIPASS_CUTFF_2HZ 2
102 #define LIS3_HIPASS_CUTFF_1HZ 3
103 #define LIS3_HIPASS1_DISABLE (1 << 2)
104 #define LIS3_HIPASS2_DISABLE (1 << 3)
106 #define LIS3_NO_MAP 0
110 #define LIS3_INV_DEV_X -1
111 #define LIS3_INV_DEV_Y -2
112 #define LIS3_INV_DEV_Z -3
116 #define LIS3_USE_BLOCK_READ 0x02