JeVois  1.22
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
Loading...
Searching...
No Matches
ICM_20948_DMP.h File Reference
#include <stdint.h>
Include dependency graph for ICM_20948_DMP.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  icm_20948_DMP_Activity_t
 
struct  icm_20948_DMP_Secondary_On_Off_t
 
struct  icm_20948_DMP_data_t
 

Macros

#define DMP_START_ADDRESS   ((unsigned short)0x1000)
 
#define DMP_MEM_BANK_SIZE   256
 
#define DMP_LOAD_START   0x90
 
#define CFG_FIFO_SIZE   (4222)
 
#define BIT_WAKE_ON_MOTION_INT   0x08
 
#define BIT_MSG_DMP_INT   0x0002
 
#define BIT_MSG_DMP_INT_0   0x0100
 
#define BIT_MSG_DMP_INT_2   0x0200
 
#define BIT_MSG_DMP_INT_3   0x0400
 
#define BIT_MSG_DMP_INT_4   0x1000
 
#define BIT_MSG_DMP_INT_5   0x2000
 
#define BIT_MSG_DMP_INT_6   0x4000
 
#define DATA_OUT_CTL1   (4 * 16)
 
#define DATA_OUT_CTL2   (4 * 16 + 2)
 
#define DATA_INTR_CTL   (4 * 16 + 12)
 
#define FIFO_WATERMARK   (31 * 16 + 14)
 
#define MOTION_EVENT_CTL   (4 * 16 + 14)
 
#define DATA_RDY_STATUS   (8 * 16 + 10)
 
#define BM_BATCH_CNTR   (27 * 16)
 
#define BM_BATCH_THLD   (19 * 16 + 12)
 
#define BM_BATCH_MASK   (21 * 16 + 14)
 
#define ODR_ACCEL   (11 * 16 + 14)
 
#define ODR_GYRO   (11 * 16 + 10)
 
#define ODR_CPASS   (11 * 16 + 6)
 
#define ODR_ALS   (11 * 16 + 2)
 
#define ODR_QUAT6   (10 * 16 + 12)
 
#define ODR_QUAT9   (10 * 16 + 8)
 
#define ODR_PQUAT6   (10 * 16 + 4)
 
#define ODR_GEOMAG   (10 * 16 + 0)
 
#define ODR_PRESSURE   (11 * 16 + 12)
 
#define ODR_GYRO_CALIBR   (11 * 16 + 8)
 
#define ODR_CPASS_CALIBR   (11 * 16 + 4)
 
#define ODR_CNTR_ACCEL   (9 * 16 + 14)
 
#define ODR_CNTR_GYRO   (9 * 16 + 10)
 
#define ODR_CNTR_CPASS   (9 * 16 + 6)
 
#define ODR_CNTR_ALS   (9 * 16 + 2)
 
#define ODR_CNTR_QUAT6   (8 * 16 + 12)
 
#define ODR_CNTR_QUAT9   (8 * 16 + 8)
 
#define ODR_CNTR_PQUAT6   (8 * 16 + 4)
 
#define ODR_CNTR_GEOMAG   (8 * 16 + 0)
 
#define ODR_CNTR_PRESSURE   (9 * 16 + 12)
 
#define ODR_CNTR_GYRO_CALIBR   (9 * 16 + 8)
 
#define ODR_CNTR_CPASS_CALIBR   (9 * 16 + 4)
 
#define CPASS_MTX_00   (23 * 16)
 
#define CPASS_MTX_01   (23 * 16 + 4)
 
#define CPASS_MTX_02   (23 * 16 + 8)
 
#define CPASS_MTX_10   (23 * 16 + 12)
 
#define CPASS_MTX_11   (24 * 16)
 
#define CPASS_MTX_12   (24 * 16 + 4)
 
#define CPASS_MTX_20   (24 * 16 + 8)
 
#define CPASS_MTX_21   (24 * 16 + 12)
 
#define CPASS_MTX_22   (25 * 16)
 
#define GYRO_BIAS_X   (139 * 16 + 4)
 
#define GYRO_BIAS_Y   (139 * 16 + 8)
 
#define GYRO_BIAS_Z   (139 * 16 + 12)
 
#define ACCEL_BIAS_X   (110 * 16 + 4)
 
#define ACCEL_BIAS_Y   (110 * 16 + 8)
 
#define ACCEL_BIAS_Z   (110 * 16 + 12)
 
#define CPASS_BIAS_X   (126 * 16 + 4)
 
#define CPASS_BIAS_Y   (126 * 16 + 8)
 
#define CPASS_BIAS_Z   (126 * 16 + 12)
 
#define GYRO_ACCURACY   (138 * 16 + 2)
 
#define GYRO_BIAS_SET   (138 * 16 + 6)
 
#define GYRO_LAST_TEMPR   (134 * 16)
 
#define GYRO_SLOPE_X   (78 * 16 + 4)
 
#define GYRO_SLOPE_Y   (78 * 16 + 8)
 
#define GYRO_SLOPE_Z   (78 * 16 + 12)
 
#define ACCEL_ACCURACY   (97 * 16)
 
#define ACCEL_CAL_RESET   (77 * 16)
 
#define ACCEL_VARIANCE_THRESH   (93 * 16)
 
#define ACCEL_CAL_RATE   (94 * 16 + 4)
 
#define ACCEL_PRE_SENSOR_DATA   (97 * 16 + 4)
 
#define ACCEL_COVARIANCE   (101 * 16 + 8)
 
#define ACCEL_ALPHA_VAR   (91 * 16)
 
#define ACCEL_A_VAR   (92 * 16)
 
#define ACCEL_CAL_INIT   (94 * 16 + 2)
 
#define ACCEL_CAL_SCALE_COVQ_IN_RANGE   (194 * 16)
 
#define ACCEL_CAL_SCALE_COVQ_OUT_RANGE   (195 * 16)
 
#define ACCEL_CAL_TEMPERATURE_SENSITIVITY   (194 * 16 + 4)
 
#define ACCEL_CAL_TEMPERATURE_OFFSET_TRIM   (194 * 16 + 12)
 
#define CPASS_ACCURACY   (37 * 16)
 
#define CPASS_BIAS_SET   (34 * 16 + 14)
 
#define MAR_MODE   (37 * 16 + 2)
 
#define CPASS_COVARIANCE   (115 * 16)
 
#define CPASS_COVARIANCE_CUR   (118 * 16 + 8)
 
#define CPASS_REF_MAG_3D   (122 * 16)
 
#define CPASS_CAL_INIT   (114 * 16)
 
#define CPASS_EST_FIRST_BIAS   (113 * 16)
 
#define MAG_DISTURB_STATE   (113 * 16 + 2)
 
#define CPASS_VAR_COUNT   (112 * 16 + 6)
 
#define CPASS_COUNT_7   (87 * 16 + 2)
 
#define CPASS_MAX_INNO   (124 * 16)
 
#define CPASS_BIAS_OFFSET   (113 * 16 + 4)
 
#define CPASS_CUR_BIAS_OFFSET   (114 * 16 + 4)
 
#define CPASS_PRE_SENSOR_DATA   (87 * 16 + 4)
 
#define CPASS_TIME_BUFFER   (112 * 16 + 14)
 
#define CPASS_RADIUS_3D_THRESH_ANOMALY   (112 * 16 + 8)
 
#define CPASS_STATUS_CHK   (25 * 16 + 12)
 
#define ACCEL_FB_GAIN   (34 * 16)
 
#define ACCEL_ONLY_GAIN   (16 * 16 + 12)
 
#define GYRO_SF   (19 * 16)
 
#define MAGN_THR_9X   (80 * 16)
 
#define MAGN_LPF_THR_9X   (80 * 16 + 8)
 
#define QFB_THR_9X   (80 * 16 + 12)
 
#define DMPRATE_CNTR   (18 * 16 + 4)
 
#define PEDSTD_BP_B   (49 * 16 + 12)
 
#define PEDSTD_BP_A4   (52 * 16)
 
#define PEDSTD_BP_A3   (52 * 16 + 4)
 
#define PEDSTD_BP_A2   (52 * 16 + 8)
 
#define PEDSTD_BP_A1   (52 * 16 + 12)
 
#define PEDSTD_SB   (50 * 16 + 8)
 
#define PEDSTD_SB_TIME   (50 * 16 + 12)
 
#define PEDSTD_PEAKTHRSH   (57 * 16 + 8)
 
#define PEDSTD_TIML   (50 * 16 + 10)
 
#define PEDSTD_TIMH   (50 * 16 + 14)
 
#define PEDSTD_PEAK   (57 * 16 + 4)
 
#define PEDSTD_STEPCTR   (54 * 16)
 
#define PEDSTD_STEPCTR2   (58 * 16 + 8)
 
#define PEDSTD_TIMECTR   (60 * 16 + 4)
 
#define PEDSTD_DECI   (58 * 16)
 
#define PEDSTD_SB2   (60 * 16 + 14)
 
#define STPDET_TIMESTAMP   (18 * 16 + 8)
 
#define PEDSTEP_IND   (19 * 16 + 4)
 
#define PED_Y_RATIO   (17 * 16 + 0)
 
#define SMD_VAR_TH   (141 * 16 + 12)
 
#define SMD_VAR_TH_DRIVE   (143 * 16 + 12)
 
#define SMD_DRIVE_TIMER_TH   (143 * 16 + 8)
 
#define SMD_TILT_ANGLE_TH   (179 * 16 + 12)
 
#define BAC_SMD_ST_TH   (179 * 16 + 8)
 
#define BAC_ST_ALPHA4   (180 * 16 + 12)
 
#define BAC_ST_ALPHA4A   (176 * 16 + 12)
 
