BMI088 IMU driver.
More...
#include "bmi088.h"
#include <stdbool.h>
#include <stdint.h>
#include "common/phal/spi.h"
#include "common_defs.h"
#include "main.h"
◆ BMI088_gyroOK()
Do self test of gyroscope.
- Parameters
-
- Returns
- true gyro is OK
-
false not good
◆ BMI088_gyroSelfTestComplete()
Check the status of the most recent Gyro self test.
- Returns
- true Self test passed, gyro data is good
-
false Self test failed, gyro data bad or no test was conduced
◆ BMI088_gyroSelfTestPass()
Check the status of the most recent Gyro self test.
- Returns
- true Self test passed, gyro data is good
-
false Self test failed, gyro data bad or no test was conduced
◆ BMI088_gyroSelfTestStart()
Start the gyro self test.
- Returns
- true
-
false
◆ BMI088_init()
- Parameters
-
- Returns
- true
-
false
◆ BMI088_initAccel()
Setup the accelerometer, must be done 50ms or longer after POR.
- Parameters
-
- Returns
- true ACCEL responded sucessfully
-
false not good
◆ BMI088_readAccel()
Blocking function to read the acceleration values form the device.
- Parameters
-
- Returns
- true
-
false
◆ BMI088_readGyro()
Blocking function to read the most recent Data Sample from the gyro.
- Returns
- true Successful data Tx/Rx
-
false Unsuccessful data Tx/Rx