dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_bmi160.h
Go to the documentation of this file.
1 
15 /*
16  * This program is free software; you can redistribute it and/or modify
17  * it under the terms of the GNU General Public License as published by
18  * the Free Software Foundation; either version 3 of the License, or
19  * (at your option) any later version.
20  *
21  * This program is distributed in the hope that it will be useful, but
22  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
23  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24  * for more details.
25  *
26  * You should have received a copy of the GNU General Public License along
27  * with this program; if not, see <http://www.gnu.org/licenses/>
28  *
29  * Additional note on redistribution: The copyright and license notices above
30  * must be maintained in each individual source file that is a derivative work
31  * of this source file; otherwise redistribution is prohibited.
32  */
33 
34 
35 #ifndef PIOS_BMI160_H
36 #define PIOS_BMI160_H
37 
38 enum pios_bmi160_orientation { // clockwise rotation from board forward
47 };
48 
52 };
53 
59 };
60 
67 };
68 
70  const struct pios_exti_cfg *exti_cfg; /* Pointer to the EXTI configuration */
76 };
77 
78 /* Public Functions */
79 extern int32_t PIOS_BMI160_Init(pios_spi_t spi_id, uint32_t slave_num, const struct pios_bmi160_cfg *cfg, bool do_foc);
80 extern bool PIOS_BMI160_IRQHandler(void);
81 
82 #endif /* PIOS_BMI160_H */
int32_t PIOS_BMI160_Init(pios_spi_t spi_id, uint32_t slave_num, const struct pios_bmi160_cfg *cfg, bool do_foc)
static struct flyingpicmd_cfg_fa cfg
Definition: main.c:49
pios_bmi160_orientation
Definition: pios_bmi160.h:38
pios_bmi160_acc_range
Definition: pios_bmi160.h:54
enum pios_bmi160_orientation orientation
Definition: pios_bmi160.h:71
bool PIOS_BMI160_IRQHandler(void)
uint8_t temperature_interleaving
Definition: pios_bmi160.h:75
enum pios_bmi160_acc_range acc_range
Definition: pios_bmi160.h:73
enum pios_bmi160_odr odr
Definition: pios_bmi160.h:72
pios_bmi160_odr
Definition: pios_bmi160.h:49
const struct pios_exti_cfg * exti_cfg
Definition: pios_bmi160.h:70
enum pios_bmi160_gyro_range gyro_range
Definition: pios_bmi160.h:74
pios_bmi160_gyro_range
Definition: pios_bmi160.h:61