Lines Matching +full:40 +full:- +full:bit
4 * SPDX-License-Identifier: Apache-2.0
21 #define LIS3MDL_TEMP_EN_MASK BIT(7)
23 #define LIS3MDL_OM_MASK (BIT(6) | BIT(5))
25 #define LIS3MDL_MAG_DO_MASK (BIT(4) | BIT(3) | BIT(2))
27 #define LIS3MDL_FAST_ODR_MASK BIT(1)
29 #define LIS3MDL_ST_MASK BIT(0)
38 #define LIS3MDL_FS_MASK (BIT(6) | BIT(5))
40 #define LIS3MDL_REBOOT_MASK BIT(3)
42 #define LIS3MDL_SOFT_RST_MASK BIT(2)
45 #define LIS3MDL_FS_IDX ((CONFIG_LIS3MDL_FS / 4) - 1)
48 #if CONFIG_LIS3MDL_FS % 4 != 0 || LIS3MDL_FS_IDX < -1 || LIS3MDL_FS_IDX >= 4
53 #define LIS3MDL_LP_MASK BIT(5)
55 #define LIS3MDL_SIM_MASK BIT(2)
57 #define LIS3MDL_MD_MASK (BIT(1) | BIT(0))
66 #define LIS3MDL_OMZ_MASK (BIT(3) | BIT(2))
68 #define LIS3MDL_BLE_MASK BIT(1)
72 #define LIS3MDL_FAST_READ_MASK BIT(7)
74 #define LIS3MDL_BDU_MASK BIT(6)
82 #define LIS3MDL_INT_X_EN BIT(7)
83 #define LIS3MDL_INT_Y_EN BIT(6)
84 #define LIS3MDL_INT_Z_EN BIT(5)
90 "40", "80", "155", "300", "560", "1000"
100 LIS3MDL_ODR_BITS(0, 6, 0), /* 40 Hz */