2 * Copyright (C) 2012 Invensense, Inc.
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
17 * @brief Hardware drivers.
21 * @brief dmp map definition
22 * @details This file is part of invensense mpu driver code
43 #define DMP_BIASUNC 20
45 #define DMP_INVGSFH 24
46 #define DMP_INVGSFL 26
49 #define DMP_BLPFSTCH 32
50 #define DMP_BLPFSTCL 34
51 #define DMP_BLPFSXH 36
52 #define DMP_BLPFSXL 38
53 #define DMP_BLPFSYH 40
54 #define DMP_BLPFSYL 42
55 #define DMP_BLPFSZH 44
56 #define DMP_BLPFSZL 46
57 #define DMP_BLPFMTC 48
59 #define DMP_BLPFMXH 52
60 #define DMP_BLPFMXL 54
61 #define DMP_BLPFMYH 56
62 #define DMP_BLPFMYL 58
63 #define DMP_BLPFMZH 60
64 #define DMP_BLPFMZL 62
71 #define DMP_BERR2NH 76
73 #define DMP_ANGVBXH 80
74 #define DMP_ANGVBXL 82
75 #define DMP_ANGVBYH 84
76 #define DMP_ANGVBYL 86
77 #define DMP_ANGVBZH 88
78 #define DMP_ANGVBZL 90
82 #define DMP_BIASUNCSF 98
97 #define DMP_TMP1AH 128
98 #define DMP_TMP1AL 130
99 #define DMP_TMP2AH 132
100 #define DMP_TMP2AL 134
101 #define DMP_TMP3AH 136
102 #define DMP_TMP3AL 138
103 #define DMP_TMP4AH 140
104 #define DMP_TMP4AL 142
105 #define DMP_XACCW 144
107 #define DMP_XACCB 148
109 #define DMP_YACCB 152
111 #define DMP_ZACCB 156
112 #define DMP_TMP10 158
121 #define DMP_YACCW 176
123 #define DMP_AFB1H 180
124 #define DMP_AFB1L 182
125 #define DMP_AFB2H 184
126 #define DMP_AFB2L 186
127 #define DMP_MAGFBH 188
128 #define DMP_MAGFBL 190
137 #define DMP_CTRL1H 208
138 #define DMP_CTRL1L 210
139 #define DMP_CTRL2H 212
140 #define DMP_CTRL2L 214
141 #define DMP_CTRL3H 216
142 #define DMP_CTRL3L 218
143 #define DMP_CTRL4H 220
144 #define DMP_CTRL4L 222
145 #define DMP_CTRLS1 224
146 #define DMP_CTRLSF1 226
147 #define DMP_CTRLS2 228
148 #define DMP_CTRLSF2 230
149 #define DMP_CTRLS3 232
150 #define DMP_CTRLSFNLL 234
151 #define DMP_CTRLS4 236
152 #define DMP_CTRLSFNL2 238
153 #define DMP_CTRLSFNL 240
154 #define DMP_TMP30 242
155 #define DMP_CTRLSFJT 244
156 #define DMP_TMP31 246
157 #define DMP_TMP11 248
158 #define DMP_CTRLSF2_2 250
159 #define DMP_TMP12 252
160 #define DMP_CTRLSF1_2 254
161 #define DMP_PREVPTAT 256
162 #define DMP_ACCZB 258
163 #define DMP_ACCXB 264
164 #define DMP_ACCYB 266
169 #define DMP_ASR22H 280
170 #define DMP_ASR22L 282
171 #define DMP_ASR6H 284
172 #define DMP_ASR6L 286
173 #define DMP_TMP13 288
174 #define DMP_TMP14 290
175 #define DMP_FINTXH 292
176 #define DMP_FINTXL 294
177 #define DMP_FINTYH 296
178 #define DMP_FINTYL 298
179 #define DMP_FINTZH 300
180 #define DMP_FINTZL 302
181 #define DMP_TMP1BH 304
182 #define DMP_TMP1BL 306
183 #define DMP_TMP2BH 308
184 #define DMP_TMP2BL 310
185 #define DMP_TMP3BH 312
186 #define DMP_TMP3BL 314
187 #define DMP_TMP4BH 316
188 #define DMP_TMP4BL 318
190 #define DMP_ZCTXG 322
192 #define DMP_ZCTYG 326
194 #define DMP_ZCTZG 330
195 #define DMP_CTRLSFJT2 332
196 #define DMP_CTRLSFJTCNT 334
198 #define DMP_TMP15 338
200 #define DMP_TMP16 342
202 #define DMP_TMP17 346
203 #define DMP_MNMFLAGH 352
204 #define DMP_MNMFLAGL 354
205 #define DMP_MNMTMH 356
206 #define DMP_MNMTML 358
207 #define DMP_MNMTMTHRH 360
208 #define DMP_MNMTMTHRL 362
209 #define DMP_MNMTHRH 364
210 #define DMP_MNMTHRL 366
211 #define DMP_ACCQD4H 368
212 #define DMP_ACCQD4L 370
213 #define DMP_ACCQD5H 372
214 #define DMP_ACCQD5L 374
215 #define DMP_ACCQD6H 376
216 #define DMP_ACCQD6L 378
217 #define DMP_ACCQD7H 380
218 #define DMP_ACCQD7L 382
219 #define DMP_ACCQD0H 384
220 #define DMP_ACCQD0L 386
221 #define DMP_ACCQD1H 388
222 #define DMP_ACCQD1L 390
223 #define DMP_ACCQD2H 392
224 #define DMP_ACCQD2L 394
225 #define DMP_ACCQD3H 396
226 #define DMP_ACCQD3L 398
244 #define DMP_FIFOCNT 434
245 #define DMP_SH_TH_X 436
246 #define DMP_PACKET 438
247 #define DMP_SH_TH_Y 440
248 #define DMP_FOOTER 442
249 #define DMP_SH_TH_Z 444
250 #define DMP_TEMP29 448
251 #define DMP_TEMP30 450
252 #define DMP_XACCB_PRE 452
253 #define DMP_XACCB_PREL 454
254 #define DMP_YACCB_PRE 456
255 #define DMP_YACCB_PREL 458
256 #define DMP_ZACCB_PRE 460
257 #define DMP_ZACCB_PREL 462
258 #define DMP_TMP22 464
259 #define DMP_TAP_TIMER 466
260 #define DMP_TAP_THX 468
261 #define DMP_TAP_THY 472
262 #define DMP_TAP_THZ 476
263 #define DMP_TAPW_MIN 478
264 #define DMP_TMP25 480
265 #define DMP_TMP26 482
266 #define DMP_TMP27 484
267 #define DMP_TMP28 486
268 #define DMP_ORIENT 488
269 #define DMP_THRSH 490
270 #define DMP_ENDIANH 492
271 #define DMP_ENDIANL 494
272 #define DMP_BLPFNMTCH 496
273 #define DMP_BLPFNMTCL 498
274 #define DMP_BLPFNMXH 500
275 #define DMP_BLPFNMXL 502
276 #define DMP_BLPFNMYH 504
277 #define DMP_BLPFNMYL 506
278 #define DMP_BLPFNMZH 508
279 #define DMP_BLPFNMZL 510