#define WOM_ENABLE   (64 * 16 + 14)
 
#define WOM_STATUS   (64 * 16 + 6)
 
#define WOM_THRESHOLD_DMP   (64 * 16)
 
#define WOM_CNTR_TH   (64 * 16 + 12)
 
#define BAC_RATE   (48 * 16 + 10)
 
#define BAC_STATE   (179 * 16 + 0)
 
#define BAC_STATE_PREV   (179 * 16 + 4)
 
#define BAC_ACT_ON   (182 * 16 + 0)
 
#define BAC_ACT_OFF   (183 * 16 + 0)
 
#define BAC_STILL_S_F   (177 * 16 + 0)
 
#define BAC_RUN_S_F   (177 * 16 + 4)
 
#define BAC_DRIVE_S_F   (178 * 16 + 0)
 
#define BAC_WALK_S_F   (178 * 16 + 4)
 
#define BAC_SMD_S_F   (178 * 16 + 8)
 
#define BAC_BIKE_S_F   (178 * 16 + 12)
 
#define BAC_E1_SHORT   (146 * 16 + 0)
 
#define BAC_E2_SHORT   (146 * 16 + 4)
 
#define BAC_E3_SHORT   (146 * 16 + 8)
 
#define BAC_VAR_RUN   (148 * 16 + 12)
 
#define BAC_TILT_INIT   (181 * 16 + 0)
 
#define BAC_MAG_ON   (225 * 16 + 0)
 
#define BAC_PS_ON   (74 * 16 + 0)
 
#define BAC_BIKE_PREFERENCE   (173 * 16 + 8)
 
#define BAC_MAG_I2C_ADDR   (229 * 16 + 8)
 
#define BAC_PS_I2C_ADDR   (75 * 16 + 4)
 
#define BAC_DRIVE_CONFIDENCE   (144 * 16 + 0)
 
#define BAC_WALK_CONFIDENCE   (144 * 16 + 4)
 
#define BAC_SMD_CONFIDENCE   (144 * 16 + 8)
 
#define BAC_BIKE_CONFIDENCE   (144 * 16 + 12)
 
#define BAC_STILL_CONFIDENCE   (145 * 16 + 0)
 
#define BAC_RUN_CONFIDENCE   (145 * 16 + 4)
 
#define BAC_MODE_CNTR   (150 * 16)
 
#define BAC_STATE_T_PREV   (185 * 16 + 4)
 
#define BAC_ACT_T_ON   (184 * 16 + 0)
 
#define BAC_ACT_T_OFF   (184 * 16 + 4)
 
#define BAC_STATE_WRDBS_PREV   (185 * 16 + 8)
 
#define BAC_ACT_WRDBS_ON   (184 * 16 + 8)
 
#define BAC_ACT_WRDBS_OFF   (184 * 16 + 12)
 
#define BAC_ACT_ON_OFF   (190 * 16 + 2)
 
#define PREV_BAC_ACT_ON_OFF   (188 * 16 + 2)
 
#define BAC_CNTR   (48 * 16 + 2)
 
#define FP_VAR_ALPHA   (245 * 16 + 8)
 
#define FP_STILL_TH   (246 * 16 + 4)
 
#define FP_MID_STILL_TH   (244 * 16 + 8)
 
#define FP_NOT_STILL_TH   (246 * 16 + 8)
 
#define FP_VIB_REJ_TH   (241 * 16 + 8)
 
#define FP_MAX_PICKUP_T_TH   (244 * 16 + 12)
 
#define FP_PICKUP_TIMEOUT_TH   (248 * 16 + 8)
 
#define FP_STILL_CONST_TH   (246 * 16 + 12)
 
#define FP_MOTION_CONST_TH   (240 * 16 + 8)
 
#define FP_VIB_COUNT_TH   (242 * 16 + 8)
 
#define FP_STEADY_TILT_TH   (247 * 16 + 8)
 
#define FP_STEADY_TILT_UP_TH   (242 * 16 + 12)
 
#define FP_Z_FLAT_TH_MINUS   (243 * 16 + 8)
 
#define FP_Z_FLAT_TH_PLUS   (243 * 16 + 12)
 
#define FP_DEV_IN_POCKET_TH   (76 * 16 + 12)
 
#define FP_PICKUP_CNTR   (247 * 16 + 4)
 
#define FP_RATE   (240 * 16 + 12)
 
#define GYRO_FULLSCALE   (72 * 16 + 12)
 
#define ACC_SCALE   (30 * 16 + 0)
 
#define ACC_SCALE2   (79 * 16 + 4)
 
#define EIS_AUTH_INPUT   (160 * 16 + 4)
 
#define EIS_AUTH_OUTPUT   (160 * 16 + 0)
 
#define B2S_RATE   (48 * 16 + 8)
 
#define B2S_MTX_00   (208 * 16)
 
#define B2S_MTX_01   (208 * 16 + 4)
 
#define B2S_MTX_02   (208 * 16 + 8)
 
#define B2S_MTX_10   (208 * 16 + 12)
 
#define B2S_MTX_11   (209 * 16)
 
#define B2S_MTX_12   (209 * 16 + 4)
 
#define B2S_MTX_20   (209 * 16 + 8)
 
#define B2S_MTX_21   (209 * 16 + 12)
 
#define B2S_MTX_22   (210 * 16)
 
#define Q0_QUAT6   (33 * 16 + 0)
 
#define Q1_QUAT6   (33 * 16 + 4)
 
#define Q2_QUAT6   (33 * 16 + 8)
 
#define Q3_QUAT6   (33 * 16 + 12)
 
#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))
 
#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))
 
#define INV_NEEDS_COMPASS_MASK   ((1L << 2) | (1L << 3) | (1L << 11) | (1L << 14) | (1L << 20) | (1L << 24) | (1L << 25) | (1L << 31))
 
#define INV_NEEDS_PRESSURE   ((1L << 6) | (1L << 28))
 
#define INV_NEEDS_ACCEL_MASK1   ((1L << 3) | (1L << 5) | (1L << 6) | (1L << 7) | (1L << 9) | (1L << 10))
 
#define INV_NEEDS_GYRO_MASK1   ((1L << 3) | (1L << 4) | (1L << 11))
 
#define INV_NEEDS_COMPASS_MASK1   ((1L << 2) | (1L << 7))
 
#define icm_20948_DMP_Header_Bytes   2
 
#define icm_20948_DMP_Header2_Bytes   2
 
#define icm_20948_DMP_Raw_Accel_Bytes   6
 
#define icm_20948_DMP_Raw_Gyro_Bytes   6
 
#define icm_20948_DMP_Gyro_Bias_Bytes   6
 
#define icm_20948_DMP_Compass_Bytes   6
 
#define icm_20948_DMP_ALS_Bytes   8
 
#define icm_20948_DMP_Quat6_Bytes   12
 
#define icm_20948_DMP_Quat9_Bytes   14
 
#define icm_20948_DMP_PQuat6_Bytes   6
 
#define icm_20948_DMP_Geomag_Bytes   14
 
#define icm_20948_DMP_Pressure_Bytes   6
 
#define icm_20948_DMP_Gyro_Calibr_Bytes   12
 
#define icm_20948_DMP_Compass_Calibr_Bytes   12
 
#define icm_20948_DMP_Step_Detector_Bytes   4
 
#define icm_20948_DMP_Accel_Accuracy_Bytes   2
 
#define icm_20948_DMP_Gyro_Accuracy_Bytes   2
 
#define icm_20948_DMP_Compass_Accuracy_Bytes   2
 
#define icm_20948_DMP_Fsync_Detection_Bytes   2
 
#define icm_20948_DMP_Pickup_Bytes   2
 
#define icm_20948_DMP_Activity_Recognition_Bytes   6
 
#define icm_20948_DMP_Secondary_On_Off_Bytes   2
 
#define icm_20948_DMP_Footer_Bytes   2
 
#define icm_20948_DMP_Maximum_Bytes   14
 

Enumerations

enum  DMP_ODR_Registers {
  DMP_ODR_Reg_Accel = ODR_ACCEL , DMP_ODR_Reg_Gyro = ODR_GYRO , DMP_ODR_Reg_Cpass = ODR_CPASS , DMP_ODR_Reg_ALS = ODR_ALS ,
  DMP_ODR_Reg_Quat6 = ODR_QUAT6 , DMP_ODR_Reg_Quat9 = ODR_QUAT9 , DMP_ODR_Reg_PQuat6 = ODR_PQUAT6 , DMP_ODR_Reg_Geomag = ODR_GEOMAG ,
  DMP_ODR_Reg_Pressure = ODR_PRESSURE , DMP_ODR_Reg_Gyro_Calibr = ODR_GYRO_CALIBR , DMP_ODR_Reg_Cpass_Calibr = ODR_CPASS_CALIBR
}
 
enum  inv_icm20948_sensor {
  INV_ICM20948_SENSOR_ACCELEROMETER = 0 , INV_ICM20948_SENSOR_GYROSCOPE , INV_ICM20948_SENSOR_RAW_ACCELEROMETER , INV_ICM20948_SENSOR_RAW_GYROSCOPE ,
  INV_ICM20948_SENSOR_MAGNETIC_FIELD_UNCALIBRATED , INV_ICM20948_SENSOR_GYROSCOPE_UNCALIBRATED , INV_ICM20948_SENSOR_ACTIVITY_CLASSIFICATON , INV_ICM20948_SENSOR_STEP_DETECTOR ,
  INV_ICM20948_SENSOR_STEP_COUNTER , INV_ICM20948_SENSOR_GAME_ROTATION_VECTOR , INV_ICM20948_SENSOR_ROTATION_VECTOR , INV_ICM20948_SENSOR_GEOMAGNETIC_ROTATION_VECTOR ,
  INV_ICM20948_SENSOR_GEOMAGNETIC_FIELD , INV_ICM20948_SENSOR_WAKEUP_SIGNIFICANT_MOTION , INV_ICM20948_SENSOR_FLIP_PICKUP , INV_ICM20948_SENSOR_WAKEUP_TILT_DETECTOR ,
  INV_ICM20948_SENSOR_GRAVITY , INV_ICM20948_SENSOR_LINEAR_ACCELERATION , INV_ICM20948_SENSOR_ORIENTATION , INV_ICM20948_SENSOR_B2S ,
  INV_ICM20948_SENSOR_RAW_MAGNETOMETER , INV_ICM20948_SENSOR_MAX
}
 Sensor identifier for control function. More...
 
