fork of the Seeed Studio port of the InvenSense MPU6050 driver

Fork of eMPL_MPU6050 by Seeed

Committer:
sclassen
Date:
Thu Mar 10 05:34:59 2016 +0000
Revision:
2:9f98336fa3cc
Parent:
0:1b6dab73c06b
avoid prints to stdio

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yihui 0:1b6dab73c06b 1 /*
yihui 0:1b6dab73c06b 2 $License:
yihui 0:1b6dab73c06b 3 Copyright (C) 2011 InvenSense Corporation, All Rights Reserved.
yihui 0:1b6dab73c06b 4 $
yihui 0:1b6dab73c06b 5 */
yihui 0:1b6dab73c06b 6 #ifndef DMPMAP_H
yihui 0:1b6dab73c06b 7 #define DMPMAP_H
yihui 0:1b6dab73c06b 8
yihui 0:1b6dab73c06b 9 #ifdef __cplusplus
yihui 0:1b6dab73c06b 10 extern "C"
yihui 0:1b6dab73c06b 11 {
yihui 0:1b6dab73c06b 12 #endif
yihui 0:1b6dab73c06b 13
yihui 0:1b6dab73c06b 14 #define DMP_PTAT 0
yihui 0:1b6dab73c06b 15 #define DMP_XGYR 2
yihui 0:1b6dab73c06b 16 #define DMP_YGYR 4
yihui 0:1b6dab73c06b 17 #define DMP_ZGYR 6
yihui 0:1b6dab73c06b 18 #define DMP_XACC 8
yihui 0:1b6dab73c06b 19 #define DMP_YACC 10
yihui 0:1b6dab73c06b 20 #define DMP_ZACC 12
yihui 0:1b6dab73c06b 21 #define DMP_ADC1 14
yihui 0:1b6dab73c06b 22 #define DMP_ADC2 16
yihui 0:1b6dab73c06b 23 #define DMP_ADC3 18
yihui 0:1b6dab73c06b 24 #define DMP_BIASUNC 20
yihui 0:1b6dab73c06b 25 #define DMP_FIFORT 22
yihui 0:1b6dab73c06b 26 #define DMP_INVGSFH 24
yihui 0:1b6dab73c06b 27 #define DMP_INVGSFL 26
yihui 0:1b6dab73c06b 28 #define DMP_1H 28
yihui 0:1b6dab73c06b 29 #define DMP_1L 30
yihui 0:1b6dab73c06b 30 #define DMP_BLPFSTCH 32
yihui 0:1b6dab73c06b 31 #define DMP_BLPFSTCL 34
yihui 0:1b6dab73c06b 32 #define DMP_BLPFSXH 36
yihui 0:1b6dab73c06b 33 #define DMP_BLPFSXL 38
yihui 0:1b6dab73c06b 34 #define DMP_BLPFSYH 40
yihui 0:1b6dab73c06b 35 #define DMP_BLPFSYL 42
yihui 0:1b6dab73c06b 36 #define DMP_BLPFSZH 44
yihui 0:1b6dab73c06b 37 #define DMP_BLPFSZL 46
yihui 0:1b6dab73c06b 38 #define DMP_BLPFMTC 48
yihui 0:1b6dab73c06b 39 #define DMP_SMC 50
yihui 0:1b6dab73c06b 40 #define DMP_BLPFMXH 52
yihui 0:1b6dab73c06b 41 #define DMP_BLPFMXL 54
yihui 0:1b6dab73c06b 42 #define DMP_BLPFMYH 56
yihui 0:1b6dab73c06b 43 #define DMP_BLPFMYL 58
yihui 0:1b6dab73c06b 44 #define DMP_BLPFMZH 60
yihui 0:1b6dab73c06b 45 #define DMP_BLPFMZL 62
yihui 0:1b6dab73c06b 46 #define DMP_BLPFC 64
yihui 0:1b6dab73c06b 47 #define DMP_SMCTH 66
yihui 0:1b6dab73c06b 48 #define DMP_0H2 68
yihui 0:1b6dab73c06b 49 #define DMP_0L2 70
yihui 0:1b6dab73c06b 50 #define DMP_BERR2H 72
yihui 0:1b6dab73c06b 51 #define DMP_BERR2L 74
yihui 0:1b6dab73c06b 52 #define DMP_BERR2NH 76
yihui 0:1b6dab73c06b 53 #define DMP_SMCINC 78
yihui 0:1b6dab73c06b 54 #define DMP_ANGVBXH 80
yihui 0:1b6dab73c06b 55 #define DMP_ANGVBXL 82
yihui 0:1b6dab73c06b 56 #define DMP_ANGVBYH 84
yihui 0:1b6dab73c06b 57 #define DMP_ANGVBYL 86
yihui 0:1b6dab73c06b 58 #define DMP_ANGVBZH 88
yihui 0:1b6dab73c06b 59 #define DMP_ANGVBZL 90
yihui 0:1b6dab73c06b 60 #define DMP_BERR1H 92
yihui 0:1b6dab73c06b 61 #define DMP_BERR1L 94
yihui 0:1b6dab73c06b 62 #define DMP_ATCH 96
yihui 0:1b6dab73c06b 63 #define DMP_BIASUNCSF 98
yihui 0:1b6dab73c06b 64 #define DMP_ACT2H 100
yihui 0:1b6dab73c06b 65 #define DMP_ACT2L 102
yihui 0:1b6dab73c06b 66 #define DMP_GSFH 104
yihui 0:1b6dab73c06b 67 #define DMP_GSFL 106
yihui 0:1b6dab73c06b 68 #define DMP_GH 108
yihui 0:1b6dab73c06b 69 #define DMP_GL 110
yihui 0:1b6dab73c06b 70 #define DMP_0_5H 112
yihui 0:1b6dab73c06b 71 #define DMP_0_5L 114
yihui 0:1b6dab73c06b 72 #define DMP_0_0H 116
yihui 0:1b6dab73c06b 73 #define DMP_0_0L 118
yihui 0:1b6dab73c06b 74 #define DMP_1_0H 120
yihui 0:1b6dab73c06b 75 #define DMP_1_0L 122
yihui 0:1b6dab73c06b 76 #define DMP_1_5H 124
yihui 0:1b6dab73c06b 77 #define DMP_1_5L 126
yihui 0:1b6dab73c06b 78 #define DMP_TMP1AH 128
yihui 0:1b6dab73c06b 79 #define DMP_TMP1AL 130
yihui 0:1b6dab73c06b 80 #define DMP_TMP2AH 132
yihui 0:1b6dab73c06b 81 #define DMP_TMP2AL 134
yihui 0:1b6dab73c06b 82 #define DMP_TMP3AH 136
yihui 0:1b6dab73c06b 83 #define DMP_TMP3AL 138
yihui 0:1b6dab73c06b 84 #define DMP_TMP4AH 140
yihui 0:1b6dab73c06b 85 #define DMP_TMP4AL 142
yihui 0:1b6dab73c06b 86 #define DMP_XACCW 144
yihui 0:1b6dab73c06b 87 #define DMP_TMP5 146
yihui 0:1b6dab73c06b 88 #define DMP_XACCB 148
yihui 0:1b6dab73c06b 89 #define DMP_TMP8 150
yihui 0:1b6dab73c06b 90 #define DMP_YACCB 152
yihui 0:1b6dab73c06b 91 #define DMP_TMP9 154
yihui 0:1b6dab73c06b 92 #define DMP_ZACCB 156
yihui 0:1b6dab73c06b 93 #define DMP_TMP10 158
yihui 0:1b6dab73c06b 94 #define DMP_DZH 160
yihui 0:1b6dab73c06b 95 #define DMP_DZL 162
yihui 0:1b6dab73c06b 96 #define DMP_XGCH 164
yihui 0:1b6dab73c06b 97 #define DMP_XGCL 166
yihui 0:1b6dab73c06b 98 #define DMP_YGCH 168
yihui 0:1b6dab73c06b 99 #define DMP_YGCL 170
yihui 0:1b6dab73c06b 100 #define DMP_ZGCH 172
yihui 0:1b6dab73c06b 101 #define DMP_ZGCL 174
yihui 0:1b6dab73c06b 102 #define DMP_YACCW 176
yihui 0:1b6dab73c06b 103 #define DMP_TMP7 178
yihui 0:1b6dab73c06b 104 #define DMP_AFB1H 180
yihui 0:1b6dab73c06b 105 #define DMP_AFB1L 182
yihui 0:1b6dab73c06b 106 #define DMP_AFB2H 184
yihui 0:1b6dab73c06b 107 #define DMP_AFB2L 186
yihui 0:1b6dab73c06b 108 #define DMP_MAGFBH 188
yihui 0:1b6dab73c06b 109 #define DMP_MAGFBL 190
yihui 0:1b6dab73c06b 110 #define DMP_QT1H 192
yihui 0:1b6dab73c06b 111 #define DMP_QT1L 194
yihui 0:1b6dab73c06b 112 #define DMP_QT2H 196
yihui 0:1b6dab73c06b 113 #define DMP_QT2L 198
yihui 0:1b6dab73c06b 114 #define DMP_QT3H 200
yihui 0:1b6dab73c06b 115 #define DMP_QT3L 202
yihui 0:1b6dab73c06b 116 #define DMP_QT4H 204
yihui 0:1b6dab73c06b 117 #define DMP_QT4L 206
yihui 0:1b6dab73c06b 118 #define DMP_CTRL1H 208
yihui 0:1b6dab73c06b 119 #define DMP_CTRL1L 210
yihui 0:1b6dab73c06b 120 #define DMP_CTRL2H 212
yihui 0:1b6dab73c06b 121 #define DMP_CTRL2L 214
yihui 0:1b6dab73c06b 122 #define DMP_CTRL3H 216
yihui 0:1b6dab73c06b 123 #define DMP_CTRL3L 218
yihui 0:1b6dab73c06b 124 #define DMP_CTRL4H 220
yihui 0:1b6dab73c06b 125 #define DMP_CTRL4L 222
yihui 0:1b6dab73c06b 126 #define DMP_CTRLS1 224
yihui 0:1b6dab73c06b 127 #define DMP_CTRLSF1 226
yihui 0:1b6dab73c06b 128 #define DMP_CTRLS2 228
yihui 0:1b6dab73c06b 129 #define DMP_CTRLSF2 230
yihui 0:1b6dab73c06b 130 #define DMP_CTRLS3 232
yihui 0:1b6dab73c06b 131 #define DMP_CTRLSFNLL 234
yihui 0:1b6dab73c06b 132 #define DMP_CTRLS4 236
yihui 0:1b6dab73c06b 133 #define DMP_CTRLSFNL2 238
yihui 0:1b6dab73c06b 134 #define DMP_CTRLSFNL 240
yihui 0:1b6dab73c06b 135 #define DMP_TMP30 242
yihui 0:1b6dab73c06b 136 #define DMP_CTRLSFJT 244
yihui 0:1b6dab73c06b 137 #define DMP_TMP31 246
yihui 0:1b6dab73c06b 138 #define DMP_TMP11 248
yihui 0:1b6dab73c06b 139 #define DMP_CTRLSF2_2 250
yihui 0:1b6dab73c06b 140 #define DMP_TMP12 252
yihui 0:1b6dab73c06b 141 #define DMP_CTRLSF1_2 254
yihui 0:1b6dab73c06b 142 #define DMP_PREVPTAT 256
yihui 0:1b6dab73c06b 143 #define DMP_ACCZB 258
yihui 0:1b6dab73c06b 144 #define DMP_ACCXB 264
yihui 0:1b6dab73c06b 145 #define DMP_ACCYB 266
yihui 0:1b6dab73c06b 146 #define DMP_1HB 272
yihui 0:1b6dab73c06b 147 #define DMP_1LB 274
yihui 0:1b6dab73c06b 148 #define DMP_0H 276
yihui 0:1b6dab73c06b 149 #define DMP_0L 278
yihui 0:1b6dab73c06b 150 #define DMP_ASR22H 280
yihui 0:1b6dab73c06b 151 #define DMP_ASR22L 282
yihui 0:1b6dab73c06b 152 #define DMP_ASR6H 284
yihui 0:1b6dab73c06b 153 #define DMP_ASR6L 286
yihui 0:1b6dab73c06b 154 #define DMP_TMP13 288
yihui 0:1b6dab73c06b 155 #define DMP_TMP14 290
yihui 0:1b6dab73c06b 156 #define DMP_FINTXH 292
yihui 0:1b6dab73c06b 157 #define DMP_FINTXL 294
yihui 0:1b6dab73c06b 158 #define DMP_FINTYH 296
yihui 0:1b6dab73c06b 159 #define DMP_FINTYL 298
yihui 0:1b6dab73c06b 160 #define DMP_FINTZH 300
yihui 0:1b6dab73c06b 161 #define DMP_FINTZL 302
yihui 0:1b6dab73c06b 162 #define DMP_TMP1BH 304
yihui 0:1b6dab73c06b 163 #define DMP_TMP1BL 306
yihui 0:1b6dab73c06b 164 #define DMP_TMP2BH 308
yihui 0:1b6dab73c06b 165 #define DMP_TMP2BL 310
yihui 0:1b6dab73c06b 166 #define DMP_TMP3BH 312
yihui 0:1b6dab73c06b 167 #define DMP_TMP3BL 314
yihui 0:1b6dab73c06b 168 #define DMP_TMP4BH 316
yihui 0:1b6dab73c06b 169 #define DMP_TMP4BL 318
yihui 0:1b6dab73c06b 170 #define DMP_STXG 320
yihui 0:1b6dab73c06b 171 #define DMP_ZCTXG 322
yihui 0:1b6dab73c06b 172 #define DMP_STYG 324
yihui 0:1b6dab73c06b 173 #define DMP_ZCTYG 326
yihui 0:1b6dab73c06b 174 #define DMP_STZG 328
yihui 0:1b6dab73c06b 175 #define DMP_ZCTZG 330
yihui 0:1b6dab73c06b 176 #define DMP_CTRLSFJT2 332
yihui 0:1b6dab73c06b 177 #define DMP_CTRLSFJTCNT 334
yihui 0:1b6dab73c06b 178 #define DMP_PVXG 336
yihui 0:1b6dab73c06b 179 #define DMP_TMP15 338
yihui 0:1b6dab73c06b 180 #define DMP_PVYG 340
yihui 0:1b6dab73c06b 181 #define DMP_TMP16 342
yihui 0:1b6dab73c06b 182 #define DMP_PVZG 344
yihui 0:1b6dab73c06b 183 #define DMP_TMP17 346
yihui 0:1b6dab73c06b 184 #define DMP_MNMFLAGH 352
yihui 0:1b6dab73c06b 185 #define DMP_MNMFLAGL 354
yihui 0:1b6dab73c06b 186 #define DMP_MNMTMH 356
yihui 0:1b6dab73c06b 187 #define DMP_MNMTML 358
yihui 0:1b6dab73c06b 188 #define DMP_MNMTMTHRH 360
yihui 0:1b6dab73c06b 189 #define DMP_MNMTMTHRL 362
yihui 0:1b6dab73c06b 190 #define DMP_MNMTHRH 364
yihui 0:1b6dab73c06b 191 #define DMP_MNMTHRL 366
yihui 0:1b6dab73c06b 192 #define DMP_ACCQD4H 368
yihui 0:1b6dab73c06b 193 #define DMP_ACCQD4L 370
yihui 0:1b6dab73c06b 194 #define DMP_ACCQD5H 372
yihui 0:1b6dab73c06b 195 #define DMP_ACCQD5L 374
yihui 0:1b6dab73c06b 196 #define DMP_ACCQD6H 376
yihui 0:1b6dab73c06b 197 #define DMP_ACCQD6L 378
yihui 0:1b6dab73c06b 198 #define DMP_ACCQD7H 380
yihui 0:1b6dab73c06b 199 #define DMP_ACCQD7L 382
yihui 0:1b6dab73c06b 200 #define DMP_ACCQD0H 384
yihui 0:1b6dab73c06b 201 #define DMP_ACCQD0L 386
yihui 0:1b6dab73c06b 202 #define DMP_ACCQD1H 388
yihui 0:1b6dab73c06b 203 #define DMP_ACCQD1L 390
yihui 0:1b6dab73c06b 204 #define DMP_ACCQD2H 392
yihui 0:1b6dab73c06b 205 #define DMP_ACCQD2L 394
yihui 0:1b6dab73c06b 206 #define DMP_ACCQD3H 396
yihui 0:1b6dab73c06b 207 #define DMP_ACCQD3L 398
yihui 0:1b6dab73c06b 208 #define DMP_XN2H 400
yihui 0:1b6dab73c06b 209 #define DMP_XN2L 402
yihui 0:1b6dab73c06b 210 #define DMP_XN1H 404
yihui 0:1b6dab73c06b 211 #define DMP_XN1L 406
yihui 0:1b6dab73c06b 212 #define DMP_YN2H 408
yihui 0:1b6dab73c06b 213 #define DMP_YN2L 410
yihui 0:1b6dab73c06b 214 #define DMP_YN1H 412
yihui 0:1b6dab73c06b 215 #define DMP_YN1L 414
yihui 0:1b6dab73c06b 216 #define DMP_YH 416
yihui 0:1b6dab73c06b 217 #define DMP_YL 418
yihui 0:1b6dab73c06b 218 #define DMP_B0H 420
yihui 0:1b6dab73c06b 219 #define DMP_B0L 422
yihui 0:1b6dab73c06b 220 #define DMP_A1H 424
yihui 0:1b6dab73c06b 221 #define DMP_A1L 426
yihui 0:1b6dab73c06b 222 #define DMP_A2H 428
yihui 0:1b6dab73c06b 223 #define DMP_A2L 430
yihui 0:1b6dab73c06b 224 #define DMP_SEM1 432
yihui 0:1b6dab73c06b 225 #define DMP_FIFOCNT 434
yihui 0:1b6dab73c06b 226 #define DMP_SH_TH_X 436
yihui 0:1b6dab73c06b 227 #define DMP_PACKET 438
yihui 0:1b6dab73c06b 228 #define DMP_SH_TH_Y 440
yihui 0:1b6dab73c06b 229 #define DMP_FOOTER 442
yihui 0:1b6dab73c06b 230 #define DMP_SH_TH_Z 444
yihui 0:1b6dab73c06b 231 #define DMP_TEMP29 448
yihui 0:1b6dab73c06b 232 #define DMP_TEMP30 450
yihui 0:1b6dab73c06b 233 #define DMP_XACCB_PRE 452
yihui 0:1b6dab73c06b 234 #define DMP_XACCB_PREL 454
yihui 0:1b6dab73c06b 235 #define DMP_YACCB_PRE 456
yihui 0:1b6dab73c06b 236 #define DMP_YACCB_PREL 458
yihui 0:1b6dab73c06b 237 #define DMP_ZACCB_PRE 460
yihui 0:1b6dab73c06b 238 #define DMP_ZACCB_PREL 462
yihui 0:1b6dab73c06b 239 #define DMP_TMP22 464
yihui 0:1b6dab73c06b 240 #define DMP_TAP_TIMER 466
yihui 0:1b6dab73c06b 241 #define DMP_TAP_THX 468
yihui 0:1b6dab73c06b 242 #define DMP_TAP_THY 472
yihui 0:1b6dab73c06b 243 #define DMP_TAP_THZ 476
yihui 0:1b6dab73c06b 244 #define DMP_TAPW_MIN 478
yihui 0:1b6dab73c06b 245 #define DMP_TMP25 480
yihui 0:1b6dab73c06b 246 #define DMP_TMP26 482
yihui 0:1b6dab73c06b 247 #define DMP_TMP27 484
yihui 0:1b6dab73c06b 248 #define DMP_TMP28 486
yihui 0:1b6dab73c06b 249 #define DMP_ORIENT 488
yihui 0:1b6dab73c06b 250 #define DMP_THRSH 490
yihui 0:1b6dab73c06b 251 #define DMP_ENDIANH 492
yihui 0:1b6dab73c06b 252 #define DMP_ENDIANL 494
yihui 0:1b6dab73c06b 253 #define DMP_BLPFNMTCH 496
yihui 0:1b6dab73c06b 254 #define DMP_BLPFNMTCL 498
yihui 0:1b6dab73c06b 255 #define DMP_BLPFNMXH 500
yihui 0:1b6dab73c06b 256 #define DMP_BLPFNMXL 502
yihui 0:1b6dab73c06b 257 #define DMP_BLPFNMYH 504
yihui 0:1b6dab73c06b 258 #define DMP_BLPFNMYL 506
yihui 0:1b6dab73c06b 259 #define DMP_BLPFNMZH 508
yihui 0:1b6dab73c06b 260 #define DMP_BLPFNMZL 510
yihui 0:1b6dab73c06b 261 #ifdef __cplusplus
yihui 0:1b6dab73c06b 262 }
yihui 0:1b6dab73c06b 263 #endif
yihui 0:1b6dab73c06b 264 #endif // DMPMAP_H