Lines Matching +full:5 +full:x
62 #define ADXL362_STATUS_INACT (1 << 5)
70 #define ADXL362_ACT_INACT_CTL_LINKLOOP(x) (((x) & 0x3) << 4) argument
76 /* ADXL362_ACT_INACT_CTL_LINKLOOP(x) options */
84 #define ADXL362_FIFO_CTL_FIFO_MODE(x) (((x) & 0x3) << 0) argument
86 /* ADXL362_FIFO_CTL_FIFO_MODE(x) options */
95 #define ADXL362_INTMAP1_INACT (1 << 5)
105 #define ADXL362_INTMAP2_INACT (1 << 5)
113 #define ADXL362_FILTER_CTL_RANGE(x) (((x) & 0x3) << 6) argument
114 #define ADXL362_FILTER_CTL_RES (1 << 5)
117 #define ADXL362_FILTER_CTL_ODR(x) (((x) & 0x7) << 0) argument
119 /* ADXL362_FILTER_CTL_RANGE(x) options */
124 /* ADXL362_FILTER_CTL_ODR(x) options */
130 #define ADXL362_ODR_400_HZ 5 /* 400 Hz */
135 #define ADXL362_POWER_CTL_LOW_NOISE(x) (((x) & 0x3) << 4) argument
138 #define ADXL362_POWER_CTL_MEASURE(x) (((x) & 0x3) << 0) argument
140 /* ADXL362_POWER_CTL_LOW_NOISE(x) options */
145 /* ADXL362_POWER_CTL_MEASURE(x) options */
161 #define ADXL362_STATUS_CHECK_DATA_READY(x) (((x) >> 0) & 0x1) argument
162 #define ADXL362_STATUS_CHECK_INACT(x) (((x) >> 5) & 0x1) argument
163 #define ADXL362_STATUS_CHECK_ACTIVITY(x) (((x) >> 4) & 0x1) argument
164 #define ADXL362_STATUS_CHECK_FIFO_OVR(x) (((x) >> 3) & 0x1) argument
165 #define ADXL362_STATUS_CHECK_FIFO_WTR(x) (((x) >> 2) & 0x1) argument
178 #define ADXL362_FIFO_HDR_CHECK_ACCEL_X(x) ((((x) & 0xC000) >> 14) == 0x00) argument
179 #define ADXL362_FIFO_HDR_CHECK_ACCEL_Y(x) ((((x) & 0xC000) >> 14) == 0x01) argument
180 #define ADXL362_FIFO_HDR_CHECK_ACCEL_Z(x) ((((x) & 0xC000) >> 14) == 0x02) argument
181 #define ADXL362_FIFO_HDR_CHECK_TEMP(x) ((((x) & 0xC000) >> 14) == 0x03) argument