enum  ANDROID_SENSORS {
  ANDROID_SENSOR_META_DATA = 0 , ANDROID_SENSOR_ACCELEROMETER , ANDROID_SENSOR_GEOMAGNETIC_FIELD , ANDROID_SENSOR_ORIENTATION ,
  ANDROID_SENSOR_GYROSCOPE , ANDROID_SENSOR_LIGHT , ANDROID_SENSOR_PRESSURE , ANDROID_SENSOR_TEMPERATURE ,
  ANDROID_SENSOR_WAKEUP_PROXIMITY , ANDROID_SENSOR_GRAVITY , ANDROID_SENSOR_LINEAR_ACCELERATION , ANDROID_SENSOR_ROTATION_VECTOR ,
  ANDROID_SENSOR_HUMIDITY , ANDROID_SENSOR_AMBIENT_TEMPERATURE , ANDROID_SENSOR_MAGNETIC_FIELD_UNCALIBRATED , ANDROID_SENSOR_GAME_ROTATION_VECTOR ,
  ANDROID_SENSOR_GYROSCOPE_UNCALIBRATED , ANDROID_SENSOR_WAKEUP_SIGNIFICANT_MOTION , ANDROID_SENSOR_STEP_DETECTOR , ANDROID_SENSOR_STEP_COUNTER ,
  ANDROID_SENSOR_GEOMAGNETIC_ROTATION_VECTOR , ANDROID_SENSOR_HEART_RATE , ANDROID_SENSOR_PROXIMITY , ANDROID_SENSOR_WAKEUP_ACCELEROMETER ,
  ANDROID_SENSOR_WAKEUP_MAGNETIC_FIELD , ANDROID_SENSOR_WAKEUP_ORIENTATION , ANDROID_SENSOR_WAKEUP_GYROSCOPE , ANDROID_SENSOR_WAKEUP_LIGHT ,
  ANDROID_SENSOR_WAKEUP_PRESSURE , ANDROID_SENSOR_WAKEUP_GRAVITY , ANDROID_SENSOR_WAKEUP_LINEAR_ACCELERATION , ANDROID_SENSOR_WAKEUP_ROTATION_VECTOR ,
  ANDROID_SENSOR_WAKEUP_RELATIVE_HUMIDITY , ANDROID_SENSOR_WAKEUP_AMBIENT_TEMPERATURE , ANDROID_SENSOR_WAKEUP_MAGNETIC_FIELD_UNCALIBRATED , ANDROID_SENSOR_WAKEUP_GAME_ROTATION_VECTOR ,
  ANDROID_SENSOR_WAKEUP_GYROSCOPE_UNCALIBRATED , ANDROID_SENSOR_WAKEUP_STEP_DETECTOR , ANDROID_SENSOR_WAKEUP_STEP_COUNTER , ANDROID_SENSOR_WAKEUP_GEOMAGNETIC_ROTATION_VECTOR ,
  ANDROID_SENSOR_WAKEUP_HEART_RATE , ANDROID_SENSOR_WAKEUP_TILT_DETECTOR , ANDROID_SENSOR_RAW_ACCELEROMETER , ANDROID_SENSOR_RAW_GYROSCOPE ,
  ANDROID_SENSOR_NUM_MAX , ANDROID_SENSOR_B2S , ANDROID_SENSOR_FLIP_PICKUP , ANDROID_SENSOR_ACTIVITY_CLASSIFICATON ,
  ANDROID_SENSOR_SCREEN_ROTATION , SELF_TEST , SETUP , GENERAL_SENSORS_MAX
}
 
enum  DMP_Data_Ready_Status_Register_Bits { DMP_Data_ready_Gyro = 0x0001 , DMP_Data_ready_Accel = 0x0002 , DMP_Data_ready_Secondary_Compass = 0x0008 }
 
enum  DMP_Data_Output_Control_1_Register_Bits {
  DMP_Data_Output_Control_1_Step_Ind_0 = 0x0001 , DMP_Data_Output_Control_1_Step_Ind_1 = 0x0002 , DMP_Data_Output_Control_1_Step_Ind_2 = 0x0004 , DMP_Data_Output_Control_1_Header2 = 0x0008 ,
  DMP_Data_Output_Control_1_Step_Detector = 0x0010 , DMP_Data_Output_Control_1_Compass_Calibr = 0x0020 , DMP_Data_Output_Control_1_Gyro_Calibr = 0x0040 , DMP_Data_Output_Control_1_Pressure = 0x0080 ,
  DMP_Data_Output_Control_1_Geomag = 0x0100 , DMP_Data_Output_Control_1_PQuat6 = 0x0200 , DMP_Data_Output_Control_1_Quat9 = 0x0400 , DMP_Data_Output_Control_1_Quat6 = 0x0800 ,
  DMP_Data_Output_Control_1_ALS = 0x1000 , DMP_Data_Output_Control_1_Compass = 0x2000 , DMP_Data_Output_Control_1_Gyro = 0x4000 , DMP_Data_Output_Control_1_Accel = 0x8000
}
 
enum  DMP_Data_Output_Control_2_Register_Bits {
  DMP_Data_Output_Control_2_Secondary_On_Off = 0x0040 , DMP_Data_Output_Control_2_Activity_Recognition_BAC = 0x0080 , DMP_Data_Output_Control_2_Batch_Mode_Enable = 0x0100 , DMP_Data_Output_Control_2_Pickup = 0x0400 ,
  DMP_Data_Output_Control_2_Fsync_Detection = 0x0800 , DMP_Data_Output_Control_2_Compass_Accuracy = 0x1000 , DMP_Data_Output_Control_2_Gyro_Accuracy = 0x2000 , DMP_Data_Output_Control_2_Accel_Accuracy = 0x4000
}
 
enum  DMP_Motion_Event_Control_Register_Bits {
  DMP_Motion_Event_Control_Activity_Recog_Pedom_Accel = 0x0002 , DMP_Motion_Event_Control_Bring_Look_To_See = 0x0004 , DMP_Motion_Event_Control_Geomag = 0x0008 , DMP_Motion_Event_Control_Pickup = 0x0010 ,
  DMP_Motion_Event_Control_BTS = 0x0020 , DMP_Motion_Event_Control_9axis = 0x0040 , DMP_Motion_Event_Control_Compass_Calibr = 0x0080 , DMP_Motion_Event_Control_Gyro_Calibr = 0x0100 ,
  DMP_Motion_Event_Control_Accel_Calibr = 0x0200 , DMP_Motion_Event_Control_Significant_Motion_Det = 0x0800 , DMP_Motion_Event_Control_Tilt_Interrupt = 0x1000 , DMP_Motion_Event_Control_Pedometer_Interrupt = 0x2000 ,
  DMP_Motion_Event_Control_Activity_Recog_Pedom = 0x4000 , DMP_Motion_Event_Control_BAC_Wearable = 0x8000
}
 
enum  DMP_Header_Bitmap {
  DMP_header_bitmap_Header2 = 0x0008 , DMP_header_bitmap_Step_Detector = 0x0010 , DMP_header_bitmap_Compass_Calibr = 0x0020 , DMP_header_bitmap_Gyro_Calibr = 0x0040 ,
  DMP_header_bitmap_Pressure = 0x0080 , DMP_header_bitmap_Geomag = 0x0100 , DMP_header_bitmap_PQuat6 = 0x0200 , DMP_header_bitmap_Quat9 = 0x0400 ,
  DMP_header_bitmap_Quat6 = 0x0800 , DMP_header_bitmap_ALS = 0x1000 , DMP_header_bitmap_Compass = 0x2000 , DMP_header_bitmap_Gyro = 0x4000 ,
  DMP_header_bitmap_Accel = 0x8000
}
 
enum  DMP_Header2_Bitmap {
  DMP_header2_bitmap_Secondary_On_Off = 0x0040 , DMP_header2_bitmap_Activity_Recog = 0x0080 , DMP_header2_bitmap_Pickup = 0x0400 , DMP_header2_bitmap_Fsync = 0x0800 ,
  DMP_header2_bitmap_Compass_Accuracy = 0x1000 , DMP_header2_bitmap_Gyro_Accuracy = 0x2000 , DMP_header2_bitmap_Accel_Accuracy = 0x4000
}
 

Macro Definition Documentation

◆ ACC_SCALE

#define ACC_SCALE   (30 * 16 + 0)

Definition at line 264 of file ICM_20948_DMP.h.

◆ ACC_SCALE2

#define ACC_SCALE2   (79 * 16 + 4)

Definition at line 265 of file ICM_20948_DMP.h.

◆ ACCEL_A_VAR

#define ACCEL_A_VAR   (92 * 16)

Definition at line 122 of file ICM_20948_DMP.h.

◆ ACCEL_ACCURACY

#define ACCEL_ACCURACY   (97 * 16)

Definition at line 115 of file ICM_20948_DMP.h.

◆ ACCEL_ALPHA_VAR

#define ACCEL_ALPHA_VAR   (91 * 16)

