Lines Matching +full:7 +full:- +full:bit

5  * SPDX-License-Identifier: Apache-2.0
113 /* Indicates a read operation; bit 7 is clear on write s*/
114 #define BMI160_REG_READ BIT(7)
120 #define BMI160_ERR_FATAL BIT(0)
121 #define BMI160_ERR_CODE BIT(1)
123 #define BMI160_ERR_I2C_FAIL BIT(5)
124 #define BMI160_ERR_DROP_CMD BIT(6)
125 #define BMI160_ERR_MAG_DRDY BIT(7)
141 #define BMI160_STATUS_GYR_SELFTEST BIT(1)
142 #define BMI160_STATUS_MAG_MAN_OP BIT(2)
143 #define BMI160_STATUS_FOC_RDY BIT(3)
144 #define BMI160_STATUS_NVM_RDY BIT(4)
145 #define BMI160_STATUS_MAG_DRDY BIT(5)
146 #define BMI160_STATUS_GYR_DRDY BIT(6)
147 #define BMI160_STATUS_ACC_DRDY BIT(7)
150 #define BMI160_INT_STATUS0_STEP BIT(0)
151 #define BMI160_INT_STATUS0_SIGMOT BIT(1)
152 #define BMI160_INT_STATUS0_ANYM BIT(2)
153 #define BMI160_INT_STATUS0_PMU_TRIG BIT(3)
154 #define BMI160_INT_STATUS0_D_TAP BIT(4)
155 #define BMI160_INT_STATUS0_S_TAP BIT(5)
156 #define BMI160_INT_STATUS0_ORIENT BIT(6)
157 #define BMI160_INT_STATUS0_FLAT BIT(7)
160 #define BMI160_INT_STATUS1_HIGHG BIT(2)
161 #define BMI160_INT_STATUS1_LOWG BIT(3)
162 #define BMI160_INT_STATUS1_DRDY BIT(4)
163 #define BMI160_INT_STATUS1_FFULL BIT(5)
164 #define BMI160_INT_STATUS1_FWM BIT(6)
165 #define BMI160_INT_STATUS1_NOMO BIT(7)
168 #define BMI160_INT_STATUS2_ANYM_FIRST_X BIT(0)
169 #define BMI160_INT_STATUS2_ANYM_FIRST_Y BIT(1)
170 #define BMI160_INT_STATUS2_ANYM_FIRST_Z BIT(2)
171 #define BMI160_INT_STATUS2_ANYM_SIGN BIT(3)
172 #define BMI160_INT_STATUS2_TAP_FIRST_X BIT(4)
173 #define BMI160_INT_STATUS2_TAP_FIRST_Y BIT(5)
174 #define BMI160_INT_STATUS2_TAP_FIRST_Z BIT(6)
175 #define BMI160_INT_STATUS2_TAP_SIGN BIT(7)
178 #define BMI160_INT_STATUS3_HIGH_FIRST_X BIT(0)
179 #define BMI160_INT_STATUS3_HIGH_FIRST_Y BIT(1)
180 #define BMI160_INT_STATUS3_HIGH_FIRST_Z BIT(2)
181 #define BMI160_INT_STATUS3_HIGH_SIGN BIT(3)
182 #define BMI160_INT_STATUS3_ORIENT_1_0 BIT(4)
183 #define BMI160_INT_STATUS3_ORIENT_2 BIT(6)
184 #define BMI160_INT_STATUS3_FLAT BIT(7)
191 #define BMI160_ACC_CONF_US_POS 7
192 #define BMI160_ACC_CONF_US_MASK BIT(7)
201 #define BMI160_GYR_OFS_EN_POS 7
204 #define BMI160_GYR_MSB_OFS_Z_MASK (BIT(4) | BIT(5))
206 #define BMI160_GYR_MSB_OFS_Y_MASK (BIT(2) | BIT(3))
208 #define BMI160_GYR_MSB_OFS_X_MASK (BIT(0) | BIT(1))
233 #define BMI160_INT_FLAT_EN BIT(7)
234 #define BMI160_INT_ORIENT_EN BIT(6)
235 #define BMI160_INT_S_TAP_EN BIT(5)
236 #define BMI160_INT_D_TAP_EN BIT(4)
237 #define BMI160_INT_ANYM_Z_EN BIT(2)
238 #define BMI160_INT_ANYM_Y_EN BIT(1)
239 #define BMI160_INT_ANYM_X_EN BIT(0)
240 #define BMI160_INT_ANYM_MASK (BIT(0) | BIT(1) | BIT(2))
243 #define BMI160_INT_FWM_EN BIT(6)
244 #define BMI160_INT_FFULL_EN BIT(5)
245 #define BMI160_INT_DRDY_EN BIT(4)
246 #define BMI160_INT_LOWG_EN BIT(3)
247 #define BMI160_INT_HIGHG_Z_EN BIT(2)
248 #define BMI160_INT_HIGHG_Y_EN BIT(1)
249 #define BMI160_INT_HIGHG_X_EN BIT(0)
250 #define BMI160_INT_HIGHG_MASK (BIT(0) | BIT(1) | BIT(2))
253 #define BMI160_INT_STEP_DET_EN BIT(3)
254 #define BMI160_INT_STEP_NOMO_Z_EN BIT(2)
255 #define BMI160_INT_STEP_NOMO_Y_EN BIT(1)
256 #define BMI160_INT_STEP_NOMO_X_EN BIT(0)
257 #define BMI160_INT_STEP_NOMO_MASK (BIT(0) | BIT(1) | BIT(2))
260 #define BMI160_INT2_OUT_EN BIT(7)
261 #define BMI160_INT2_OD BIT(6)
262 #define BMI160_INT2_LVL BIT(5)
263 #define BMI160_INT2_EDGE_CTRL BIT(4)
264 #define BMI160_INT1_OUT_EN BIT(3)
265 #define BMI160_INT1_OD BIT(2)
266 #define BMI160_INT1_LVL BIT(1)
267 #define BMI160_INT1_EDGE_CTRL BIT(0)
375 # define BMI160_DEFAULT_ODR_ACC 7
392 # define BMI160_DEFAULT_ODR_GYR 7
465 # define BMI160_DATA_READY_BIT_MASK (1 << 7)