JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <stdint.h>
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 |
#define ACC_SCALE (30 * 16 + 0) |
Definition at line 264 of file ICM_20948_DMP.h.
#define ACC_SCALE2 (79 * 16 + 4) |
Definition at line 265 of file ICM_20948_DMP.h.
#define ACCEL_A_VAR (92 * 16) |
Definition at line 122 of file ICM_20948_DMP.h.
#define ACCEL_ACCURACY (97 * 16) |
Definition at line 115 of file ICM_20948_DMP.h.
#define ACCEL_ALPHA_VAR (91 * 16) |
Definition at line 121 of file ICM_20948_DMP.h.
#define ACCEL_BIAS_X (110 * 16 + 4) |
Definition at line 100 of file ICM_20948_DMP.h.
#define ACCEL_BIAS_Y (110 * 16 + 8) |
Definition at line 101 of file ICM_20948_DMP.h.
#define ACCEL_BIAS_Z (110 * 16 + 12) |
Definition at line 102 of file ICM_20948_DMP.h.
#define ACCEL_CAL_INIT (94 * 16 + 2) |
Definition at line 123 of file ICM_20948_DMP.h.
#define ACCEL_CAL_RATE (94 * 16 + 4) |
Definition at line 118 of file ICM_20948_DMP.h.
#define ACCEL_CAL_RESET (77 * 16) |
Definition at line 116 of file ICM_20948_DMP.h.
#define ACCEL_CAL_SCALE_COVQ_IN_RANGE (194 * 16) |
Definition at line 124 of file ICM_20948_DMP.h.
#define ACCEL_CAL_SCALE_COVQ_OUT_RANGE (195 * 16) |
Definition at line 125 of file ICM_20948_DMP.h.
#define ACCEL_CAL_TEMPERATURE_OFFSET_TRIM (194 * 16 + 12) |
Definition at line 127 of file ICM_20948_DMP.h.
#define ACCEL_CAL_TEMPERATURE_SENSITIVITY (194 * 16 + 4) |
Definition at line 126 of file ICM_20948_DMP.h.
#define ACCEL_COVARIANCE (101 * 16 + 8) |
Definition at line 120 of file ICM_20948_DMP.h.
#define ACCEL_FB_GAIN (34 * 16) |
Definition at line 152 of file ICM_20948_DMP.h.
#define ACCEL_ONLY_GAIN (16 * 16 + 12) |
Definition at line 153 of file ICM_20948_DMP.h.
#define ACCEL_PRE_SENSOR_DATA (97 * 16 + 4) |
Definition at line 119 of file ICM_20948_DMP.h.
#define ACCEL_VARIANCE_THRESH (93 * 16) |
Definition at line 117 of file ICM_20948_DMP.h.
#define B2S_MTX_00 (208 * 16) |
Definition at line 275 of file ICM_20948_DMP.h.
#define B2S_MTX_01 (208 * 16 + 4) |
Definition at line 276 of file ICM_20948_DMP.h.
#define B2S_MTX_02 (208 * 16 + 8) |
Definition at line 277 of file ICM_20948_DMP.h.
#define B2S_MTX_10 (208 * 16 + 12) |
Definition at line 278 of file ICM_20948_DMP.h.
#define B2S_MTX_11 (209 * 16) |
Definition at line 279 of file ICM_20948_DMP.h.
#define B2S_MTX_12 (209 * 16 + 4) |
Definition at line 280 of file ICM_20948_DMP.h.
#define B2S_MTX_20 (209 * 16 + 8) |
Definition at line 281 of file ICM_20948_DMP.h.
#define B2S_MTX_21 (209 * 16 + 12) |
Definition at line 282 of file ICM_20948_DMP.h.
#define B2S_MTX_22 (210 * 16) |
Definition at line 283 of file ICM_20948_DMP.h.
#define B2S_RATE (48 * 16 + 8) |
Definition at line 272 of file ICM_20948_DMP.h.
#define BAC_ACT_OFF (183 * 16 + 0) |
Definition at line 205 of file ICM_20948_DMP.h.
#define BAC_ACT_ON (182 * 16 + 0) |
Definition at line 204 of file ICM_20948_DMP.h.
#define BAC_ACT_ON_OFF (190 * 16 + 2) |
Definition at line 235 of file ICM_20948_DMP.h.
#define BAC_ACT_T_OFF (184 * 16 + 4) |
Definition at line 231 of file ICM_20948_DMP.h.
#define BAC_ACT_T_ON (184 * 16 + 0) |
Definition at line 230 of file ICM_20948_DMP.h.
#define BAC_ACT_WRDBS_OFF (184 * 16 + 12) |
Definition at line 234 of file ICM_20948_DMP.h.
#define BAC_ACT_WRDBS_ON (184 * 16 + 8) |
Definition at line 233 of file ICM_20948_DMP.h.
#define BAC_BIKE_CONFIDENCE (144 * 16 + 12) |
Definition at line 225 of file ICM_20948_DMP.h.
#define BAC_BIKE_PREFERENCE (173 * 16 + 8) |
Definition at line 219 of file ICM_20948_DMP.h.
#define BAC_BIKE_S_F (178 * 16 + 12) |
Definition at line 211 of file ICM_20948_DMP.h.
#define BAC_CNTR (48 * 16 + 2) |
Definition at line 237 of file ICM_20948_DMP.h.
#define BAC_DRIVE_CONFIDENCE (144 * 16 + 0) |
Definition at line 222 of file ICM_20948_DMP.h.
#define BAC_DRIVE_S_F (178 * 16 + 0) |
Definition at line 208 of file ICM_20948_DMP.h.
#define BAC_E1_SHORT (146 * 16 + 0) |
Definition at line 212 of file ICM_20948_DMP.h.
#define BAC_E2_SHORT (146 * 16 + 4) |
Definition at line 213 of file ICM_20948_DMP.h.
#define BAC_E3_SHORT (146 * 16 + 8) |
Definition at line 214 of file ICM_20948_DMP.h.
#define BAC_MAG_I2C_ADDR (229 * 16 + 8) |
Definition at line 220 of file ICM_20948_DMP.h.
#define BAC_MAG_ON (225 * 16 + 0) |
Definition at line 217 of file ICM_20948_DMP.h.
#define BAC_MODE_CNTR (150 * 16) |
Definition at line 228 of file ICM_20948_DMP.h.
#define BAC_PS_I2C_ADDR (75 * 16 + 4) |
Definition at line 221 of file ICM_20948_DMP.h.
#define BAC_PS_ON (74 * 16 + 0) |
Definition at line 218 of file ICM_20948_DMP.h.
#define BAC_RATE (48 * 16 + 10) |
Definition at line 201 of file ICM_20948_DMP.h.
#define BAC_RUN_CONFIDENCE (145 * 16 + 4) |
Definition at line 227 of file ICM_20948_DMP.h.
#define BAC_RUN_S_F (177 * 16 + 4) |
Definition at line 207 of file ICM_20948_DMP.h.
#define BAC_SMD_CONFIDENCE (144 * 16 + 8) |
Definition at line 224 of file ICM_20948_DMP.h.
#define BAC_SMD_S_F (178 * 16 + 8) |
Definition at line 210 of file ICM_20948_DMP.h.
#define BAC_SMD_ST_TH (179 * 16 + 8) |
Definition at line 190 of file ICM_20948_DMP.h.
#define BAC_ST_ALPHA4 (180 * 16 + 12) |
Definition at line 191 of file ICM_20948_DMP.h.
#define BAC_ST_ALPHA4A (176 * 16 + 12) |
Definition at line 192 of file ICM_20948_DMP.h.
#define BAC_STATE (179 * 16 + 0) |
Definition at line 202 of file ICM_20948_DMP.h.
#define BAC_STATE_PREV (179 * 16 + 4) |
Definition at line 203 of file ICM_20948_DMP.h.
#define BAC_STATE_T_PREV (185 * 16 + 4) |
Definition at line 229 of file ICM_20948_DMP.h.
#define BAC_STATE_WRDBS_PREV (185 * 16 + 8) |
Definition at line 232 of file ICM_20948_DMP.h.
#define BAC_STILL_CONFIDENCE (145 * 16 + 0) |
Definition at line 226 of file ICM_20948_DMP.h.
#define BAC_STILL_S_F (177 * 16 + 0) |
Definition at line 206 of file ICM_20948_DMP.h.
#define BAC_TILT_INIT (181 * 16 + 0) |
Definition at line 216 of file ICM_20948_DMP.h.
#define BAC_VAR_RUN (148 * 16 + 12) |
Definition at line 215 of file ICM_20948_DMP.h.
#define BAC_WALK_CONFIDENCE (144 * 16 + 4) |
Definition at line 223 of file ICM_20948_DMP.h.
#define BAC_WALK_S_F (178 * 16 + 4) |
Definition at line 209 of file ICM_20948_DMP.h.
#define BIT_MSG_DMP_INT 0x0002 |
Definition at line 25 of file ICM_20948_DMP.h.
#define BIT_MSG_DMP_INT_0 0x0100 |
Definition at line 26 of file ICM_20948_DMP.h.
#define BIT_MSG_DMP_INT_2 0x0200 |
Definition at line 28 of file ICM_20948_DMP.h.
#define BIT_MSG_DMP_INT_3 0x0400 |
Definition at line 29 of file ICM_20948_DMP.h.
#define BIT_MSG_DMP_INT_4 0x1000 |
Definition at line 31 of file ICM_20948_DMP.h.
#define BIT_MSG_DMP_INT_5 0x2000 |
Definition at line 32 of file ICM_20948_DMP.h.
#define BIT_MSG_DMP_INT_6 0x4000 |
Definition at line 33 of file ICM_20948_DMP.h.
#define BIT_WAKE_ON_MOTION_INT 0x08 |
Definition at line 24 of file ICM_20948_DMP.h.
#define BM_BATCH_CNTR (27 * 16) |
Definition at line 53 of file ICM_20948_DMP.h.
#define BM_BATCH_MASK (21 * 16 + 14) |
Definition at line 55 of file ICM_20948_DMP.h.
#define BM_BATCH_THLD (19 * 16 + 12) |
Definition at line 54 of file ICM_20948_DMP.h.
#define CFG_FIFO_SIZE (4222) |
Definition at line 21 of file ICM_20948_DMP.h.
#define CPASS_ACCURACY (37 * 16) |
Definition at line 129 of file ICM_20948_DMP.h.
#define CPASS_BIAS_OFFSET (113 * 16 + 4) |
Definition at line 141 of file ICM_20948_DMP.h.
#define CPASS_BIAS_SET (34 * 16 + 14) |
Definition at line 130 of file ICM_20948_DMP.h.
#define CPASS_BIAS_X (126 * 16 + 4) |
Definition at line 103 of file ICM_20948_DMP.h.
#define CPASS_BIAS_Y (126 * 16 + 8) |
Definition at line 104 of file ICM_20948_DMP.h.
#define CPASS_BIAS_Z (126 * 16 + 12) |
Definition at line 105 of file ICM_20948_DMP.h.
#define CPASS_CAL_INIT (114 * 16) |
Definition at line 135 of file ICM_20948_DMP.h.
#define CPASS_COUNT_7 (87 * 16 + 2) |
Definition at line 139 of file ICM_20948_DMP.h.
#define CPASS_COVARIANCE (115 * 16) |
Definition at line 132 of file ICM_20948_DMP.h.
#define CPASS_COVARIANCE_CUR (118 * 16 + 8) |
Definition at line 133 of file ICM_20948_DMP.h.
#define CPASS_CUR_BIAS_OFFSET (114 * 16 + 4) |
Definition at line 142 of file ICM_20948_DMP.h.
#define CPASS_EST_FIRST_BIAS (113 * 16) |
Definition at line 136 of file ICM_20948_DMP.h.
#define CPASS_MAX_INNO (124 * 16) |
Definition at line 140 of file ICM_20948_DMP.h.
#define CPASS_MTX_00 (23 * 16) |
Definition at line 84 of file ICM_20948_DMP.h.
#define CPASS_MTX_01 (23 * 16 + 4) |
Definition at line 85 of file ICM_20948_DMP.h.
#define CPASS_MTX_02 (23 * 16 + 8) |
Definition at line 86 of file ICM_20948_DMP.h.
#define CPASS_MTX_10 (23 * 16 + 12) |
Definition at line 87 of file ICM_20948_DMP.h.
#define CPASS_MTX_11 (24 * 16) |
Definition at line 88 of file ICM_20948_DMP.h.
#define CPASS_MTX_12 (24 * 16 + 4) |
Definition at line 89 of file ICM_20948_DMP.h.
#define CPASS_MTX_20 (24 * 16 + 8) |
Definition at line 90 of file ICM_20948_DMP.h.
#define CPASS_MTX_21 (24 * 16 + 12) |
Definition at line 91 of file ICM_20948_DMP.h.
#define CPASS_MTX_22 (25 * 16) |
Definition at line 92 of file ICM_20948_DMP.h.
#define CPASS_PRE_SENSOR_DATA (87 * 16 + 4) |
Definition at line 143 of file ICM_20948_DMP.h.
#define CPASS_RADIUS_3D_THRESH_ANOMALY (112 * 16 + 8) |
Definition at line 147 of file ICM_20948_DMP.h.
#define CPASS_REF_MAG_3D (122 * 16) |
Definition at line 134 of file ICM_20948_DMP.h.
#define CPASS_STATUS_CHK (25 * 16 + 12) |
Definition at line 149 of file ICM_20948_DMP.h.
#define CPASS_TIME_BUFFER (112 * 16 + 14) |
Definition at line 146 of file ICM_20948_DMP.h.
#define CPASS_VAR_COUNT (112 * 16 + 6) |
Definition at line 138 of file ICM_20948_DMP.h.
#define DATA_INTR_CTL (4 * 16 + 12) |
Definition at line 40 of file ICM_20948_DMP.h.
#define DATA_OUT_CTL1 (4 * 16) |
Definition at line 38 of file ICM_20948_DMP.h.
#define DATA_OUT_CTL2 (4 * 16 + 2) |
Definition at line 39 of file ICM_20948_DMP.h.
#define DATA_RDY_STATUS (8 * 16 + 10) |
Definition at line 50 of file ICM_20948_DMP.h.
#define DMP_LOAD_START 0x90 |
Definition at line 19 of file ICM_20948_DMP.h.
#define DMP_MEM_BANK_SIZE 256 |
Definition at line 18 of file ICM_20948_DMP.h.
#define DMP_START_ADDRESS ((unsigned short)0x1000) |
Definition at line 17 of file ICM_20948_DMP.h.
#define DMPRATE_CNTR (18 * 16 + 4) |
Definition at line 162 of file ICM_20948_DMP.h.
#define EIS_AUTH_INPUT (160 * 16 + 4) |
Definition at line 268 of file ICM_20948_DMP.h.
#define EIS_AUTH_OUTPUT (160 * 16 + 0) |
Definition at line 269 of file ICM_20948_DMP.h.
#define FIFO_WATERMARK (31 * 16 + 14) |
Definition at line 41 of file ICM_20948_DMP.h.
#define FP_DEV_IN_POCKET_TH (76 * 16 + 12) |
Definition at line 254 of file ICM_20948_DMP.h.
#define FP_MAX_PICKUP_T_TH (244 * 16 + 12) |
Definition at line 245 of file ICM_20948_DMP.h.
#define FP_MID_STILL_TH (244 * 16 + 8) |
Definition at line 242 of file ICM_20948_DMP.h.
#define FP_MOTION_CONST_TH (240 * 16 + 8) |
Definition at line 248 of file ICM_20948_DMP.h.
#define FP_NOT_STILL_TH (246 * 16 + 8) |
Definition at line 243 of file ICM_20948_DMP.h.
#define FP_PICKUP_CNTR (247 * 16 + 4) |
Definition at line 255 of file ICM_20948_DMP.h.
#define FP_PICKUP_TIMEOUT_TH (248 * 16 + 8) |
Definition at line 246 of file ICM_20948_DMP.h.
#define FP_RATE (240 * 16 + 12) |
Definition at line 256 of file ICM_20948_DMP.h.
#define FP_STEADY_TILT_TH (247 * 16 + 8) |
Definition at line 250 of file ICM_20948_DMP.h.
#define FP_STEADY_TILT_UP_TH (242 * 16 + 12) |
Definition at line 251 of file ICM_20948_DMP.h.
#define FP_STILL_CONST_TH (246 * 16 + 12) |
Definition at line 247 of file ICM_20948_DMP.h.
#define FP_STILL_TH (246 * 16 + 4) |
Definition at line 241 of file ICM_20948_DMP.h.
#define FP_VAR_ALPHA (245 * 16 + 8) |
Definition at line 240 of file ICM_20948_DMP.h.
#define FP_VIB_COUNT_TH (242 * 16 + 8) |
Definition at line 249 of file ICM_20948_DMP.h.
#define FP_VIB_REJ_TH (241 * 16 + 8) |
Definition at line 244 of file ICM_20948_DMP.h.
#define FP_Z_FLAT_TH_MINUS (243 * 16 + 8) |
Definition at line 252 of file ICM_20948_DMP.h.
#define FP_Z_FLAT_TH_PLUS (243 * 16 + 12) |
Definition at line 253 of file ICM_20948_DMP.h.
#define GYRO_ACCURACY (138 * 16 + 2) |
Definition at line 107 of file ICM_20948_DMP.h.
#define GYRO_BIAS_SET (138 * 16 + 6) |
Definition at line 108 of file ICM_20948_DMP.h.
#define GYRO_BIAS_X (139 * 16 + 4) |
Definition at line 97 of file ICM_20948_DMP.h.
#define GYRO_BIAS_Y (139 * 16 + 8) |
Definition at line 98 of file ICM_20948_DMP.h.
#define GYRO_BIAS_Z (139 * 16 + 12) |
Definition at line 99 of file ICM_20948_DMP.h.
#define GYRO_FULLSCALE (72 * 16 + 12) |
Definition at line 259 of file ICM_20948_DMP.h.
#define GYRO_LAST_TEMPR (134 * 16) |
Definition at line 109 of file ICM_20948_DMP.h.
#define GYRO_SF (19 * 16) |
Definition at line 154 of file ICM_20948_DMP.h.
#define GYRO_SLOPE_X (78 * 16 + 4) |
Definition at line 110 of file ICM_20948_DMP.h.
#define GYRO_SLOPE_Y (78 * 16 + 8) |
Definition at line 111 of file ICM_20948_DMP.h.
#define GYRO_SLOPE_Z (78 * 16 + 12) |
Definition at line 112 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Accel_Accuracy_Bytes 2 |
Definition at line 527 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Activity_Recognition_Bytes 6 |
Definition at line 532 of file ICM_20948_DMP.h.
#define icm_20948_DMP_ALS_Bytes 8 |
Definition at line 517 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Compass_Accuracy_Bytes 2 |
Definition at line 529 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Compass_Bytes 6 |
Definition at line 516 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Compass_Calibr_Bytes 12 |
Definition at line 525 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Footer_Bytes 2 |
Definition at line 534 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Fsync_Detection_Bytes 2 |
Definition at line 530 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Geomag_Bytes 14 |
Definition at line 522 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Gyro_Accuracy_Bytes 2 |
Definition at line 528 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Gyro_Bias_Bytes 6 |
Definition at line 515 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Gyro_Calibr_Bytes 12 |
Definition at line 524 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Header2_Bytes 2 |
Definition at line 512 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Header_Bytes 2 |
Definition at line 511 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Maximum_Bytes 14 |
Definition at line 535 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Pickup_Bytes 2 |
Definition at line 531 of file ICM_20948_DMP.h.
#define icm_20948_DMP_PQuat6_Bytes 6 |
Definition at line 521 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Pressure_Bytes 6 |
Definition at line 523 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Quat6_Bytes 12 |
Definition at line 518 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Quat9_Bytes 14 |
Definition at line 519 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Raw_Accel_Bytes 6 |
Definition at line 513 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Raw_Gyro_Bytes 6 |
Definition at line 514 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Secondary_On_Off_Bytes 2 |
Definition at line 533 of file ICM_20948_DMP.h.
#define icm_20948_DMP_Step_Detector_Bytes 4 |
Definition at line 526 of file ICM_20948_DMP.h.
#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.
#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.
#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.
Definition at line 402 of file ICM_20948_DMP.h.
#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.
Definition at line 401 of file ICM_20948_DMP.h.
Definition at line 397 of file ICM_20948_DMP.h.
#define MAG_DISTURB_STATE (113 * 16 + 2) |
Definition at line 137 of file ICM_20948_DMP.h.
#define MAGN_LPF_THR_9X (80 * 16 + 8) |
Definition at line 158 of file ICM_20948_DMP.h.
#define MAGN_THR_9X (80 * 16) |
Definition at line 157 of file ICM_20948_DMP.h.
#define MAR_MODE (37 * 16 + 2) |
Definition at line 131 of file ICM_20948_DMP.h.
#define MOTION_EVENT_CTL (4 * 16 + 14) |
Definition at line 44 of file ICM_20948_DMP.h.
#define ODR_ACCEL (11 * 16 + 14) |
Definition at line 58 of file ICM_20948_DMP.h.
#define ODR_ALS (11 * 16 + 2) |
Definition at line 61 of file ICM_20948_DMP.h.
#define ODR_CNTR_ACCEL (9 * 16 + 14) |
Definition at line 71 of file ICM_20948_DMP.h.
#define ODR_CNTR_ALS (9 * 16 + 2) |
Definition at line 74 of file ICM_20948_DMP.h.
#define ODR_CNTR_CPASS (9 * 16 + 6) |
Definition at line 73 of file ICM_20948_DMP.h.
#define ODR_CNTR_CPASS_CALIBR (9 * 16 + 4) |
Definition at line 81 of file ICM_20948_DMP.h.
#define ODR_CNTR_GEOMAG (8 * 16 + 0) |
Definition at line 78 of file ICM_20948_DMP.h.
#define ODR_CNTR_GYRO (9 * 16 + 10) |
Definition at line 72 of file ICM_20948_DMP.h.
#define ODR_CNTR_GYRO_CALIBR (9 * 16 + 8) |
Definition at line 80 of file ICM_20948_DMP.h.
#define ODR_CNTR_PQUAT6 (8 * 16 + 4) |
Definition at line 77 of file ICM_20948_DMP.h.
#define ODR_CNTR_PRESSURE (9 * 16 + 12) |
Definition at line 79 of file ICM_20948_DMP.h.
#define ODR_CNTR_QUAT6 (8 * 16 + 12) |
Definition at line 75 of file ICM_20948_DMP.h.
#define ODR_CNTR_QUAT9 (8 * 16 + 8) |
Definition at line 76 of file ICM_20948_DMP.h.
#define ODR_CPASS (11 * 16 + 6) |
Definition at line 60 of file ICM_20948_DMP.h.
#define ODR_CPASS_CALIBR (11 * 16 + 4) |
Definition at line 68 of file ICM_20948_DMP.h.
#define ODR_GEOMAG (10 * 16 + 0) |
Definition at line 65 of file ICM_20948_DMP.h.
#define ODR_GYRO (11 * 16 + 10) |
Definition at line 59 of file ICM_20948_DMP.h.
#define ODR_GYRO_CALIBR (11 * 16 + 8) |
Definition at line 67 of file ICM_20948_DMP.h.
#define ODR_PQUAT6 (10 * 16 + 4) |
Definition at line 64 of file ICM_20948_DMP.h.
#define ODR_PRESSURE (11 * 16 + 12) |
Definition at line 66 of file ICM_20948_DMP.h.
#define ODR_QUAT6 (10 * 16 + 12) |
Definition at line 62 of file ICM_20948_DMP.h.
#define ODR_QUAT9 (10 * 16 + 8) |
Definition at line 63 of file ICM_20948_DMP.h.
#define PED_Y_RATIO (17 * 16 + 0) |
Definition at line 183 of file ICM_20948_DMP.h.
#define PEDSTD_BP_A1 (52 * 16 + 12) |
Definition at line 169 of file ICM_20948_DMP.h.
#define PEDSTD_BP_A2 (52 * 16 + 8) |
Definition at line 168 of file ICM_20948_DMP.h.
#define PEDSTD_BP_A3 (52 * 16 + 4) |
Definition at line 167 of file ICM_20948_DMP.h.
#define PEDSTD_BP_A4 (52 * 16) |
Definition at line 166 of file ICM_20948_DMP.h.
#define PEDSTD_BP_B (49 * 16 + 12) |
Definition at line 165 of file ICM_20948_DMP.h.
#define PEDSTD_DECI (58 * 16) |
Definition at line 179 of file ICM_20948_DMP.h.
#define PEDSTD_PEAK (57 * 16 + 4) |
Definition at line 175 of file ICM_20948_DMP.h.
#define PEDSTD_PEAKTHRSH (57 * 16 + 8) |
Definition at line 172 of file ICM_20948_DMP.h.
#define PEDSTD_SB (50 * 16 + 8) |
Definition at line 170 of file ICM_20948_DMP.h.
#define PEDSTD_SB2 (60 * 16 + 14) |
Definition at line 180 of file ICM_20948_DMP.h.
#define PEDSTD_SB_TIME (50 * 16 + 12) |
Definition at line 171 of file ICM_20948_DMP.h.
#define PEDSTD_STEPCTR (54 * 16) |
Definition at line 176 of file ICM_20948_DMP.h.
#define PEDSTD_STEPCTR2 (58 * 16 + 8) |
Definition at line 177 of file ICM_20948_DMP.h.
#define PEDSTD_TIMECTR (60 * 16 + 4) |
Definition at line 178 of file ICM_20948_DMP.h.
#define PEDSTD_TIMH (50 * 16 + 14) |
Definition at line 174 of file ICM_20948_DMP.h.
#define PEDSTD_TIML (50 * 16 + 10) |
Definition at line 173 of file ICM_20948_DMP.h.
#define PEDSTEP_IND (19 * 16 + 4) |
Definition at line 182 of file ICM_20948_DMP.h.
#define PREV_BAC_ACT_ON_OFF (188 * 16 + 2) |
Definition at line 236 of file ICM_20948_DMP.h.
#define Q0_QUAT6 (33 * 16 + 0) |
Definition at line 286 of file ICM_20948_DMP.h.
#define Q1_QUAT6 (33 * 16 + 4) |
Definition at line 287 of file ICM_20948_DMP.h.
#define Q2_QUAT6 (33 * 16 + 8) |
Definition at line 288 of file ICM_20948_DMP.h.
#define Q3_QUAT6 (33 * 16 + 12) |
Definition at line 289 of file ICM_20948_DMP.h.
#define QFB_THR_9X (80 * 16 + 12) |
Definition at line 159 of file ICM_20948_DMP.h.
#define SMD_DRIVE_TIMER_TH (143 * 16 + 8) |
Definition at line 188 of file ICM_20948_DMP.h.
#define SMD_TILT_ANGLE_TH (179 * 16 + 12) |
Definition at line 189 of file ICM_20948_DMP.h.
#define SMD_VAR_TH (141 * 16 + 12) |
Definition at line 186 of file ICM_20948_DMP.h.
#define SMD_VAR_TH_DRIVE (143 * 16 + 12) |
Definition at line 187 of file ICM_20948_DMP.h.
#define STPDET_TIMESTAMP (18 * 16 + 8) |
Definition at line 181 of file ICM_20948_DMP.h.
#define WOM_CNTR_TH (64 * 16 + 12) |
Definition at line 198 of file ICM_20948_DMP.h.
#define WOM_ENABLE (64 * 16 + 14) |
Definition at line 195 of file ICM_20948_DMP.h.
#define WOM_STATUS (64 * 16 + 6) |
Definition at line 196 of file ICM_20948_DMP.h.
#define WOM_THRESHOLD_DMP (64 * 16) |
Definition at line 197 of file ICM_20948_DMP.h.
enum ANDROID_SENSORS |
Definition at line 335 of file ICM_20948_DMP.h.
Definition at line 411 of file ICM_20948_DMP.h.
Definition at line 431 of file ICM_20948_DMP.h.
Enumerator | |
---|---|
DMP_Data_ready_Gyro | |
DMP_Data_ready_Accel | |
DMP_Data_ready_Secondary_Compass |
Definition at line 404 of file ICM_20948_DMP.h.
enum DMP_Header2_Bitmap |
Definition at line 478 of file ICM_20948_DMP.h.
enum DMP_Header_Bitmap |
Definition at line 461 of file ICM_20948_DMP.h.
Definition at line 443 of file ICM_20948_DMP.h.
enum DMP_ODR_Registers |
Definition at line 291 of file ICM_20948_DMP.h.
enum inv_icm20948_sensor |
Sensor identifier for control function.
Definition at line 308 of file ICM_20948_DMP.h.