Definition at line 121 of file ICM_20948_DMP.h.

◆ ACCEL_BIAS_X

#define ACCEL_BIAS_X   (110 * 16 + 4)

Definition at line 100 of file ICM_20948_DMP.h.

◆ ACCEL_BIAS_Y

#define ACCEL_BIAS_Y   (110 * 16 + 8)

Definition at line 101 of file ICM_20948_DMP.h.

◆ ACCEL_BIAS_Z

#define ACCEL_BIAS_Z   (110 * 16 + 12)

Definition at line 102 of file ICM_20948_DMP.h.

◆ ACCEL_CAL_INIT

#define ACCEL_CAL_INIT   (94 * 16 + 2)

Definition at line 123 of file ICM_20948_DMP.h.

◆ ACCEL_CAL_RATE

#define ACCEL_CAL_RATE   (94 * 16 + 4)

Definition at line 118 of file ICM_20948_DMP.h.

◆ ACCEL_CAL_RESET

#define ACCEL_CAL_RESET   (77 * 16)

Definition at line 116 of file ICM_20948_DMP.h.

◆ ACCEL_CAL_SCALE_COVQ_IN_RANGE

#define ACCEL_CAL_SCALE_COVQ_IN_RANGE   (194 * 16)

Definition at line 124 of file ICM_20948_DMP.h.

◆ ACCEL_CAL_SCALE_COVQ_OUT_RANGE

#define ACCEL_CAL_SCALE_COVQ_OUT_RANGE   (195 * 16)

Definition at line 125 of file ICM_20948_DMP.h.

◆ ACCEL_CAL_TEMPERATURE_OFFSET_TRIM

#define ACCEL_CAL_TEMPERATURE_OFFSET_TRIM   (194 * 16 + 12)

Definition at line 127 of file ICM_20948_DMP.h.

◆ ACCEL_CAL_TEMPERATURE_SENSITIVITY

#define ACCEL_CAL_TEMPERATURE_SENSITIVITY   (194 * 16 + 4)

Definition at line 126 of file ICM_20948_DMP.h.

◆ ACCEL_COVARIANCE

#define ACCEL_COVARIANCE   (101 * 16 + 8)

Definition at line 120 of file ICM_20948_DMP.h.

◆ ACCEL_FB_GAIN

#define ACCEL_FB_GAIN   (34 * 16)

Definition at line 152 of file ICM_20948_DMP.h.

◆ ACCEL_ONLY_GAIN

#define ACCEL_ONLY_GAIN   (16 * 16 + 12)

Definition at line 153 of file ICM_20948_DMP.h.

◆ ACCEL_PRE_SENSOR_DATA

#define ACCEL_PRE_SENSOR_DATA   (97 * 16 + 4)

Definition at line 119 of file ICM_20948_DMP.h.

◆ ACCEL_VARIANCE_THRESH

#define ACCEL_VARIANCE_THRESH   (93 * 16)

Definition at line 117 of file ICM_20948_DMP.h.

◆ B2S_MTX_00

#define B2S_MTX_00   (208 * 16)

Definition at line 275 of file ICM_20948_DMP.h.

◆ B2S_MTX_01

#define B2S_MTX_01   (208 * 16 + 4)

Definition at line 276 of file ICM_20948_DMP.h.

◆ B2S_MTX_02

#define B2S_MTX_02   (208 * 16 + 8)

Definition at line 277 of file ICM_20948_DMP.h.

◆ B2S_MTX_10

#define B2S_MTX_10   (208 * 16 + 12)

Definition at line 278 of file ICM_20948_DMP.h.

◆ B2S_MTX_11

#define B2S_MTX_11   (209 * 16)

Definition at line 279 of file ICM_20948_DMP.h.

◆ B2S_MTX_12

#define B2S_MTX_12   (209 * 16 + 4)

Definition at line 280 of file ICM_20948_DMP.h.

◆ B2S_MTX_20

#define B2S_MTX_20   (209 * 16 + 8)

Definition at line 281 of file ICM_20948_DMP.h.

◆ B2S_MTX_21

#define B2S_MTX_21   (209 * 16 + 12)

Definition at line 282 of file ICM_20948_DMP.h.

◆ B2S_MTX_22

#define B2S_MTX_22   (210 * 16)

Definition at line 283 of file ICM_20948_DMP.h.

◆ B2S_RATE

#define B2S_RATE   (48 * 16 + 8)

Definition at line 272 of file ICM_20948_DMP.h.

◆ BAC_ACT_OFF

#define BAC_ACT_OFF   (183 * 16 + 0)

Definition at line 205 of file ICM_20948_DMP.h.

◆ BAC_ACT_ON

#define BAC_ACT_ON   (182 * 16 + 0)

Definition at line 204 of file ICM_20948_DMP.h.

◆ BAC_ACT_ON_OFF

#define BAC_ACT_ON_OFF   (190 * 16 + 2)

Definition at line 235 of file ICM_20948_DMP.h.

◆ BAC_ACT_T_OFF

#define BAC_ACT_T_OFF   (184 * 16 + 4)

Definition at line 231 of file ICM_20948_DMP.h.

◆ BAC_ACT_T_ON

#define BAC_ACT_T_ON   (184 * 16 + 0)

Definition at line 230 of file ICM_20948_DMP.h.

◆ BAC_ACT_WRDBS_OFF

#define BAC_ACT_WRDBS_OFF   (184 * 16 + 12)

Definition at line 234 of file ICM_20948_DMP.h.

◆ BAC_ACT_WRDBS_ON

#define BAC_ACT_WRDBS_ON   (184 * 16 + 8)

Definition at line 233 of file ICM_20948_DMP.h.

◆ BAC_BIKE_CONFIDENCE

#define BAC_BIKE_CONFIDENCE   (144 * 16 + 12)

Definition at line 225 of file ICM_20948_DMP.h.

◆ BAC_BIKE_PREFERENCE

#define BAC_BIKE_PREFERENCE   (173 * 16 + 8)

Definition at line 219 of file ICM_20948_DMP.h.

◆ BAC_BIKE_S_F

#define BAC_BIKE_S_F   (178 * 16 + 12)

Definition at line 211 of file ICM_20948_DMP.h.

◆ BAC_CNTR

#define BAC_CNTR   (48 * 16 + 2)

Definition at line 237 of file ICM_20948_DMP.h.

◆ BAC_DRIVE_CONFIDENCE

#define BAC_DRIVE_CONFIDENCE   (144 * 16 + 0)

Definition at line 222 of file ICM_20948_DMP.h.

◆ BAC_DRIVE_S_F

#define BAC_DRIVE_S_F   (178 * 16 + 0)

Definition at line 208 of file ICM_20948_DMP.h.

◆ BAC_E1_SHORT

#define BAC_E1_SHORT   (146 * 16 + 0)

Definition at line 212 of file ICM_20948_DMP.h.

◆ BAC_E2_SHORT

#define BAC_E2_SHORT   (146 * 16 + 4)

Definition at line 213 of file ICM_20948_DMP.h.

◆ BAC_E3_SHORT

#define BAC_E3_SHORT   (146 * 16 + 8)

Definition at line 214 of file ICM_20948_DMP.h.

◆ BAC_MAG_I2C_ADDR

#define BAC_MAG_I2C_ADDR   (229 * 16 + 8)

Definition at line 220 of file ICM_20948_DMP.h.

◆ BAC_MAG_ON

#define BAC_MAG_ON   (225 * 16 + 0)

Definition at line 217 of file ICM_20948_DMP.h.

◆ BAC_MODE_CNTR

#define BAC_MODE_CNTR   (150 * 16)

Definition at line 228 of file ICM_20948_DMP.h.

◆ BAC_PS_I2C_ADDR

#define BAC_PS_I2C_ADDR   (75 * 16 + 4)

Definition at line 221 of file ICM_20948_DMP.h.

◆ BAC_PS_ON

#define BAC_PS_ON   (74 * 16 + 0)

Definition at line 218 of file ICM_20948_DMP.h.

◆ BAC_RATE

#define BAC_RATE   (48 * 16 + 10)

Definition at line 201 of file ICM_20948_DMP.h.

◆ BAC_RUN_CONFIDENCE

#define BAC_RUN_CONFIDENCE   (145 * 16 + 4)

Definition at line 227 of file ICM_20948_DMP.h.

◆ BAC_RUN_S_F

#define BAC_RUN_S_F   (177 * 16 + 4)

Definition at line 207 of file ICM_20948_DMP.h.

◆ BAC_SMD_CONFIDENCE

#define BAC_SMD_CONFIDENCE   (144 * 16 + 8)

Definition at line 224 of file ICM_20948_DMP.h.

◆ BAC_SMD_S_F

#define BAC_SMD_S_F   (178 * 16 + 8)

Definition at line 210 of file ICM_20948_DMP.h.

◆ BAC_SMD_ST_TH

#define BAC_SMD_ST_TH   (179 * 16 + 8)

Definition at line 190 of file ICM_20948_DMP.h.

◆ BAC_ST_ALPHA4

#define BAC_ST_ALPHA4   (180 * 16 + 12)

Definition at line 191 of file ICM_20948_DMP.h.

◆ BAC_ST_ALPHA4A

#define BAC_ST_ALPHA4A   (176 * 16 + 12)

Definition at line 192 of file ICM_20948_DMP.h.

◆ BAC_STATE

#define BAC_STATE   (179 * 16 + 0)

Definition at line 202 of file ICM_20948_DMP.h.

◆ BAC_STATE_PREV

#define BAC_STATE_PREV   (179 * 16 + 4)

Definition at line 203 of file ICM_20948_DMP.h.

◆ BAC_STATE_T_PREV

#define BAC_STATE_T_PREV   (185 * 16 + 4)

