Skip to content

Commit

Permalink
Updated to v1.7.1. Added BMI088 Anymotion.
Browse files Browse the repository at this point in the history
  • Loading branch information
kegov committed Jul 10, 2023
1 parent ae968e2 commit df70fd7
Show file tree
Hide file tree
Showing 54 changed files with 4,772 additions and 246 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2022 Bosch Sensortec GmbH. All rights reserved.
Copyright (c) 2023 Bosch Sensortec GmbH. All rights reserved.

BSD-3-Clause

Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# BMI08X Sensor API
# BMI08X SensorAPI

> This package contains SensorAPIs for BMI08X Sensor
# BMI085/BMI088 Sensor API
# BMI085/BMI088 SensorAPI

### Sensor Overview

Expand All @@ -15,7 +15,7 @@ BMI085/BMI088 is an inertial measurement unit(IMU) for the detection of movement
- Data synchronization


# BMI088_MM Sensor API
# BMI088_MM SensorAPI

### Sensor overview

Expand All @@ -35,4 +35,13 @@ BMI088_MM is a high-performance longevity Inertial Measurement. Unit (IMU) with
- Any motion
- No motion
- Orientation
- Data synchronization
- Data synchronization

# BMI088_ANYMOTION SensorAPI

### Sensor overview

BMI088 is an inertial measurement unit(IMU) for the detection of movements and rotations in 6 degrees of freedom (6-DoF). It includes the functionality of two inertial sensors in one device: an advanced triaxial 16-bit gyroscope and a versatile, leading edge triaxial 16-bit accelerometer.

### Features
- Any motion
46 changes: 42 additions & 4 deletions bmi08.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2022 Bosch Sensortec GmbH. All rights reserved.
* Copyright (c) 2023 Bosch Sensortec GmbH. All rights reserved.
*
* BSD-3-Clause
*
Expand Down Expand Up @@ -31,8 +31,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* @file bmi08.h
* @date 2022-04-10
* @version v1.6.0
* @date 2023-03-27
* @version v1.7.1
*
*/

Expand Down Expand Up @@ -179,6 +179,44 @@ int8_t bmi08a_get_regs(uint8_t reg_addr, uint8_t *reg_data, uint32_t len, struct
*/
int8_t bmi08a_set_regs(uint8_t reg_addr, const uint8_t *reg_data, uint32_t len, struct bmi08_dev *dev);

/*!
* \ingroup bmi08aApiRegs
* \page bmi08a_api_bmi08a_get_i2c_wdt bmi08a_get_i2c_wdt
* \code
* int8_t bmi08a_get_i2c_wdt(uint8_t *i2c_wdt_sel, uint8_t *i2c_wdt_en, struct bmi08_dev *dev);
* \endcode
* @details This API reads the watchdog related information
*
* @param[out] i2c_wdt_sel : Variable to hold i2c_wdt_sel
* @param[out] i2c_wdt_en : Variable to hold i2c_wdt_en
* @param[in] dev : Structure instance of bmi08_dev.
*
* @return Result of API execution status
* @retval 0 -> Success
* @retval < 0 -> Fail
*
*/
int8_t bmi08a_get_i2c_wdt(uint8_t *i2c_wdt_sel, uint8_t *i2c_wdt_en, struct bmi08_dev *dev);

/*!
* \ingroup bmi08aApiRegs
* \page bmi08a_api_bmi08a_get_i2c_wdt bmi08a_set_i2c_wdt
* \code
* int8_t bmi08a_set_i2c_wdt(uint8_t i2c_wdt_sel, uint8_t i2c_wdt_en, struct bmi08_dev *dev);
* \endcode
* @details This API writes the watchdog related information
*
* @param[in] i2c_wdt_sel : Variable to hold i2c_wdt_sel
* @param[in] i2c_wdt_en : Variable to hold i2c_wdt_en
* @param[in] dev : Structure instance of bmi08_dev.
*
* @return Result of API execution status
* @retval 0 -> Success
* @retval < 0 -> Fail
*
*/
int8_t bmi08a_set_i2c_wdt(uint8_t i2c_wdt_sel, uint8_t i2c_wdt_en, struct bmi08_dev *dev);

/**
* \ingroup bmi08ag
* \defgroup bmi08aApiErrorStatus Accel Error status
Expand Down Expand Up @@ -310,7 +348,7 @@ int8_t bmi08a_get_meas_conf(struct bmi08_dev *dev);
* \code
* int8_t bmi08a_set_meas_conf(const struct bmi08_dev *dev);
* \endcode
* @details This API sets the Output data rate, range and bandwidth
* @details This API sets the Output data rate and bandwidth
* of accel sensor.
* @param[in] dev : Structure instance of bmi08_dev.
*
Expand Down
Loading

0 comments on commit df70fd7

Please sign in to comment.