dRonin
adbada4
dRonin firmware
|
Go to the source code of this file.
Data Structures | |
struct | pios_bmi160_cfg |
Enumerations | |
enum | pios_bmi160_orientation { PIOS_BMI160_TOP_0DEG, PIOS_BMI160_TOP_90DEG, PIOS_BMI160_TOP_180DEG, PIOS_BMI160_TOP_270DEG, PIOS_BMI160_BOTTOM_0DEG, PIOS_BMI160_BOTTOM_90DEG, PIOS_BMI160_BOTTOM_180DEG, PIOS_BMI160_BOTTOM_270DEG } |
enum | pios_bmi160_odr { PIOS_BMI160_ODR_800_Hz = 0x0B, PIOS_BMI160_ODR_1600_Hz = 0x0C } |
enum | pios_bmi160_acc_range { PIOS_BMI160_RANGE_2G = 0x03, PIOS_BMI160_RANGE_4G = 0x05, PIOS_BMI160_RANGE_8G = 0x08, PIOS_BMI160_RANGE_16G = 0x0C } |
enum | pios_bmi160_gyro_range { PIOS_BMI160_RANGE_125DPS = 0x04, PIOS_BMI160_RANGE_250DPS = 0x03, PIOS_BMI160_RANGE_500DPS = 0x02, PIOS_BMI160_RANGE_1000DPS = 0x01, PIOS_BMI160_RANGE_2000DPS = 0x00 } |
Functions | |
int32_t | PIOS_BMI160_Init (pios_spi_t spi_id, uint32_t slave_num, const struct pios_bmi160_cfg *cfg, bool do_foc) |
bool | PIOS_BMI160_IRQHandler (void) |