7#ifndef _ICM_20948_DMP_H_
8#define _ICM_20948_DMP_H_
17#define DMP_START_ADDRESS ((unsigned short)0x1000)
18#define DMP_MEM_BANK_SIZE 256
19#define DMP_LOAD_START 0x90
21#define CFG_FIFO_SIZE (4222)
24#define BIT_WAKE_ON_MOTION_INT 0x08
25#define BIT_MSG_DMP_INT 0x0002
26#define BIT_MSG_DMP_INT_0 0x0100
28#define BIT_MSG_DMP_INT_2 0x0200
29#define BIT_MSG_DMP_INT_3 0x0400
31#define BIT_MSG_DMP_INT_4 0x1000
32#define BIT_MSG_DMP_INT_5 0x2000
33#define BIT_MSG_DMP_INT_6 0x4000
38#define DATA_OUT_CTL1 (4 * 16)
39#define DATA_OUT_CTL2 (4 * 16 + 2)
40#define DATA_INTR_CTL (4 * 16 + 12)
41#define FIFO_WATERMARK (31 * 16 + 14)
44#define MOTION_EVENT_CTL (4 * 16 + 14)
50#define DATA_RDY_STATUS (8 * 16 + 10)
53#define BM_BATCH_CNTR (27 * 16)
54#define BM_BATCH_THLD (19 * 16 + 12)
55#define BM_BATCH_MASK (21 * 16 + 14)
58#define ODR_ACCEL (11 * 16 + 14)
59#define ODR_GYRO (11 * 16 + 10)
60#define ODR_CPASS (11 * 16 + 6)
61#define ODR_ALS (11 * 16 + 2)
62#define ODR_QUAT6 (10 * 16 + 12)
63#define ODR_QUAT9 (10 * 16 + 8)
64#define ODR_PQUAT6 (10 * 16 + 4)
65#define ODR_GEOMAG (10 * 16 + 0)
66#define ODR_PRESSURE (11 * 16 + 12)
67#define ODR_GYRO_CALIBR (11 * 16 + 8)
68#define ODR_CPASS_CALIBR (11 * 16 + 4)
71#define ODR_CNTR_ACCEL (9 * 16 + 14)
72#define ODR_CNTR_GYRO (9 * 16 + 10)
73#define ODR_CNTR_CPASS (9 * 16 + 6)
74#define ODR_CNTR_ALS (9 * 16 + 2)
75#define ODR_CNTR_QUAT6 (8 * 16 + 12)
76#define ODR_CNTR_QUAT9 (8 * 16 + 8)
77#define ODR_CNTR_PQUAT6 (8 * 16 + 4)
78#define ODR_CNTR_GEOMAG (8 * 16 + 0)
79#define ODR_CNTR_PRESSURE (9 * 16 + 12)
80#define ODR_CNTR_GYRO_CALIBR (9 * 16 + 8)
81#define ODR_CNTR_CPASS_CALIBR (9 * 16 + 4)
84#define CPASS_MTX_00 (23 * 16)
85#define CPASS_MTX_01 (23 * 16 + 4)
86#define CPASS_MTX_02 (23 * 16 + 8)
87#define CPASS_MTX_10 (23 * 16 + 12)
88#define CPASS_MTX_11 (24 * 16)
89#define CPASS_MTX_12 (24 * 16 + 4)
90#define CPASS_MTX_20 (24 * 16 + 8)
91#define CPASS_MTX_21 (24 * 16 + 12)
92#define CPASS_MTX_22 (25 * 16)
97#define GYRO_BIAS_X (139 * 16 + 4)
98#define GYRO_BIAS_Y (139 * 16 + 8)
99#define GYRO_BIAS_Z (139 * 16 + 12)
100#define ACCEL_BIAS_X (110 * 16 + 4)
101#define ACCEL_BIAS_Y (110 * 16 + 8)
102#define ACCEL_BIAS_Z (110 * 16 + 12)
103#define CPASS_BIAS_X (126 * 16 + 4)
104#define CPASS_BIAS_Y (126 * 16 + 8)
105#define CPASS_BIAS_Z (126 * 16 + 12)
107#define GYRO_ACCURACY (138 * 16 + 2)
108#define GYRO_BIAS_SET (138 * 16 + 6)
109#define GYRO_LAST_TEMPR (134 * 16)
110#define GYRO_SLOPE_X (78 * 16 + 4)
111#define GYRO_SLOPE_Y (78 * 16 + 8)
112#define GYRO_SLOPE_Z (78 * 16 + 12)
115#define ACCEL_ACCURACY (97 * 16)
116#define ACCEL_CAL_RESET (77 * 16)
117#define ACCEL_VARIANCE_THRESH (93 * 16)
118#define ACCEL_CAL_RATE (94 * 16 + 4)
119#define ACCEL_PRE_SENSOR_DATA (97 * 16 + 4)
120#define ACCEL_COVARIANCE (101 * 16 + 8)
121#define ACCEL_ALPHA_VAR (91 * 16)
122#define ACCEL_A_VAR (92 * 16)
123#define ACCEL_CAL_INIT (94 * 16 + 2)
124#define ACCEL_CAL_SCALE_COVQ_IN_RANGE (194 * 16)
125#define ACCEL_CAL_SCALE_COVQ_OUT_RANGE (195 * 16)
126#define ACCEL_CAL_TEMPERATURE_SENSITIVITY (194 * 16 + 4)
127#define ACCEL_CAL_TEMPERATURE_OFFSET_TRIM (194 * 16 + 12)
129#define CPASS_ACCURACY (37 * 16)
130#define CPASS_BIAS_SET (34 * 16 + 14)
131#define MAR_MODE (37 * 16 + 2)
132#define CPASS_COVARIANCE (115 * 16)
133#define CPASS_COVARIANCE_CUR (118 * 16 + 8)
134#define CPASS_REF_MAG_3D (122 * 16)
135#define CPASS_CAL_INIT (114 * 16)
136#define CPASS_EST_FIRST_BIAS (113 * 16)
137#define MAG_DISTURB_STATE (113 * 16 + 2)
138#define CPASS_VAR_COUNT (112 * 16 + 6)
139#define CPASS_COUNT_7 (87 * 16 + 2)
140#define CPASS_MAX_INNO (124 * 16)
141#define CPASS_BIAS_OFFSET (113 * 16 + 4)
142#define CPASS_CUR_BIAS_OFFSET (114 * 16 + 4)
143#define CPASS_PRE_SENSOR_DATA (87 * 16 + 4)
146#define CPASS_TIME_BUFFER (112 * 16 + 14)
147#define CPASS_RADIUS_3D_THRESH_ANOMALY (112 * 16 + 8)
149#define CPASS_STATUS_CHK (25 * 16 + 12)
152#define ACCEL_FB_GAIN (34 * 16)
153#define ACCEL_ONLY_GAIN (16 * 16 + 12)
154#define GYRO_SF (19 * 16)
157#define MAGN_THR_9X (80 * 16)
158#define MAGN_LPF_THR_9X (80 * 16 + 8)
159#define QFB_THR_9X (80 * 16 + 12)
162#define DMPRATE_CNTR (18 * 16 + 4)
165#define PEDSTD_BP_B (49 * 16 + 12)
166#define PEDSTD_BP_A4 (52 * 16)
167#define PEDSTD_BP_A3 (52 * 16 + 4)
168#define PEDSTD_BP_A2 (52 * 16 + 8)
169#define PEDSTD_BP_A1 (52 * 16 + 12)
170#define PEDSTD_SB (50 * 16 + 8)
171#define PEDSTD_SB_TIME (50 * 16 + 12)
172#define PEDSTD_PEAKTHRSH (57 * 16 + 8)
173#define PEDSTD_TIML (50 * 16 + 10)
174#define PEDSTD_TIMH (50 * 16 + 14)
175#define PEDSTD_PEAK (57 * 16 + 4)
176#define PEDSTD_STEPCTR (54 * 16)
177#define PEDSTD_STEPCTR2 (58 * 16 + 8)
178#define PEDSTD_TIMECTR (60 * 16 + 4)
179#define PEDSTD_DECI (58 * 16)
180#define PEDSTD_SB2 (60 * 16 + 14)
181#define STPDET_TIMESTAMP (18 * 16 + 8)
182#define PEDSTEP_IND (19 * 16 + 4)
183#define PED_Y_RATIO (17 * 16 + 0)
186#define SMD_VAR_TH (141 * 16 + 12)
187#define SMD_VAR_TH_DRIVE (143 * 16 + 12)
188#define SMD_DRIVE_TIMER_TH (143 * 16 + 8)
189#define SMD_TILT_ANGLE_TH (179 * 16 + 12)
190#define BAC_SMD_ST_TH (179 * 16 + 8)
191#define BAC_ST_ALPHA4 (180 * 16 + 12)
192#define BAC_ST_ALPHA4A (176 * 16 + 12)
195#define WOM_ENABLE (64 * 16 + 14)
196#define WOM_STATUS (64 * 16 + 6)
197#define WOM_THRESHOLD_DMP (64 * 16)
198#define WOM_CNTR_TH (64 * 16 + 12)
201#define BAC_RATE (48 * 16 + 10)
202#define BAC_STATE (179 * 16 + 0)
203#define BAC_STATE_PREV (179 * 16 + 4)
204#define BAC_ACT_ON (182 * 16 + 0)
205#define BAC_ACT_OFF (183 * 16 + 0)
206#define BAC_STILL_S_F (177 * 16 + 0)
207#define BAC_RUN_S_F (177 * 16 + 4)
208#define BAC_DRIVE_S_F (178 * 16 + 0)
209#define BAC_WALK_S_F (178 * 16 + 4)
210#define BAC_SMD_S_F (178 * 16 + 8)
211#define BAC_BIKE_S_F (178 * 16 + 12)
212#define BAC_E1_SHORT (146 * 16 + 0)
213#define BAC_E2_SHORT (146 * 16 + 4)
214#define BAC_E3_SHORT (146 * 16 + 8)
215#define BAC_VAR_RUN (148 * 16 + 12)
216#define BAC_TILT_INIT (181 * 16 + 0)
217#define BAC_MAG_ON (225 * 16 + 0)
218#define BAC_PS_ON (74 * 16 + 0)
219#define BAC_BIKE_PREFERENCE (173 * 16 + 8)
220#define BAC_MAG_I2C_ADDR (229 * 16 + 8)
221#define BAC_PS_I2C_ADDR (75 * 16 + 4)
222#define BAC_DRIVE_CONFIDENCE (144 * 16 + 0)
223#define BAC_WALK_CONFIDENCE (144 * 16 + 4)
224#define BAC_SMD_CONFIDENCE (144 * 16 + 8)
225#define BAC_BIKE_CONFIDENCE (144 * 16 + 12)
226#define BAC_STILL_CONFIDENCE (145 * 16 + 0)
227#define BAC_RUN_CONFIDENCE (145 * 16 + 4)
228#define BAC_MODE_CNTR (150 * 16)
229#define BAC_STATE_T_PREV (185 * 16 + 4)
230#define BAC_ACT_T_ON (184 * 16 + 0)
231#define BAC_ACT_T_OFF (184 * 16 + 4)
232#define BAC_STATE_WRDBS_PREV (185 * 16 + 8)
233#define BAC_ACT_WRDBS_ON (184 * 16 + 8)
234#define BAC_ACT_WRDBS_OFF (184 * 16 + 12)
235#define BAC_ACT_ON_OFF (190 * 16 + 2)
236#define PREV_BAC_ACT_ON_OFF (188 * 16 + 2)
237#define BAC_CNTR (48 * 16 + 2)
240#define FP_VAR_ALPHA (245 * 16 + 8)
241#define FP_STILL_TH (246 * 16 + 4)
242#define FP_MID_STILL_TH (244 * 16 + 8)
243#define FP_NOT_STILL_TH (246 * 16 + 8)
244#define FP_VIB_REJ_TH (241 * 16 + 8)
245#define FP_MAX_PICKUP_T_TH (244 * 16 + 12)
246#define FP_PICKUP_TIMEOUT_TH (248 * 16 + 8)
247#define FP_STILL_CONST_TH (246 * 16 + 12)
248#define FP_MOTION_CONST_TH (240 * 16 + 8)
249#define FP_VIB_COUNT_TH (242 * 16 + 8)
250#define FP_STEADY_TILT_TH (247 * 16 + 8)
251#define FP_STEADY_TILT_UP_TH (242 * 16 + 12)
252#define FP_Z_FLAT_TH_MINUS (243 * 16 + 8)
253#define FP_Z_FLAT_TH_PLUS (243 * 16 + 12)
254#define FP_DEV_IN_POCKET_TH (76 * 16 + 12)
255#define FP_PICKUP_CNTR (247 * 16 + 4)
256#define FP_RATE (240 * 16 + 12)
259#define GYRO_FULLSCALE (72 * 16 + 12)
264#define ACC_SCALE (30 * 16 + 0)
265#define ACC_SCALE2 (79 * 16 + 4)
268#define EIS_AUTH_INPUT (160 * 16 + 4)
269#define EIS_AUTH_OUTPUT (160 * 16 + 0)
272#define B2S_RATE (48 * 16 + 8)
275#define B2S_MTX_00 (208 * 16)
276#define B2S_MTX_01 (208 * 16 + 4)
277#define B2S_MTX_02 (208 * 16 + 8)
278#define B2S_MTX_10 (208 * 16 + 12)
279#define B2S_MTX_11 (209 * 16)
280#define B2S_MTX_12 (209 * 16 + 4)
281#define B2S_MTX_20 (209 * 16 + 8)
282#define B2S_MTX_21 (209 * 16 + 12)
283#define B2S_MTX_22 (210 * 16)
286#define Q0_QUAT6 (33 * 16 + 0)
287#define Q1_QUAT6 (33 * 16 + 4)
288#define Q2_QUAT6 (33 * 16 + 8)
289#define Q3_QUAT6 (33 * 16 + 12)
394#define INV_NEEDS_ACCEL_MASK ((1L << 1) | (1L << 3) | (1L << 9) | (1L << 10) | (1L << 11) | (1L << 15) | (1L << 17) | (1L << 18) | (1L << 19) | (1L << 20) | (1L << 23) | (1L << 25) | (1L << 29) | (1L << 30) | (1L << 31))
395#define INV_NEEDS_GYRO_MASK ((1L << 3) | (1L << 4) | (1L << 9) | (1L << 10) | (1L << 11) | (1L << 15) | (1L << 16) | (1L << 25) | (1L << 26) | (1L << 29) | (1L << 30) | (1L << 31))
396#define INV_NEEDS_COMPASS_MASK ((1L << 2) | (1L << 3) | (1L << 11) | (1L << 14) | (1L << 20) | (1L << 24) | (1L << 25) | (1L << 31))
397#define INV_NEEDS_PRESSURE ((1L << 6) | (1L << 28))
400#define INV_NEEDS_ACCEL_MASK1 ((1L << 3) | (1L << 5) | (1L << 6) | (1L << 7) | (1L << 9) | (1L << 10))
401#define INV_NEEDS_GYRO_MASK1 ((1L << 3) | (1L << 4) | (1L << 11))
402#define INV_NEEDS_COMPASS_MASK1 ((1L << 2) | (1L << 7))
511#define icm_20948_DMP_Header_Bytes 2
512#define icm_20948_DMP_Header2_Bytes 2
513#define icm_20948_DMP_Raw_Accel_Bytes 6
514#define icm_20948_DMP_Raw_Gyro_Bytes 6
515#define icm_20948_DMP_Gyro_Bias_Bytes 6
516#define icm_20948_DMP_Compass_Bytes 6
517#define icm_20948_DMP_ALS_Bytes 8
518#define icm_20948_DMP_Quat6_Bytes 12
519#define icm_20948_DMP_Quat9_Bytes 14
521#define icm_20948_DMP_PQuat6_Bytes 6
522#define icm_20948_DMP_Geomag_Bytes 14
523#define icm_20948_DMP_Pressure_Bytes 6
524#define icm_20948_DMP_Gyro_Calibr_Bytes 12
525#define icm_20948_DMP_Compass_Calibr_Bytes 12
526#define icm_20948_DMP_Step_Detector_Bytes 4
527#define icm_20948_DMP_Accel_Accuracy_Bytes 2
528#define icm_20948_DMP_Gyro_Accuracy_Bytes 2
529#define icm_20948_DMP_Compass_Accuracy_Bytes 2
530#define icm_20948_DMP_Fsync_Detection_Bytes 2
531#define icm_20948_DMP_Pickup_Bytes 2
532#define icm_20948_DMP_Activity_Recognition_Bytes 6
533#define icm_20948_DMP_Secondary_On_Off_Bytes 2
534#define icm_20948_DMP_Footer_Bytes 2
535#define icm_20948_DMP_Maximum_Bytes 14
672 } Activity_Recognition;
#define icm_20948_DMP_Gyro_Bias_Bytes
#define icm_20948_DMP_Secondary_On_Off_Bytes
DMP_Motion_Event_Control_Register_Bits
@ DMP_Motion_Event_Control_Pedometer_Interrupt
@ DMP_Motion_Event_Control_Significant_Motion_Det
@ DMP_Motion_Event_Control_Bring_Look_To_See
@ DMP_Motion_Event_Control_Compass_Calibr
@ DMP_Motion_Event_Control_BTS
@ DMP_Motion_Event_Control_Accel_Calibr
@ DMP_Motion_Event_Control_Gyro_Calibr
@ DMP_Motion_Event_Control_Pickup
@ DMP_Motion_Event_Control_Activity_Recog_Pedom_Accel
@ DMP_Motion_Event_Control_Tilt_Interrupt
@ DMP_Motion_Event_Control_BAC_Wearable
@ DMP_Motion_Event_Control_9axis
@ DMP_Motion_Event_Control_Geomag
@ DMP_Motion_Event_Control_Activity_Recog_Pedom
#define icm_20948_DMP_Compass_Bytes
DMP_Data_Output_Control_1_Register_Bits
@ DMP_Data_Output_Control_1_Step_Detector
@ DMP_Data_Output_Control_1_Header2
@ DMP_Data_Output_Control_1_Quat6
@ DMP_Data_Output_Control_1_PQuat6
@ DMP_Data_Output_Control_1_ALS
@ DMP_Data_Output_Control_1_Quat9
@ DMP_Data_Output_Control_1_Accel
@ DMP_Data_Output_Control_1_Pressure
@ DMP_Data_Output_Control_1_Compass_Calibr
@ DMP_Data_Output_Control_1_Gyro
@ DMP_Data_Output_Control_1_Compass
@ DMP_Data_Output_Control_1_Step_Ind_0
@ DMP_Data_Output_Control_1_Step_Ind_1
@ DMP_Data_Output_Control_1_Geomag
@ DMP_Data_Output_Control_1_Gyro_Calibr
@ DMP_Data_Output_Control_1_Step_Ind_2
@ DMP_header2_bitmap_Accel_Accuracy
@ DMP_header2_bitmap_Secondary_On_Off
@ DMP_header2_bitmap_Fsync
@ DMP_header2_bitmap_Pickup
@ DMP_header2_bitmap_Gyro_Accuracy
@ DMP_header2_bitmap_Compass_Accuracy
@ DMP_header2_bitmap_Activity_Recog
#define icm_20948_DMP_Quat6_Bytes
#define icm_20948_DMP_Compass_Calibr_Bytes
#define icm_20948_DMP_Raw_Accel_Bytes
@ DMP_header_bitmap_Header2
@ DMP_header_bitmap_Quat9
@ DMP_header_bitmap_Pressure
@ DMP_header_bitmap_Geomag
@ DMP_header_bitmap_Gyro_Calibr
@ DMP_header_bitmap_Step_Detector
@ DMP_header_bitmap_Quat6
@ DMP_header_bitmap_Accel
@ DMP_header_bitmap_Compass
@ DMP_header_bitmap_PQuat6
@ DMP_header_bitmap_Compass_Calibr
#define icm_20948_DMP_Quat9_Bytes
DMP_Data_Ready_Status_Register_Bits
@ DMP_Data_ready_Secondary_Compass
#define icm_20948_DMP_PQuat6_Bytes
@ ANDROID_SENSOR_GYROSCOPE
@ ANDROID_SENSOR_WAKEUP_MAGNETIC_FIELD
@ ANDROID_SENSOR_LINEAR_ACCELERATION
@ ANDROID_SENSOR_PRESSURE
@ ANDROID_SENSOR_WAKEUP_STEP_COUNTER
@ ANDROID_SENSOR_ACTIVITY_CLASSIFICATON
@ ANDROID_SENSOR_WAKEUP_LINEAR_ACCELERATION
@ ANDROID_SENSOR_GAME_ROTATION_VECTOR
@ ANDROID_SENSOR_WAKEUP_GRAVITY
@ ANDROID_SENSOR_WAKEUP_STEP_DETECTOR
@ ANDROID_SENSOR_WAKEUP_AMBIENT_TEMPERATURE
@ ANDROID_SENSOR_ROTATION_VECTOR
@ ANDROID_SENSOR_RAW_GYROSCOPE
@ ANDROID_SENSOR_META_DATA
@ ANDROID_SENSOR_MAGNETIC_FIELD_UNCALIBRATED
@ ANDROID_SENSOR_RAW_ACCELEROMETER
@ ANDROID_SENSOR_STEP_DETECTOR
@ ANDROID_SENSOR_GYROSCOPE_UNCALIBRATED
@ ANDROID_SENSOR_WAKEUP_PRESSURE
@ ANDROID_SENSOR_ORIENTATION
@ ANDROID_SENSOR_AMBIENT_TEMPERATURE
@ ANDROID_SENSOR_WAKEUP_GYROSCOPE
@ ANDROID_SENSOR_PROXIMITY
@ ANDROID_SENSOR_GEOMAGNETIC_FIELD
@ ANDROID_SENSOR_WAKEUP_ACCELEROMETER
@ ANDROID_SENSOR_WAKEUP_RELATIVE_HUMIDITY
@ ANDROID_SENSOR_HEART_RATE
@ ANDROID_SENSOR_WAKEUP_GEOMAGNETIC_ROTATION_VECTOR
@ ANDROID_SENSOR_GEOMAGNETIC_ROTATION_VECTOR
@ ANDROID_SENSOR_WAKEUP_GAME_ROTATION_VECTOR
@ ANDROID_SENSOR_WAKEUP_SIGNIFICANT_MOTION
@ ANDROID_SENSOR_HUMIDITY
@ ANDROID_SENSOR_WAKEUP_HEART_RATE
@ ANDROID_SENSOR_WAKEUP_ROTATION_VECTOR
@ ANDROID_SENSOR_WAKEUP_LIGHT
@ ANDROID_SENSOR_WAKEUP_PROXIMITY
@ ANDROID_SENSOR_ACCELEROMETER
@ ANDROID_SENSOR_STEP_COUNTER
@ ANDROID_SENSOR_FLIP_PICKUP
@ ANDROID_SENSOR_WAKEUP_MAGNETIC_FIELD_UNCALIBRATED
@ ANDROID_SENSOR_WAKEUP_TILT_DETECTOR
@ ANDROID_SENSOR_TEMPERATURE
@ ANDROID_SENSOR_WAKEUP_GYROSCOPE_UNCALIBRATED
@ ANDROID_SENSOR_WAKEUP_ORIENTATION
@ ANDROID_SENSOR_SCREEN_ROTATION
@ DMP_ODR_Reg_Cpass_Calibr
@ DMP_ODR_Reg_Gyro_Calibr
#define icm_20948_DMP_Gyro_Calibr_Bytes
#define icm_20948_DMP_ALS_Bytes
#define icm_20948_DMP_Geomag_Bytes
inv_icm20948_sensor
Sensor identifier for control function.
@ INV_ICM20948_SENSOR_FLIP_PICKUP
@ INV_ICM20948_SENSOR_ORIENTATION
@ INV_ICM20948_SENSOR_ACTIVITY_CLASSIFICATON
@ INV_ICM20948_SENSOR_RAW_MAGNETOMETER
@ INV_ICM20948_SENSOR_ACCELEROMETER
@ INV_ICM20948_SENSOR_STEP_COUNTER
@ INV_ICM20948_SENSOR_GEOMAGNETIC_ROTATION_VECTOR
@ INV_ICM20948_SENSOR_GRAVITY
@ INV_ICM20948_SENSOR_GYROSCOPE
@ INV_ICM20948_SENSOR_GYROSCOPE_UNCALIBRATED
@ INV_ICM20948_SENSOR_WAKEUP_TILT_DETECTOR
@ INV_ICM20948_SENSOR_WAKEUP_SIGNIFICANT_MOTION
@ INV_ICM20948_SENSOR_STEP_DETECTOR
@ INV_ICM20948_SENSOR_ROTATION_VECTOR
@ INV_ICM20948_SENSOR_RAW_ACCELEROMETER
@ INV_ICM20948_SENSOR_GEOMAGNETIC_FIELD
@ INV_ICM20948_SENSOR_RAW_GYROSCOPE
@ INV_ICM20948_SENSOR_GAME_ROTATION_VECTOR
@ INV_ICM20948_SENSOR_MAX
@ INV_ICM20948_SENSOR_B2S
@ INV_ICM20948_SENSOR_MAGNETIC_FIELD_UNCALIBRATED
@ INV_ICM20948_SENSOR_LINEAR_ACCELERATION
#define icm_20948_DMP_Raw_Gyro_Bytes
#define icm_20948_DMP_Activity_Recognition_Bytes
DMP_Data_Output_Control_2_Register_Bits
@ DMP_Data_Output_Control_2_Compass_Accuracy
@ DMP_Data_Output_Control_2_Accel_Accuracy
@ DMP_Data_Output_Control_2_Fsync_Detection
@ DMP_Data_Output_Control_2_Activity_Recognition_BAC
@ DMP_Data_Output_Control_2_Pickup
@ DMP_Data_Output_Control_2_Gyro_Accuracy
@ DMP_Data_Output_Control_2_Batch_Mode_Enable
@ DMP_Data_Output_Control_2_Secondary_On_Off
icm_20948_DMP_Activity_t State_Start
uint16_t Compass_Accuracy
icm_20948_DMP_Secondary_On_Off_t Sensors
uint16_t Fsync_Delay_Time
uint32_t Pedometer_Timestamp
icm_20948_DMP_Activity_t State_End