Lines Matching +full:6 +full:- +full:7

1 /* sensor_lsm6dsl.h - header file for LSM6DSL accelerometer, gyroscope and
8 * SPDX-License-Identifier: Apache-2.0
29 #define LSM6DSL_MASK_FUNC_CFG_EN BIT(7)
30 #define LSM6DSL_SHIFT_FUNC_CFG_EN 7
44 #define LSM6DSL_MASK_FIFO_CTRL1_FTH (BIT(7) | BIT(6) | \
51 #define LSM6DSL_MASK_FIFO_CTRL2_TIMER_PEDO_FIFO_EN BIT(7)
52 #define LSM6DSL_SHIFT_FIFO_CTRL2_TIMER_PEDO_FIFO_EN 7
53 #define LSM6DSL_MASK_FIFO_CTRL2_TIMER_PEDO_FIFO_DRDY BIT(6)
54 #define LSM6DSL_SHIFT_FIFO_CTRL2_TIMER_PEDO_FIFO_DRDY 6
70 #define LSM6DSL_MASK_FIFO_CTRL4_STOP_ON_FTH BIT(7)
71 #define LSM6DSL_SHIFT_FIFO_CTRL4_STOP_ON_FTH 7
72 #define LSM6DSL_MASK_FIFO_CTRL4_ONLY_HIGH_DATA BIT(6)
73 #define LSM6DSL_SHIFT_FIFO_CTRL4_ONLY_HIGH_DATA 6
82 #define LSM6DSL_MASK_FIFO_CTRL5_ODR_FIFO (BIT(6) | BIT(5) | \
90 #define LSM6DSL_MASK_DRDY_PULSE_CFG_G_DRDY_PULSED BIT(7)
91 #define LSM6DSL_SHIFT_DRDY_PULSE_CFG_G_DRDY_PULSED 7
96 #define LSM6DSL_MASK_INT1_CTRL_STEP_DETECTOR BIT(7)
97 #define LSM6DSL_SHIFT_INT1_CTRL_STEP_DETECTOR 7
98 #define LSM6DSL_MASK_INT1_CTRL_SIGN_MOT BIT(6)
99 #define LSM6DSL_SHIFT_INT1_CTRL_SIGN_MOT 6
114 #define LSM6DSL_MASK_INT2_CTRL_STEP_DELTA BIT(7)
115 #define LSM6DSL_SHIFT_INT2_CTRL_STEP_DELTA 7
116 #define LSM6DSL_MASK_INT2_CTRL_STEP_COUNT_OV BIT(6)
117 #define LSM6DSL_SHIFT_INT2_CTRL_STEP_COUNT_OV 6
135 #define LSM6DSL_MASK_CTRL1_XL_ODR_XL (BIT(7) | BIT(6) | \
144 #define LSM6DSL_MASK_CTRL2_G_ODR_G (BIT(7) | BIT(6) | \
153 #define LSM6DSL_MASK_CTRL3_C_BOOT BIT(7)
154 #define LSM6DSL_SHIFT_CTRL3_C_BOOT 7
155 #define LSM6DSL_MASK_CTRL3_C_BDU BIT(6)
156 #define LSM6DSL_SHIFT_CTRL3_C_BDU 6
171 #define LSM6DSL_MASK_CTRL4_C_DEN_XL_EN BIT(7)
172 #define LSM6DSL_SHIFT_CTRL4_C_DEN_XL_EN 7
173 #define LSM6DSL_MASK_CTRL4_C_SLEEP BIT(6)
174 #define LSM6DSL_SHIFT_CTRL4_C_SLEEP 6
187 #define LSM6DSL_MASK_CTRL5_C_ROUNDING (BIT(7) | BIT(6) | \
198 #define LSM6DSL_MASK_CTRL6_C_TRIG_EN BIT(7)
199 #define LSM6DSL_SHIFT_CTRL6_C_TRIG_EN 7
200 #define LSM6DSL_MASK_CTRL6_C_LVL_EN BIT(6)
201 #define LSM6DSL_SHIFT_CTRL6_C_LVL_EN 6
212 #define LSM6DSL_MASK_CTRL7_G_HM_MODE BIT(7)
213 #define LSM6DSL_SHIFT_CTRL7_G_HM_MODE 7
214 #define LSM6DSL_MASK_CTRL7_HP_EN_G BIT(6)
215 #define LSM6DSL_SHIFT_CTRL7_HP_EN_G 6
222 #define LSM6DSL_MASK_CTRL8_LPF2_XL_EN BIT(7)
223 #define LSM6DSL_SHIFT_CTRL8_LPF2_XL_EN 7
224 #define LSM6DSL_MASK_CTRL8_HPCF_XL (BIT(6) | BIT(5))
236 #define LSM6DSL_MASK_CTRL9_XL_DEN_X BIT(7)
237 #define LSM6DSL_SHIFT_CTRL9_XL_DEN_X 7
238 #define LSM6DSL_MASK_CTRL9_XL_DEN_Y BIT(6)
239 #define LSM6DSL_SHIFT_CTRL9_XL_DEN_Y 6
248 #define LSM6DSL_MASK_CTRL10_C_WRIST_TILT_EN BIT(7)
249 #define LSM6DSL_SHIFT_CTRL10_C_WRIST_TILT_EN 7
264 #define LSM6DSL_MASK_MASTER_CONFIG_DRDY_ON_INT1 BIT(7)
265 #define LSM6DSL_SHIFT_MASTER_CONFIG_DRDY_ON_INT1 7
266 #define LSM6DSL_MASK_MASTER_CONFIG_DATA_VALID_SEL_FIFO BIT(6)
267 #define LSM6DSL_SHIFT_MASTER_CONFIG_DATA_VALID_SEL_FIFO 6
294 #define LSM6DSL_MASK_TAP_SRC_TAP_IA BIT(6)
295 #define LSM6DSL_SHIFT_TAP_SRC_TAP_IA 6
310 #define LSM6DSL_MASK_D6D_SRC_DEN_DRDY BIT(7)
311 #define LSM6DSL_SHIFT_D6D_SRC_DEN_DRDY 7
312 #define LSM6DSL_MASK_D6D_SRC_D6D_IA BIT(6)
313 #define LSM6DSL_SHIFT_D6D_SRC_D6D_IA 6
364 #define LSM6DSL_MASK_FIFO_STATUS2_WATERM BIT(7)
365 #define LSM6DSL_SHIFT_FIFO_STATUS2_WATERM 7
366 #define LSM6DSL_MASK_FIFO_STATUS2_OVER_RUN BIT(6)
367 #define LSM6DSL_SHIFT_FIFO_STATUS2_OVER_RUN 6
401 #define LSM6DSL_MASK_FUNC_SRC1_STEP_COUNT_DELTA_IA BIT(7)
402 #define LSM6DSL_SHIFT_FUNC_SRC1_STEP_COUNT_DELTA_IA 7
403 #define LSM6DSL_MASK_FUNC_SRC1_SIGN_MOTION_IA BIT(6)
404 #define LSM6DSL_SHIFT_FUNC_SRC1_SIGN_MOTION_IA 6
419 #define LSM6DSL_MASK_FUNC_SRC2_SLAVE3_NACK BIT(6)
420 #define LSM6DSL_SHIFT_FUNC_SRC2_SLAVE3_NACK 6
431 #define LSM6DSL_MASK_WRIST_TILT_IA_XPOS BIT(7)
432 #define LSM6DSL_SHIFT_WRIST_TILT_IA_XPOS 7
433 #define LSM6DSL_MASK_WRIST_TILT_IA_XNEG BIT(6)
434 #define LSM6DSL_SHIFT_WRIST_TILT_IA_XNEG 6
445 #define LSM6DSL_MASK_TAP_CFG_INTERRPUTS_ENABLE BIT(7)
446 #define LSM6DSL_SHIFT_TAP_CFG_INTERRPUTS_ENABLE 7
447 #define LSM6DSL_MASK_TAP_CFG_INACT_EN (BIT(6) | BIT(5))
461 #define LSM6DSL_MASK_TAP_THS_6D_D4D_EN BIT(7)
462 #define LSM6DSL_SHIFT_TAP_THS_6D_D4D_EN 7
463 #define LSM6DSL_MASK_TAP_THS_6D_SIXD_THS (BIT(6) | BIT(5))
471 #define LSM6DSL_MASK_INT_DUR2_DUR (BIT(7) | BIT(6) | \
480 #define LSM6DSL_MASK_WAKE_UP_THS_SINGLE_DOUBLE_TAP BIT(7)
481 #define LSM6DSL_SHIFT_WAKE_UP_THS_SINGLE_DOUBLE_TAP 7
488 #define LSM6DSL_MASK_WAKE_UP_DUR_FF_DUR5 BIT(7)
489 #define LSM6DSL_SHIFT_WAKE_UP_DUR_FF_DUR5 7
490 #define LSM6DSL_MASK_WAKE_UP_DUR_WAKE_DUR (BIT(6) | BIT(5))
499 #define LSM6DSL_MASK_FREE_FALL_DUR (BIT(7) | BIT(6) | \
508 #define LSM6DSL_MASK_MD1_CFG_INT1_INACT_STATE BIT(7)
509 #define LSM6DSL_SHIFT_MD1_CFG_INT1_INACT_STATE 7
510 #define LSM6DSL_MASK_MD1_CFG_INT1_SINGLE_TAP BIT(6)
511 #define LSM6DSL_SHIFT_MD1_CFG_INT1_SINGLE_TAP 6
526 #define LSM6DSL_MASK_MD2_CFG_INT2_INACT_STATE BIT(7)
527 #define LSM6DSL_SHIFT_MD2_CFG_INT2_INACT_STATE 7
528 #define LSM6DSL_MASK_MD2_CFG_INT2_SINGLE_TAP BIT(6)
529 #define LSM6DSL_SHIFT_MD2_CFG_INT2_SINGLE_TAP 6