| eMD IIM4265x Driver API 1.0.0

Ixm42xxxSelfTest.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
34 #ifndef _INV_IXM42XXX_SELFTEST_H_
35 #define _INV_IXM42XXX_SELFTEST_H_
36
37 #include "Invn/InvExport.h"
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42
43 /* forward declaration */
44 struct inv_ixm42xxx;
45
51 int inv_ixm42xxx_run_selftest(struct inv_ixm42xxx * s, int * result);
52
61 int inv_ixm42xxx_get_st_bias(struct inv_ixm42xxx * s, int st_bias[6]);
62
71 int inv_ixm42xxx_set_st_bias(struct inv_ixm42xxx * s, const int st_bias[6]);
72
73 #ifdef __cplusplus
74 }
75 #endif
76
77 #endif /* _INV_IXM42XXX_SELFTEST_H_ */
78
inv_ixm42xxx_run_selftest
int inv_ixm42xxx_run_selftest(struct inv_ixm42xxx *s, int *result)
Perform hardware self-test for Accel and Gyro.
Definition: Ixm42xxxSelfTest.c:101
inv_ixm42xxx
Ixm42xxx driver states definition.
Definition: Ixm42xxxDriver_HL.h:164
inv_ixm42xxx_get_st_bias
int inv_ixm42xxx_get_st_bias(struct inv_ixm42xxx *s, int st_bias[6])
Retrieve bias collected by self-test.
Definition: Ixm42xxxSelfTest.c:134
inv_ixm42xxx_set_st_bias
int inv_ixm42xxx_set_st_bias(struct inv_ixm42xxx *s, const int st_bias[6])
Apply bias.
Definition: Ixm42xxxSelfTest.c:157