| ICM42688V eMD Driver 2.0.9 Documentation of the eMD Driver API

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

Icm426xxSelfTest.h
Go to the documentation of this file.
1 /*
2 * ________________________________________________________________________________________________________
3 * Copyright (c) 2015-2015 InvenSense Inc. All rights reserved.
4 *
5 * This software, related documentation and any modifications thereto (collectively “Software”) is subject
6 * to InvenSense and its licensors' intellectual property rights under U.S. and international copyright
7 * and other intellectual property rights laws.
8 *
9 * InvenSense and its licensors retain all intellectual property and proprietary rights in and to the Software
10 * and any use, reproduction, disclosure or distribution of the Software without an express license agreement
11 * from InvenSense is strictly prohibited.
12 *
13 * EXCEPT AS OTHERWISE PROVIDED IN A LICENSE AGREEMENT BETWEEN THE PARTIES, THE SOFTWARE IS
14 * PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
15 * TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
16 * EXCEPT AS OTHERWISE PROVIDED IN A LICENSE AGREEMENT BETWEEN THE PARTIES, IN NO EVENT SHALL
17 * INVENSENSE BE LIABLE FOR ANY DIRECT, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY
18 * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
19 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
20 * OF THE SOFTWARE.
21 * ________________________________________________________________________________________________________
22 */
23
31 #ifndef _INV_ICM426XX_SELFTEST_H_
32 #define _INV_ICM426XX_SELFTEST_H_
33
34 #include "Invn/InvExport.h"
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39
40 /* forward declaration */
41 struct inv_icm426xx;
42
48 int inv_icm426xx_run_selftest(struct inv_icm426xx *s, int *result);
49
58 int inv_icm426xx_get_st_bias(struct inv_icm426xx *s, int st_bias[6]);
59
68 int inv_icm426xx_set_st_bias(struct inv_icm426xx *s, const int st_bias[6]);
69
70 #ifdef __cplusplus
71 }
72 #endif
73
74 #endif /* _INV_ICM426XX_SELFTEST_H_ */
75
inv_icm426xx_run_selftest
int inv_icm426xx_run_selftest(struct inv_icm426xx *s, int *result)
Perform hardware self-test for Accel and Gyro.
inv_icm426xx_set_st_bias
int inv_icm426xx_set_st_bias(struct inv_icm426xx *s, const int st_bias[6])
Apply bias.
inv_icm426xx_get_st_bias
int inv_icm426xx_get_st_bias(struct inv_icm426xx *s, int st_bias[6])
Retrieve bias collected by self-test.
inv_icm426xx
Icm426xx driver states definition.
Definition: Icm426xxDriver_HL.h:171