Lines Matching refs:BIT
26 #define LPS25HB_MASK_RES_CONF_AVGT (BIT(3) | BIT(2))
28 #define LPS25HB_MASK_RES_CONF_AVGP (BIT(1) | BIT(0))
32 #define LPS25HB_MASK_CTRL_REG1_PD BIT(7)
34 #define LPS25HB_MASK_CTRL_REG1_ODR (BIT(6) | BIT(5) | BIT(4))
36 #define LPS25HB_MASK_CTRL_REG1_DIFF_EN BIT(3)
38 #define LPS25HB_MASK_CTRL_REG1_BDU BIT(2)
40 #define LPS25HB_MASK_CTRL_REG1_RESET_AZ BIT(1)
42 #define LPS25HB_MASK_CTRL_REG1_SIM BIT(0)
46 #define LPS25HB_MASK_CTRL_REG2_BOOT BIT(7)
48 #define LPS25HB_MASK_CTRL_REG2_FIFO_EN BIT(6)
50 #define LPS25HB_MASK_CTRL_REG2_STOP_ON_FTH BIT(5)
52 #define LPS25HB_MASK_CTRL_REG2_FIFO_MEAN_DEC BIT(4)
54 #define LPS25HB_MASK_CTRL_REG2_I2C_EN BIT(3)
56 #define LPS25HB_MASK_CTRL_REG2_SWRESET BIT(2)
58 #define LPS25HB_MASK_CTRL_REG2_AUTOZERO BIT(1)
60 #define LPS25HB_MASK_CTRL_REG2_ONE_SHOT BIT(0)
64 #define LPS25HB_MASK_CTRL_REG3_INT_H_L BIT(7)
66 #define LPS25HB_MASK_CTRL_REG3_PP_OD BIT(6)
68 #define LPS25HB_MASK_CTRL_REG3_INT_S (BIT(1) | BIT(0))
72 #define LPS25HB_MASK_CTRL_REG4_F_EMPTY BIT(3)
74 #define LPS25HB_MASK_CTRL_REG4_F_FTH BIT(2)
76 #define LPS25HB_MASK_CTRL_REG4_F_OVR BIT(1)
78 #define LPS25HB_MASK_CTRL_REG4_DRDY BIT(0)
82 #define LPS25HB_MASK_INTERRUPT_CFG_LIR BIT(2)
84 #define LPS25HB_MASK_INTERRUPT_CFG_PL_E BIT(1)
86 #define LPS25HB_MASK_INTERRUPT_CFG_PH_E BIT(0)
90 #define LPS25HB_MASK_INT_SOURCE_IA BIT(2)
92 #define LPS25HB_MASK_INT_SOURCE_PL BIT(1)
94 #define LPS25HB_MASK_INT_SOURCE_PH BIT(0)
98 #define LPS25HB_MASK_STATUS_REG_P_OR BIT(5)
100 #define LPS25HB_MASK_STATUS_REG_T_OR BIT(4)
102 #define LPS25HB_MASK_STATUS_REG_P_DA BIT(1)
104 #define LPS25HB_MASK_STATUS_REG_T_DA BIT(0)
115 #define LPS25HB_MASK_FIFO_CTRL_F_MODE (BIT(7) | BIT(6) | BIT(5))
117 #define LPS25HB_MASK_FIFO_CTRL_WTM_POINT (BIT(4) | BIT(3) | BIT(2) | \
118 BIT(2) | BIT(1) | BIT(0))
122 #define LPS25HB_MASK_FIFO_STATUS_FTH_FIFO BIT(7)
124 #define LPS25HB_MASK_FIFO_STATUS_OVR BIT(6)
126 #define LPS25HB_MASK_FIFO_STATUS_EMPTY_FIFO BIT(5)
128 #define LPS25HB_MASK_FIFO_STATUS_FSS (BIT(4) | BIT(3) | BIT(2) | \
129 BIT(1) | BIT(0))