Definition at line 229 of file ICM_20948_DMP.h.

◆ BAC_STATE_WRDBS_PREV

#define BAC_STATE_WRDBS_PREV   (185 * 16 + 8)

Definition at line 232 of file ICM_20948_DMP.h.

◆ BAC_STILL_CONFIDENCE

#define BAC_STILL_CONFIDENCE   (145 * 16 + 0)

Definition at line 226 of file ICM_20948_DMP.h.

◆ BAC_STILL_S_F

#define BAC_STILL_S_F   (177 * 16 + 0)

Definition at line 206 of file ICM_20948_DMP.h.

◆ BAC_TILT_INIT

#define BAC_TILT_INIT   (181 * 16 + 0)

Definition at line 216 of file ICM_20948_DMP.h.

◆ BAC_VAR_RUN

#define BAC_VAR_RUN   (148 * 16 + 12)

Definition at line 215 of file ICM_20948_DMP.h.

◆ BAC_WALK_CONFIDENCE

#define BAC_WALK_CONFIDENCE   (144 * 16 + 4)

Definition at line 223 of file ICM_20948_DMP.h.

◆ BAC_WALK_S_F

#define BAC_WALK_S_F   (178 * 16 + 4)

Definition at line 209 of file ICM_20948_DMP.h.

◆ BIT_MSG_DMP_INT

#define BIT_MSG_DMP_INT   0x0002

Definition at line 25 of file ICM_20948_DMP.h.

◆ BIT_MSG_DMP_INT_0

#define BIT_MSG_DMP_INT_0   0x0100

Definition at line 26 of file ICM_20948_DMP.h.

◆ BIT_MSG_DMP_INT_2

#define BIT_MSG_DMP_INT_2   0x0200

Definition at line 28 of file ICM_20948_DMP.h.

◆ BIT_MSG_DMP_INT_3

#define BIT_MSG_DMP_INT_3   0x0400

Definition at line 29 of file ICM_20948_DMP.h.

◆ BIT_MSG_DMP_INT_4

#define BIT_MSG_DMP_INT_4   0x1000

Definition at line 31 of file ICM_20948_DMP.h.

◆ BIT_MSG_DMP_INT_5

#define BIT_MSG_DMP_INT_5   0x2000

Definition at line 32 of file ICM_20948_DMP.h.

◆ BIT_MSG_DMP_INT_6

#define BIT_MSG_DMP_INT_6   0x4000

Definition at line 33 of file ICM_20948_DMP.h.

◆ BIT_WAKE_ON_MOTION_INT

#define BIT_WAKE_ON_MOTION_INT   0x08

Definition at line 24 of file ICM_20948_DMP.h.

◆ BM_BATCH_CNTR

#define BM_BATCH_CNTR   (27 * 16)

Definition at line 53 of file ICM_20948_DMP.h.

◆ BM_BATCH_MASK

#define BM_BATCH_MASK   (21 * 16 + 14)

Definition at line 55 of file ICM_20948_DMP.h.

◆ BM_BATCH_THLD

#define BM_BATCH_THLD   (19 * 16 + 12)

Definition at line 54 of file ICM_20948_DMP.h.

◆ CFG_FIFO_SIZE

#define CFG_FIFO_SIZE   (4222)

Definition at line 21 of file ICM_20948_DMP.h.

◆ CPASS_ACCURACY

#define CPASS_ACCURACY   (37 * 16)

Definition at line 129 of file ICM_20948_DMP.h.

◆ CPASS_BIAS_OFFSET

#define CPASS_BIAS_OFFSET   (113 * 16 + 4)

Definition at line 141 of file ICM_20948_DMP.h.

◆ CPASS_BIAS_SET

#define CPASS_BIAS_SET   (34 * 16 + 14)

Definition at line 130 of file ICM_20948_DMP.h.

◆ CPASS_BIAS_X

#define CPASS_BIAS_X   (126 * 16 + 4)

Definition at line 103 of file ICM_20948_DMP.h.

◆ CPASS_BIAS_Y

#define CPASS_BIAS_Y   (126 * 16 + 8)

Definition at line 104 of file ICM_20948_DMP.h.

◆ CPASS_BIAS_Z

#define CPASS_BIAS_Z   (126 * 16 + 12)

Definition at line 105 of file ICM_20948_DMP.h.

◆ CPASS_CAL_INIT

#define CPASS_CAL_INIT   (114 * 16)

Definition at line 135 of file ICM_20948_DMP.h.

◆ CPASS_COUNT_7

#define CPASS_COUNT_7   (87 * 16 + 2)

Definition at line 139 of file ICM_20948_DMP.h.

◆ CPASS_COVARIANCE

#define CPASS_COVARIANCE   (115 * 16)

Definition at line 132 of file ICM_20948_DMP.h.

◆ CPASS_COVARIANCE_CUR

#define CPASS_COVARIANCE_CUR   (118 * 16 + 8)

Definition at line 133 of file ICM_20948_DMP.h.

◆ CPASS_CUR_BIAS_OFFSET

#define CPASS_CUR_BIAS_OFFSET   (114 * 16 + 4)

Definition at line 142 of file ICM_20948_DMP.h.

◆ CPASS_EST_FIRST_BIAS

#define CPASS_EST_FIRST_BIAS   (113 * 16)

Definition at line 136 of file ICM_20948_DMP.h.

◆ CPASS_MAX_INNO

#define CPASS_MAX_INNO   (124 * 16)

Definition at line 140 of file ICM_20948_DMP.h.

◆ CPASS_MTX_00

#define CPASS_MTX_00   (23 * 16)

Definition at line 84 of file ICM_20948_DMP.h.

◆ CPASS_MTX_01

#define CPASS_MTX_01   (23 * 16 + 4)

Definition at line 85 of file ICM_20948_DMP.h.

◆ CPASS_MTX_02

#define CPASS_MTX_02   (23 * 16 + 8)

Definition at line 86 of file ICM_20948_DMP.h.

◆ CPASS_MTX_10

#define CPASS_MTX_10   (23 * 16 + 12)

Definition at line 87 of file ICM_20948_DMP.h.

◆ CPASS_MTX_11

#define CPASS_MTX_11   (24 * 16)

Definition at line 88 of file ICM_20948_DMP.h.

◆ CPASS_MTX_12

#define CPASS_MTX_12   (24 * 16 + 4)

Definition at line 89 of file ICM_20948_DMP.h.

◆ CPASS_MTX_20

#define CPASS_MTX_20   (24 * 16 + 8)

Definition at line 90 of file ICM_20948_DMP.h.

◆ CPASS_MTX_21

#define CPASS_MTX_21   (24 * 16 + 12)

Definition at line 91 of file ICM_20948_DMP.h.

◆ CPASS_MTX_22

#define CPASS_MTX_22   (25 * 16)

Definition at line 92 of file ICM_20948_DMP.h.

◆ CPASS_PRE_SENSOR_DATA

#define CPASS_PRE_SENSOR_DATA   (87 * 16 + 4)

Definition at line 143 of file ICM_20948_DMP.h.

◆ CPASS_RADIUS_3D_THRESH_ANOMALY

#define CPASS_RADIUS_3D_THRESH_ANOMALY   (112 * 16 + 8)

Definition at line 147 of file ICM_20948_DMP.h.

◆ CPASS_REF_MAG_3D

#define CPASS_REF_MAG_3D   (122 * 16)

Definition at line 134 of file ICM_20948_DMP.h.

◆ CPASS_STATUS_CHK

#define CPASS_STATUS_CHK   (25 * 16 + 12)

Definition at line 149 of file ICM_20948_DMP.h.

◆ CPASS_TIME_BUFFER

#define CPASS_TIME_BUFFER   (112 * 16 + 14)

Definition at line 146 of file ICM_20948_DMP.h.

◆ CPASS_VAR_COUNT

#define CPASS_VAR_COUNT   (112 * 16 + 6)

Definition at line 138 of file ICM_20948_DMP.h.

◆ DATA_INTR_CTL

#define DATA_INTR_CTL   (4 * 16 + 12)

Definition at line 40 of file ICM_20948_DMP.h.

◆ DATA_OUT_CTL1

#define DATA_OUT_CTL1   (4 * 16)

Definition at line 38 of file ICM_20948_DMP.h.

◆ DATA_OUT_CTL2

#define DATA_OUT_CTL2   (4 * 16 + 2)

Definition at line 39 of file ICM_20948_DMP.h.

◆ DATA_RDY_STATUS

#define DATA_RDY_STATUS   (8 * 16 + 10)

Definition at line 50 of file ICM_20948_DMP.h.

◆ DMP_LOAD_START

#define DMP_LOAD_START   0x90

Definition at line 19 of file ICM_20948_DMP.h.

◆ DMP_MEM_BANK_SIZE

#define DMP_MEM_BANK_SIZE   256

Definition at line 18 of file ICM_20948_DMP.h.

◆ DMP_START_ADDRESS

#define DMP_START_ADDRESS   ((unsigned short)0x1000)

Definition at line 17 of file ICM_20948_DMP.h.

◆ DMPRATE_CNTR

#define DMPRATE_CNTR   (18 * 16 + 4)

Definition at line 162 of file ICM_20948_DMP.h.

◆ EIS_AUTH_INPUT

#define EIS_AUTH_INPUT   (160 * 16 + 4)

Definition at line 268 of file ICM_20948_DMP.h.

◆ EIS_AUTH_OUTPUT

#define EIS_AUTH_OUTPUT   (160 * 16 + 0)

Definition at line 269 of file ICM_20948_DMP.h.

◆ FIFO_WATERMARK

#define FIFO_WATERMARK   (31 * 16 + 14)

