Lines Matching +full:5 +full:- +full:6

1 /* sensor_lsm6dsl.h - header file for LSM6DSL accelerometer, gyroscope and
8 * SPDX-License-Identifier: Apache-2.0
31 #define LSM6DSL_MASK_FUNC_CFG_EN_B BIT(5)
32 #define LSM6DSL_SHIFT_FUNC_CFG_EN_B 5
44 #define LSM6DSL_MASK_FIFO_CTRL1_FTH (BIT(7) | BIT(6) | \
45 BIT(5) | BIT(4) | \
53 #define LSM6DSL_MASK_FIFO_CTRL2_TIMER_PEDO_FIFO_DRDY BIT(6)
54 #define LSM6DSL_SHIFT_FIFO_CTRL2_TIMER_PEDO_FIFO_DRDY 6
62 #define LSM6DSL_MASK_FIFO_CTRL3_DEC_FIFO_GYRO (BIT(5) | BIT(4) | \
72 #define LSM6DSL_MASK_FIFO_CTRL4_ONLY_HIGH_DATA BIT(6)
73 #define LSM6DSL_SHIFT_FIFO_CTRL4_ONLY_HIGH_DATA 6
74 #define LSM6DSL_MASK_FIFO_CTRL4_DEC_DS4_FIFO (BIT(5) | BIT(4) | \
82 #define LSM6DSL_MASK_FIFO_CTRL5_ODR_FIFO (BIT(6) | BIT(5) | \
98 #define LSM6DSL_MASK_INT1_CTRL_SIGN_MOT BIT(6)
99 #define LSM6DSL_SHIFT_INT1_CTRL_SIGN_MOT 6
100 #define LSM6DSL_MASK_INT1_CTRL_FULL_FLAG BIT(5)
101 #define LSM6DSL_SHIFT_INT1_CTRL_FULL_FLAG 5
116 #define LSM6DSL_MASK_INT2_CTRL_STEP_COUNT_OV BIT(6)
117 #define LSM6DSL_SHIFT_INT2_CTRL_STEP_COUNT_OV 6
118 #define LSM6DSL_MASK_INT2_CTRL_FULL_FLAG BIT(5)
119 #define LSM6DSL_SHIFT_INT2_CTRL_FULL_FLAG 5
135 #define LSM6DSL_MASK_CTRL1_XL_ODR_XL (BIT(7) | BIT(6) | \
136 BIT(5) | BIT(4))
144 #define LSM6DSL_MASK_CTRL2_G_ODR_G (BIT(7) | BIT(6) | \
145 BIT(5) | BIT(4))
155 #define LSM6DSL_MASK_CTRL3_C_BDU BIT(6)
156 #define LSM6DSL_SHIFT_CTRL3_C_BDU 6
157 #define LSM6DSL_MASK_CTRL3_C_H_LACTIVE BIT(5)
158 #define LSM6DSL_SHIFT_CTRL3_C_H_LACTIVE 5
173 #define LSM6DSL_MASK_CTRL4_C_SLEEP BIT(6)
174 #define LSM6DSL_SHIFT_CTRL4_C_SLEEP 6
175 #define LSM6DSL_MASK_CTRL4_C_INT2_ON_INT1 BIT(5)
176 #define LSM6DSL_SHIFT_CTRL4_C_INT2_ON_INT1 5
187 #define LSM6DSL_MASK_CTRL5_C_ROUNDING (BIT(7) | BIT(6) | \
188 BIT(5))
189 #define LSM6DSL_SHIFT_CTRL5_C_ROUNDING 5
200 #define LSM6DSL_MASK_CTRL6_C_LVL_EN BIT(6)
201 #define LSM6DSL_SHIFT_CTRL6_C_LVL_EN 6
202 #define LSM6DSL_MASK_CTRL6_C_LVL2_EN BIT(5)
203 #define LSM6DSL_SHIFT_CTRL6_C_LVL2_EN 5
214 #define LSM6DSL_MASK_CTRL7_HP_EN_G BIT(6)
215 #define LSM6DSL_SHIFT_CTRL7_HP_EN_G 6
216 #define LSM6DSL_MASK_CTRL7_HPM_G (BIT(5) | BIT(4))
224 #define LSM6DSL_MASK_CTRL8_HPCF_XL (BIT(6) | BIT(5))
225 #define LSM6DSL_SHIFT_CTRL8_HPCF_XL 5
238 #define LSM6DSL_MASK_CTRL9_XL_DEN_Y BIT(6)
239 #define LSM6DSL_SHIFT_CTRL9_XL_DEN_Y 6
240 #define LSM6DSL_MASK_CTRL9_XL_DEN_Z BIT(5)
241 #define LSM6DSL_SHIFT_CTRL9_XL_DEN_Z 5
250 #define LSM6DSL_MASK_CTRL10_C_TIMER_EN BIT(5)
251 #define LSM6DSL_SHIFT_CTRL10_C_TIMER_EN 5
266 #define LSM6DSL_MASK_MASTER_CONFIG_DATA_VALID_SEL_FIFO BIT(6)
267 #define LSM6DSL_SHIFT_MASTER_CONFIG_DATA_VALID_SEL_FIFO 6
280 #define LSM6DSL_MASK_WAKE_UP_SRC_FF_IA BIT(5)
281 #define LSM6DSL_SHIFT_WAKE_UP_SRC_FF_IA 5
294 #define LSM6DSL_MASK_TAP_SRC_TAP_IA BIT(6)
295 #define LSM6DSL_SHIFT_TAP_SRC_TAP_IA 6
296 #define LSM6DSL_MASK_TAP_SRC_SINGLE_TAP BIT(5)
297 #define LSM6DSL_SHIFT_TAP_SRC_SINGLE_TAP 5
312 #define LSM6DSL_MASK_D6D_SRC_D6D_IA BIT(6)
313 #define LSM6DSL_SHIFT_D6D_SRC_D6D_IA 6
314 #define LSM6DSL_MASK_D6D_SRC_ZH BIT(5)
315 #define LSM6DSL_SHIFT_D6D_SRC_ZH 5
366 #define LSM6DSL_MASK_FIFO_STATUS2_OVER_RUN BIT(6)
367 #define LSM6DSL_SHIFT_FIFO_STATUS2_OVER_RUN 6
368 #define LSM6DSL_MASK_FIFO_STATUS2_FIFO_FULL_SMART BIT(5)
369 #define LSM6DSL_SHIFT_FIFO_STATUS2_FIFO_FULL_SMART 5
403 #define LSM6DSL_MASK_FUNC_SRC1_SIGN_MOTION_IA BIT(6)
404 #define LSM6DSL_SHIFT_FUNC_SRC1_SIGN_MOTION_IA 6
405 #define LSM6DSL_MASK_FUNC_SRC1_TILT_IA BIT(5)
406 #define LSM6DSL_SHIFT_FUNC_SRC1_TILT_IA 5
419 #define LSM6DSL_MASK_FUNC_SRC2_SLAVE3_NACK BIT(6)
420 #define LSM6DSL_SHIFT_FUNC_SRC2_SLAVE3_NACK 6
421 #define LSM6DSL_MASK_FUNC_SRC2_SLAVE2_NACK BIT(5)
422 #define LSM6DSL_SHIFT_FUNC_SRC2_SLAVE2_NACK 5
433 #define LSM6DSL_MASK_WRIST_TILT_IA_XNEG BIT(6)
434 #define LSM6DSL_SHIFT_WRIST_TILT_IA_XNEG 6
435 #define LSM6DSL_MASK_WRIST_TILT_IA_YPOS BIT(5)
436 #define LSM6DSL_SHIFT_WRIST_TILT_IA_YPOS 5
447 #define LSM6DSL_MASK_TAP_CFG_INACT_EN (BIT(6) | BIT(5))
448 #define LSM6DSL_SHIFT_TAP_CFG_INACT_EN 5
463 #define LSM6DSL_MASK_TAP_THS_6D_SIXD_THS (BIT(6) | BIT(5))
464 #define LSM6DSL_SHIFT_TAP_THS_6D_SIXD_THS 5
471 #define LSM6DSL_MASK_INT_DUR2_DUR (BIT(7) | BIT(6) | \
472 BIT(5) | BIT(4))
482 #define LSM6DSL_MASK_WAKE_UP_THS_WK_THS (BIT(5) | BIT(4) | \
490 #define LSM6DSL_MASK_WAKE_UP_DUR_WAKE_DUR (BIT(6) | BIT(5))
491 #define LSM6DSL_SHIFT_WAKE_UP_DUAR_WAKE_DUR 5
499 #define LSM6DSL_MASK_FREE_FALL_DUR (BIT(7) | BIT(6) | \
500 BIT(5) | BIT(4) | \
510 #define LSM6DSL_MASK_MD1_CFG_INT1_SINGLE_TAP BIT(6)
511 #define LSM6DSL_SHIFT_MD1_CFG_INT1_SINGLE_TAP 6
512 #define LSM6DSL_MASK_MD1_CFG_INT1_WU BIT(5)
513 #define LSM6DSL_SHIFT_MD1_CFG_INT1_WU 5
528 #define LSM6DSL_MASK_MD2_CFG_INT2_SINGLE_TAP BIT(6)
529 #define LSM6DSL_SHIFT_MD2_CFG_INT2_SINGLE_TAP 6
530 #define LSM6DSL_MASK_MD2_CFG_INT2_WU BIT(5)
531 #define LSM6DSL_SHIFT_MD2_CFG_INT2_WU 5