Lines Matching refs:BIT
22 #define LPS22HB_MASK_INTERRUPT_CFG_AUTORIFP BIT(7)
24 #define LPS22HB_MASK_INTERRUPT_CFG_RESET_ARP BIT(6)
26 #define LPS22HB_MASK_INTERRUPT_CFG_AUTOZERO BIT(5)
28 #define LPS22HB_MASK_INTERRUPT_CFG_RESET_AZ BIT(4)
30 #define LPS22HB_MASK_INTERRUPT_CFG_DIFF_EN BIT(3)
32 #define LPS22HB_MASK_INTERRUPT_CFG_LIR BIT(2)
34 #define LPS22HB_MASK_INTERRUPT_CFG_PL_E BIT(1)
36 #define LPS22HB_MASK_INTERRUPT_CFG_PH_E BIT(0)
43 #define LPS22HB_MASK_CTRL_REG1_ODR (BIT(6) | BIT(5) | BIT(4))
45 #define LPS22HB_MASK_CTRL_REG1_EN_LPFP BIT(3)
47 #define LPS22HB_MASK_CTRL_REG1_LPFP_CFG BIT(2)
49 #define LPS22HB_MASK_CTRL_REG1_BDU BIT(1)
51 #define LPS22HB_MASK_CTRL_REG1_SIM BIT(0)
55 #define LPS22HB_MASK_CTRL_REG2_BOOT BIT(7)
57 #define LPS22HB_MASK_CTRL_REG2_FIFO_EN BIT(6)
59 #define LPS22HB_MASK_CTRL_REG2_STOP_ON_FTH BIT(5)
61 #define LPS22HB_MASK_CTRL_REG2_IF_ADD_INC BIT(4)
63 #define LPS22HB_MASK_CTRL_REG2_I2C_DIS BIT(3)
65 #define LPS22HB_MASK_CTRL_REG2_SWRESET BIT(2)
67 #define LPS22HB_MASK_CTRL_REG2_ONE_SHOT BIT(0)
71 #define LPS22HB_MASK_CTRL_REG3_INT_H_L BIT(7)
73 #define LPS22HB_MASK_CTRL_REG3_PP_OD BIT(6)
75 #define LPS22HB_MASK_CTRL_REG3_F_FSS5 BIT(5)
77 #define LPS22HB_MASK_CTRL_REG3_F_FTH BIT(4)
79 #define LPS22HB_MASK_CTRL_REG3_F_OVR BIT(3)
81 #define LPS22HB_MASK_CTRL_REG3_DRDY BIT(2)
83 #define LPS22HB_MASK_CTRL_REG3_INT_S (BIT(1) | BIT(0))
87 #define LPS22HB_MASK_FIFO_CTRL_F_MODE (BIT(7) | BIT(6) | BIT(5))
89 #define LPS22HB_MASK_FIFO_CTRL_WTM (BIT(4) | BIT(3) | BIT(2) | \
90 BIT(2) | BIT(1) | BIT(0))
101 #define LPS22HB_MASK_RES_CONF_LC_EN BIT(0)
105 #define LPS22HB_MASK_INT_SOURCE_IA BIT(2)
107 #define LPS22HB_MASK_INT_SOURCE_PL BIT(1)
109 #define LPS22HB_MASK_INT_SOURCE_PH BIT(0)
113 #define LPS22HB_MASK_FIFO_STATUS_FTH_FIFO BIT(7)
115 #define LPS22HB_MASK_FIFO_STATUS_OVR BIT(6)
117 #define LPS22HB_MASK_FIFO_STATUS_EMPTY_FIFO BIT(5)
119 #define LPS22HB_MASK_FIFO_STATUS_FSS (BIT(4) | BIT(3) | BIT(2) | \
120 BIT(1) | BIT(0))
124 #define LPS22HB_MASK_STATUS_P_OR BIT(5)
126 #define LPS22HB_MASK_STATUS_T_OR BIT(4)
128 #define LPS22HB_MASK_STATUS_P_DA BIT(1)
130 #define LPS22HB_MASK_STATUS_T_DA BIT(0)