Definition at line 41 of file ICM_20948_DMP.h.

◆ FP_DEV_IN_POCKET_TH

#define FP_DEV_IN_POCKET_TH   (76 * 16 + 12)

Definition at line 254 of file ICM_20948_DMP.h.

◆ FP_MAX_PICKUP_T_TH

#define FP_MAX_PICKUP_T_TH   (244 * 16 + 12)

Definition at line 245 of file ICM_20948_DMP.h.

◆ FP_MID_STILL_TH

#define FP_MID_STILL_TH   (244 * 16 + 8)

Definition at line 242 of file ICM_20948_DMP.h.

◆ FP_MOTION_CONST_TH

#define FP_MOTION_CONST_TH   (240 * 16 + 8)

Definition at line 248 of file ICM_20948_DMP.h.

◆ FP_NOT_STILL_TH

#define FP_NOT_STILL_TH   (246 * 16 + 8)

Definition at line 243 of file ICM_20948_DMP.h.

◆ FP_PICKUP_CNTR

#define FP_PICKUP_CNTR   (247 * 16 + 4)

Definition at line 255 of file ICM_20948_DMP.h.

◆ FP_PICKUP_TIMEOUT_TH

#define FP_PICKUP_TIMEOUT_TH   (248 * 16 + 8)

Definition at line 246 of file ICM_20948_DMP.h.

◆ FP_RATE

#define FP_RATE   (240 * 16 + 12)

Definition at line 256 of file ICM_20948_DMP.h.

◆ FP_STEADY_TILT_TH

#define FP_STEADY_TILT_TH   (247 * 16 + 8)

Definition at line 250 of file ICM_20948_DMP.h.

◆ FP_STEADY_TILT_UP_TH

#define FP_STEADY_TILT_UP_TH   (242 * 16 + 12)

Definition at line 251 of file ICM_20948_DMP.h.

◆ FP_STILL_CONST_TH

#define FP_STILL_CONST_TH   (246 * 16 + 12)

Definition at line 247 of file ICM_20948_DMP.h.

◆ FP_STILL_TH

#define FP_STILL_TH   (246 * 16 + 4)

Definition at line 241 of file ICM_20948_DMP.h.

◆ FP_VAR_ALPHA

#define FP_VAR_ALPHA   (245 * 16 + 8)

Definition at line 240 of file ICM_20948_DMP.h.

◆ FP_VIB_COUNT_TH

#define FP_VIB_COUNT_TH   (242 * 16 + 8)

Definition at line 249 of file ICM_20948_DMP.h.

◆ FP_VIB_REJ_TH

#define FP_VIB_REJ_TH   (241 * 16 + 8)

Definition at line 244 of file ICM_20948_DMP.h.

◆ FP_Z_FLAT_TH_MINUS

#define FP_Z_FLAT_TH_MINUS   (243 * 16 + 8)

Definition at line 252 of file ICM_20948_DMP.h.

◆ FP_Z_FLAT_TH_PLUS

#define FP_Z_FLAT_TH_PLUS   (243 * 16 + 12)

Definition at line 253 of file ICM_20948_DMP.h.

◆ GYRO_ACCURACY

#define GYRO_ACCURACY   (138 * 16 + 2)

Definition at line 107 of file ICM_20948_DMP.h.

◆ GYRO_BIAS_SET

#define GYRO_BIAS_SET   (138 * 16 + 6)

Definition at line 108 of file ICM_20948_DMP.h.

◆ GYRO_BIAS_X

#define GYRO_BIAS_X   (139 * 16 + 4)

Definition at line 97 of file ICM_20948_DMP.h.

◆ GYRO_BIAS_Y

#define GYRO_BIAS_Y   (139 * 16 + 8)

Definition at line 98 of file ICM_20948_DMP.h.

◆ GYRO_BIAS_Z

#define GYRO_BIAS_Z   (139 * 16 + 12)

Definition at line 99 of file ICM_20948_DMP.h.

◆ GYRO_FULLSCALE

#define GYRO_FULLSCALE   (72 * 16 + 12)

Definition at line 259 of file ICM_20948_DMP.h.

◆ GYRO_LAST_TEMPR

#define GYRO_LAST_TEMPR   (134 * 16)

Definition at line 109 of file ICM_20948_DMP.h.

◆ GYRO_SF

#define GYRO_SF   (19 * 16)

Definition at line 154 of file ICM_20948_DMP.h.

◆ GYRO_SLOPE_X

#define GYRO_SLOPE_X   (78 * 16 + 4)

Definition at line 110 of file ICM_20948_DMP.h.

◆ GYRO_SLOPE_Y

#define GYRO_SLOPE_Y   (78 * 16 + 8)

Definition at line 111 of file ICM_20948_DMP.h.

◆ GYRO_SLOPE_Z

#define GYRO_SLOPE_Z   (78 * 16 + 12)

Definition at line 112 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Accel_Accuracy_Bytes

#define icm_20948_DMP_Accel_Accuracy_Bytes   2

Definition at line 527 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Activity_Recognition_Bytes

#define icm_20948_DMP_Activity_Recognition_Bytes   6

Definition at line 532 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_ALS_Bytes

#define icm_20948_DMP_ALS_Bytes   8

Definition at line 517 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Compass_Accuracy_Bytes

#define icm_20948_DMP_Compass_Accuracy_Bytes   2

Definition at line 529 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Compass_Bytes

#define icm_20948_DMP_Compass_Bytes   6

Definition at line 516 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Compass_Calibr_Bytes

#define icm_20948_DMP_Compass_Calibr_Bytes   12

Definition at line 525 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Footer_Bytes

#define icm_20948_DMP_Footer_Bytes   2

Definition at line 534 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Fsync_Detection_Bytes

#define icm_20948_DMP_Fsync_Detection_Bytes   2

Definition at line 530 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Geomag_Bytes

#define icm_20948_DMP_Geomag_Bytes   14

Definition at line 522 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Gyro_Accuracy_Bytes

#define icm_20948_DMP_Gyro_Accuracy_Bytes   2

Definition at line 528 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Gyro_Bias_Bytes

#define icm_20948_DMP_Gyro_Bias_Bytes   6

Definition at line 515 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Gyro_Calibr_Bytes

#define icm_20948_DMP_Gyro_Calibr_Bytes   12

Definition at line 524 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Header2_Bytes

#define icm_20948_DMP_Header2_Bytes   2

Definition at line 512 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Header_Bytes

#define icm_20948_DMP_Header_Bytes   2

Definition at line 511 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Maximum_Bytes

#define icm_20948_DMP_Maximum_Bytes   14

Definition at line 535 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Pickup_Bytes

#define icm_20948_DMP_Pickup_Bytes   2

Definition at line 531 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_PQuat6_Bytes

#define icm_20948_DMP_PQuat6_Bytes   6

Definition at line 521 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Pressure_Bytes

#define icm_20948_DMP_Pressure_Bytes   6

Definition at line 523 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Quat6_Bytes

#define icm_20948_DMP_Quat6_Bytes   12

Definition at line 518 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Quat9_Bytes

#define icm_20948_DMP_Quat9_Bytes   14

Definition at line 519 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Raw_Accel_Bytes

#define icm_20948_DMP_Raw_Accel_Bytes   6

Definition at line 513 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Raw_Gyro_Bytes

#define icm_20948_DMP_Raw_Gyro_Bytes   6

Definition at line 514 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Secondary_On_Off_Bytes

#define icm_20948_DMP_Secondary_On_Off_Bytes   2

Definition at line 533 of file ICM_20948_DMP.h.

◆ icm_20948_DMP_Step_Detector_Bytes

#define icm_20948_DMP_Step_Detector_Bytes   4

Definition at line 526 of file ICM_20948_DMP.h.

◆ INV_NEEDS_ACCEL_MASK

#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))

Definition at line 394 of file ICM_20948_DMP.h.

◆ INV_NEEDS_ACCEL_MASK1

#define INV_NEEDS_ACCEL_MASK1   ((1L << 3) | (1L << 5) | (1L << 6) | (1L << 7) | (1L << 9) | (1L << 10))

Definition at line 400 of file ICM_20948_DMP.h.

◆ INV_NEEDS_COMPASS_MASK

#define INV_NEEDS_COMPASS_MASK   ((1L << 2) | (1L << 3) | (1L << 11) | (1L << 14) | (1L << 20) | (1L << 24) | (1L << 25) | (1L << 31))

Definition at line 396 of file ICM_20948_DMP.h.

◆ INV_NEEDS_COMPASS_MASK1

#define INV_NEEDS_COMPASS_MASK1   ((1L << 2) | (1L << 7))

Definition at line 402 of file ICM_20948_DMP.h.

◆ INV_NEEDS_GYRO_MASK

#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))

Definition at line 395 of file ICM_20948_DMP.h.

◆ INV_NEEDS_GYRO_MASK1

#define INV_NEEDS_GYRO_MASK1   ((1L << 3) | (1L << 4) | (1L << 11))

Definition at line 401 of file ICM_20948_DMP.h.

◆ INV_NEEDS_PRESSURE

#define INV_NEEDS_PRESSURE   ((1L << 6) | (1L << 28))

Definition at line 397 of file ICM_20948_DMP.h.

◆ MAG_DISTURB_STATE

#define MAG_DISTURB_STATE   (113 * 16 + 2)

Definition at line 137 of file ICM_20948_DMP.h.

◆ MAGN_LPF_THR_9X

#define MAGN_LPF_THR_9X   (80 * 16 + 8)

Definition at line 158 of file ICM_20948_DMP.h.

◆ MAGN_THR_9X

#define MAGN_THR_9X   (80 * 16)

Definition at line 157 of file ICM_20948_DMP.h.

◆ MAR_MODE

