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