#define MAR_MODE   (37 * 16 + 2)

Definition at line 131 of file ICM_20948_DMP.h.

◆ MOTION_EVENT_CTL

#define MOTION_EVENT_CTL   (4 * 16 + 14)

Definition at line 44 of file ICM_20948_DMP.h.

◆ ODR_ACCEL

#define ODR_ACCEL   (11 * 16 + 14)

Definition at line 58 of file ICM_20948_DMP.h.

◆ ODR_ALS

#define ODR_ALS   (11 * 16 + 2)

Definition at line 61 of file ICM_20948_DMP.h.

◆ ODR_CNTR_ACCEL

#define ODR_CNTR_ACCEL   (9 * 16 + 14)

Definition at line 71 of file ICM_20948_DMP.h.

◆ ODR_CNTR_ALS

#define ODR_CNTR_ALS   (9 * 16 + 2)

Definition at line 74 of file ICM_20948_DMP.h.

◆ ODR_CNTR_CPASS

#define ODR_CNTR_CPASS   (9 * 16 + 6)

Definition at line 73 of file ICM_20948_DMP.h.

◆ ODR_CNTR_CPASS_CALIBR

#define ODR_CNTR_CPASS_CALIBR   (9 * 16 + 4)

Definition at line 81 of file ICM_20948_DMP.h.

◆ ODR_CNTR_GEOMAG

#define ODR_CNTR_GEOMAG   (8 * 16 + 0)

Definition at line 78 of file ICM_20948_DMP.h.

◆ ODR_CNTR_GYRO

#define ODR_CNTR_GYRO   (9 * 16 + 10)

Definition at line 72 of file ICM_20948_DMP.h.

◆ ODR_CNTR_GYRO_CALIBR

#define ODR_CNTR_GYRO_CALIBR   (9 * 16 + 8)

Definition at line 80 of file ICM_20948_DMP.h.

◆ ODR_CNTR_PQUAT6

#define ODR_CNTR_PQUAT6   (8 * 16 + 4)

Definition at line 77 of file ICM_20948_DMP.h.

◆ ODR_CNTR_PRESSURE

#define ODR_CNTR_PRESSURE   (9 * 16 + 12)

Definition at line 79 of file ICM_20948_DMP.h.

◆ ODR_CNTR_QUAT6

#define ODR_CNTR_QUAT6   (8 * 16 + 12)

Definition at line 75 of file ICM_20948_DMP.h.

◆ ODR_CNTR_QUAT9

#define ODR_CNTR_QUAT9   (8 * 16 + 8)

Definition at line 76 of file ICM_20948_DMP.h.

◆ ODR_CPASS

#define ODR_CPASS   (11 * 16 + 6)

Definition at line 60 of file ICM_20948_DMP.h.

◆ ODR_CPASS_CALIBR

#define ODR_CPASS_CALIBR   (11 * 16 + 4)

Definition at line 68 of file ICM_20948_DMP.h.

◆ ODR_GEOMAG

#define ODR_GEOMAG   (10 * 16 + 0)

Definition at line 65 of file ICM_20948_DMP.h.

◆ ODR_GYRO

#define ODR_GYRO   (11 * 16 + 10)

Definition at line 59 of file ICM_20948_DMP.h.

◆ ODR_GYRO_CALIBR

#define ODR_GYRO_CALIBR   (11 * 16 + 8)

Definition at line 67 of file ICM_20948_DMP.h.

◆ ODR_PQUAT6

#define ODR_PQUAT6   (10 * 16 + 4)

Definition at line 64 of file ICM_20948_DMP.h.

◆ ODR_PRESSURE

#define ODR_PRESSURE   (11 * 16 + 12)

Definition at line 66 of file ICM_20948_DMP.h.

◆ ODR_QUAT6

#define ODR_QUAT6   (10 * 16 + 12)

Definition at line 62 of file ICM_20948_DMP.h.

◆ ODR_QUAT9

#define ODR_QUAT9   (10 * 16 + 8)

Definition at line 63 of file ICM_20948_DMP.h.

◆ PED_Y_RATIO

#define PED_Y_RATIO   (17 * 16 + 0)

Definition at line 183 of file ICM_20948_DMP.h.

◆ PEDSTD_BP_A1

#define PEDSTD_BP_A1   (52 * 16 + 12)

Definition at line 169 of file ICM_20948_DMP.h.

◆ PEDSTD_BP_A2

#define PEDSTD_BP_A2   (52 * 16 + 8)

Definition at line 168 of file ICM_20948_DMP.h.

◆ PEDSTD_BP_A3

#define PEDSTD_BP_A3   (52 * 16 + 4)

Definition at line 167 of file ICM_20948_DMP.h.

◆ PEDSTD_BP_A4

#define PEDSTD_BP_A4   (52 * 16)

Definition at line 166 of file ICM_20948_DMP.h.

◆ PEDSTD_BP_B

#define PEDSTD_BP_B   (49 * 16 + 12)

Definition at line 165 of file ICM_20948_DMP.h.

◆ PEDSTD_DECI

#define PEDSTD_DECI   (58 * 16)

Definition at line 179 of file ICM_20948_DMP.h.

◆ PEDSTD_PEAK

#define PEDSTD_PEAK   (57 * 16 + 4)

Definition at line 175 of file ICM_20948_DMP.h.

◆ PEDSTD_PEAKTHRSH

#define PEDSTD_PEAKTHRSH   (57 * 16 + 8)

Definition at line 172 of file ICM_20948_DMP.h.

◆ PEDSTD_SB

#define PEDSTD_SB   (50 * 16 + 8)

Definition at line 170 of file ICM_20948_DMP.h.

◆ PEDSTD_SB2

#define PEDSTD_SB2   (60 * 16 + 14)

Definition at line 180 of file ICM_20948_DMP.h.

◆ PEDSTD_SB_TIME

#define PEDSTD_SB_TIME   (50 * 16 + 12)

Definition at line 171 of file ICM_20948_DMP.h.

◆ PEDSTD_STEPCTR

#define PEDSTD_STEPCTR   (54 * 16)

Definition at line 176 of file ICM_20948_DMP.h.

◆ PEDSTD_STEPCTR2

#define PEDSTD_STEPCTR2   (58 * 16 + 8)

Definition at line 177 of file ICM_20948_DMP.h.

◆ PEDSTD_TIMECTR

#define PEDSTD_TIMECTR   (60 * 16 + 4)

Definition at line 178 of file ICM_20948_DMP.h.

◆ PEDSTD_TIMH

#define PEDSTD_TIMH   (50 * 16 + 14)

Definition at line 174 of file ICM_20948_DMP.h.

◆ PEDSTD_TIML

#define PEDSTD_TIML   (50 * 16 + 10)

Definition at line 173 of file ICM_20948_DMP.h.

◆ PEDSTEP_IND

#define PEDSTEP_IND   (19 * 16 + 4)

Definition at line 182 of file ICM_20948_DMP.h.

◆ PREV_BAC_ACT_ON_OFF

#define PREV_BAC_ACT_ON_OFF   (188 * 16 + 2)

Definition at line 236 of file ICM_20948_DMP.h.

◆ Q0_QUAT6

#define Q0_QUAT6   (33 * 16 + 0)

Definition at line 286 of file ICM_20948_DMP.h.

◆ Q1_QUAT6

#define Q1_QUAT6   (33 * 16 + 4)

Definition at line 287 of file ICM_20948_DMP.h.

◆ Q2_QUAT6

#define Q2_QUAT6   (33 * 16 + 8)

Definition at line 288 of file ICM_20948_DMP.h.

◆ Q3_QUAT6

#define Q3_QUAT6   (33 * 16 + 12)

Definition at line 289 of file ICM_20948_DMP.h.

◆ QFB_THR_9X

#define QFB_THR_9X   (80 * 16 + 12)

Definition at line 159 of file ICM_20948_DMP.h.

◆ SMD_DRIVE_TIMER_TH

#define SMD_DRIVE_TIMER_TH   (143 * 16 + 8)

Definition at line 188 of file ICM_20948_DMP.h.

◆ SMD_TILT_ANGLE_TH

#define SMD_TILT_ANGLE_TH   (179 * 16 + 12)

Definition at line 189 of file ICM_20948_DMP.h.

◆ SMD_VAR_TH

#define SMD_VAR_TH   (141 * 16 + 12)

Definition at line 186 of file ICM_20948_DMP.h.

◆ SMD_VAR_TH_DRIVE

#define SMD_VAR_TH_DRIVE   (143 * 16 + 12)

Definition at line 187 of file ICM_20948_DMP.h.

◆ STPDET_TIMESTAMP

#define STPDET_TIMESTAMP   (18 * 16 + 8)

Definition at line 181 of file ICM_20948_DMP.h.

◆ WOM_CNTR_TH

#define WOM_CNTR_TH   (64 * 16 + 12)

Definition at line 198 of file ICM_20948_DMP.h.

◆ WOM_ENABLE

#define WOM_ENABLE   (64 * 16 + 14)

Definition at line 195 of file ICM_20948_DMP.h.

◆ WOM_STATUS

#define WOM_STATUS   (64 * 16 + 6)

Definition at line 196 of file ICM_20948_DMP.h.

◆ WOM_THRESHOLD_DMP

#define WOM_THRESHOLD_DMP   (64 * 16)

Definition at line 197 of file ICM_20948_DMP.h.

Enumeration Type Documentation

◆ ANDROID_SENSORS

Enumerator
ANDROID_SENSOR_META_DATA 
ANDROID_SENSOR_ACCELEROMETER 
ANDROID_SENSOR_GEOMAGNETIC_FIELD 
ANDROID_SENSOR_ORIENTATION 
ANDROID_SENSOR_GYROSCOPE 
ANDROID_SENSOR_LIGHT 
ANDROID_SENSOR_PRESSURE 
ANDROID_SENSOR_TEMPERATURE 
ANDROID_SENSOR_WAKEUP_PROXIMITY 
ANDROID_SENSOR_GRAVITY 
ANDROID_SENSOR_LINEAR_ACCELERATION 
ANDROID_SENSOR_ROTATION_VECTOR 
ANDROID_SENSOR_HUMIDITY 
ANDROID_SENSOR_AMBIENT_TEMPERATURE 
ANDROID_SENSOR_MAGNETIC_FIELD_UNCALIBRATED 
ANDROID_SENSOR_GAME_ROTATION_VECTOR 
ANDROID_SENSOR_GYROSCOPE_UNCALIBRATED 
ANDROID_SENSOR_WAKEUP_SIGNIFICANT_MOTION 
ANDROID_SENSOR_STEP_DETECTOR 
ANDROID_SENSOR_STEP_COUNTER 
ANDROID_SENSOR_GEOMAGNETIC_ROTATION_VECTOR 
ANDROID_SENSOR_HEART_RATE 
ANDROID_SENSOR_PROXIMITY 
ANDROID_SENSOR_WAKEUP_ACCELEROMETER 
ANDROID_SENSOR_WAKEUP_MAGNETIC_FIELD 
ANDROID_SENSOR_WAKEUP_ORIENTATION 
ANDROID_SENSOR_WAKEUP_GYROSCOPE 
ANDROID_SENSOR_WAKEUP_LIGHT 
ANDROID_SENSOR_WAKEUP_PRESSURE 
ANDROID_SENSOR_WAKEUP_GRAVITY 
ANDROID_SENSOR_WAKEUP_LINEAR_ACCELERATION 
ANDROID_SENSOR_WAKEUP_ROTATION_VECTOR 
ANDROID_SENSOR_WAKEUP_RELATIVE_HUMIDITY 
ANDROID_SENSOR_WAKEUP_AMBIENT_TEMPERATURE 
ANDROID_SENSOR_WAKEUP_MAGNETIC_FIELD_UNCALIBRATED 
ANDROID_SENSOR_WAKEUP_GAME_ROTATION_VECTOR 
ANDROID_SENSOR_WAKEUP_GYROSCOPE_UNCALIBRATED 
ANDROID_SENSOR_WAKEUP_STEP_DETECTOR 
ANDROID_SENSOR_WAKEUP_STEP_COUNTER 
ANDROID_SENSOR_WAKEUP_GEOMAGNETIC_ROTATION_VECTOR 
ANDROID_SENSOR_WAKEUP_HEART_RATE 
ANDROID_SENSOR_WAKEUP_TILT_DETECTOR 
ANDROID_SENSOR_RAW_ACCELEROMETER 
ANDROID_SENSOR_RAW_GYROSCOPE 
ANDROID_SENSOR_NUM_MAX 
ANDROID_SENSOR_B2S 
ANDROID_SENSOR_FLIP_PICKUP 
ANDROID_SENSOR_ACTIVITY_CLASSIFICATON 
ANDROID_SENSOR_SCREEN_ROTATION 
SELF_TEST 
SETUP 
GENERAL_SENSORS_MAX 

Definition at line 335 of file ICM_20948_DMP.h.

◆ DMP_Data_Output_Control_1_Register_Bits

Enumerator
DMP_Data_Output_Control_1_Step_Ind_0 
DMP_Data_Output_Control_1_Step_Ind_1 
DMP_Data_Output_Control_1_Step_Ind_2 
DMP_Data_Output_Control_1_Header2 
DMP_Data_Output_Control_1_Step_Detector 
DMP_Data_Output_Control_1_Compass_Calibr 
DMP_Data_Output_Control_1_Gyro_Calibr 
DMP_Data_Output_Control_1_Pressure 
DMP_Data_Output_Control_1_Geomag 
DMP_Data_Output_Control_1_PQuat6 
DMP_Data_Output_Control_1_Quat9 
DMP_Data_Output_Control_1_Quat6 
DMP_Data_Output_Control_1_ALS 
DMP_Data_Output_Control_1_Compass 
DMP_Data_Output_Control_1_Gyro 
DMP_Data_Output_Control_1_Accel 

Definition at line 411 of file ICM_20948_DMP.h.

◆ DMP_Data_Output_Control_2_Register_Bits

Enumerator
DMP_Data_Output_Control_2_Secondary_On_Off 
DMP_Data_Output_Control_2_Activity_Recognition_BAC 
DMP_Data_Output_Control_2_Batch_Mode_Enable 
DMP_Data_Output_Control_2_Pickup 
DMP_Data_Output_Control_2_Fsync_Detection 
DMP_Data_Output_Control_2_Compass_Accuracy 
DMP_Data_Output_Control_2_Gyro_Accuracy 
DMP_Data_Output_Control_2_Accel_Accuracy 

Definition at line 431 of file ICM_20948_DMP.h.

◆ DMP_Data_Ready_Status_Register_Bits

Enumerator
DMP_Data_ready_Gyro 
DMP_Data_ready_Accel 
DMP_Data_ready_Secondary_Compass 

Definition at line 404 of file ICM_20948_DMP.h.

◆ DMP_Header2_Bitmap

Enumerator
DMP_header2_bitmap_Secondary_On_Off 
DMP_header2_bitmap_Activity_Recog 
DMP_header2_bitmap_Pickup 
DMP_header2_bitmap_Fsync 
DMP_header2_bitmap_Compass_Accuracy 
DMP_header2_bitmap_Gyro_Accuracy 
DMP_header2_bitmap_Accel_Accuracy 

Definition at line 478 of file ICM_20948_DMP.h.

◆ DMP_Header_Bitmap

Enumerator
DMP_header_bitmap_Header2 
DMP_header_bitmap_Step_Detector 
DMP_header_bitmap_Compass_Calibr 
DMP_header_bitmap_Gyro_Calibr 
DMP_header_bitmap_Pressure 
DMP_header_bitmap_Geomag 
DMP_header_bitmap_PQuat6 
DMP_header_bitmap_Quat9 
DMP_header_bitmap_Quat6 
DMP_header_bitmap_ALS 
DMP_header_bitmap_Compass 
DMP_header_bitmap_Gyro 
DMP_header_bitmap_Accel 

Definition at line 461 of file ICM_20948_DMP.h.

◆ DMP_Motion_Event_Control_Register_Bits

Enumerator
DMP_Motion_Event_Control_Activity_Recog_Pedom_Accel 
DMP_Motion_Event_Control_Bring_Look_To_See 
DMP_Motion_Event_Control_Geomag 
DMP_Motion_Event_Control_Pickup 
DMP_Motion_Event_Control_BTS 
DMP_Motion_Event_Control_9axis 
DMP_Motion_Event_Control_Compass_Calibr 
DMP_Motion_Event_Control_Gyro_Calibr 
DMP_Motion_Event_Control_Accel_Calibr 
DMP_Motion_Event_Control_Significant_Motion_Det 
DMP_Motion_Event_Control_Tilt_Interrupt 
DMP_Motion_Event_Control_Pedometer_Interrupt 
DMP_Motion_Event_Control_Activity_Recog_Pedom 
DMP_Motion_Event_Control_BAC_Wearable 

Definition at line 443 of file ICM_20948_DMP.h.

◆ DMP_ODR_Registers

Enumerator
DMP_ODR_Reg_Accel 
DMP_ODR_Reg_Gyro 
DMP_ODR_Reg_Cpass 
DMP_ODR_Reg_ALS 
DMP_ODR_Reg_Quat6 
DMP_ODR_Reg_Quat9 
DMP_ODR_Reg_PQuat6 
DMP_ODR_Reg_Geomag 
DMP_ODR_Reg_Pressure 
DMP_ODR_Reg_Gyro_Calibr 
DMP_ODR_Reg_Cpass_Calibr 

Definition at line 291 of file ICM_20948_DMP.h.

◆ inv_icm20948_sensor

Sensor identifier for control function.

Enumerator
INV_ICM20948_SENSOR_ACCELEROMETER 
INV_ICM20948_SENSOR_GYROSCOPE 
INV_ICM20948_SENSOR_RAW_ACCELEROMETER 
INV_ICM20948_SENSOR_RAW_GYROSCOPE 
INV_ICM20948_SENSOR_MAGNETIC_FIELD_UNCALIBRATED 
INV_ICM20948_SENSOR_GYROSCOPE_UNCALIBRATED 
INV_ICM20948_SENSOR_ACTIVITY_CLASSIFICATON 
INV_ICM20948_SENSOR_STEP_DETECTOR 
INV_ICM20948_SENSOR_STEP_COUNTER 
INV_ICM20948_SENSOR_GAME_ROTATION_VECTOR 
INV_ICM20948_SENSOR_ROTATION_VECTOR 
INV_ICM20948_SENSOR_GEOMAGNETIC_ROTATION_VECTOR 
INV_ICM20948_SENSOR_GEOMAGNETIC_FIELD 
INV_ICM20948_SENSOR_WAKEUP_SIGNIFICANT_MOTION 
INV_ICM20948_SENSOR_FLIP_PICKUP 
INV_ICM20948_SENSOR_WAKEUP_TILT_DETECTOR 
INV_ICM20948_SENSOR_GRAVITY 
INV_ICM20948_SENSOR_LINEAR_ACCELERATION 
INV_ICM20948_SENSOR_ORIENTATION 
INV_ICM20948_SENSOR_B2S 
INV_ICM20948_SENSOR_RAW_MAGNETOMETER 
INV_ICM20948_SENSOR_MAX 

Definition at line 308 of file ICM_20948_DMP.h.