Code Monkey home page Code Monkey logo

bosch-bma2x2's Introduction

Table of Contents

Introduction

  • This package contains the Bosch Sensortec MEMS accelerometer sensor driver (sensor API)
  • The sensor driver package includes bma2x2.h, bma2x2.c and bma2x2_support.c files
  • BMA2x2 sensor driver supports the following Bosch MEMS sensors
    • BMA280
    • BMA255
    • BMA253
    • BMA250E
    • BMA22E
    • BMA220
    • BMI055 - Combination of bma2x2 + bmg160 APIs
    • BMX055 - Combination of bma2x2 + bmg160 + bmm050 APIs
    • BMC150 - Combination of bma2x2 + bmm050 APIs
    • BMC056 - Combination of bma2x2 + bmm050 APIs

Version

  • Version of bma2x2 sensor driver is:
Driver files Version
bma2x2.c 2.0.7
bma2x2.h 2.0.7
bma2x2_support.c 1.0.4

Integration details

  • Integrate bma2x2.h and bma2x2.c file in to your project.
  • The bma2x2_support.c file contains only examples for API use cases, so it is not required to integrate into project.

Driver files information

  • bma2x2.h
    • This header file has the register address definition, constant definitions, data type definition and supported sensor driver calls declarations.
  • bma2x2.c
    • This file contains the implementation for the sensor driver APIs.
  • bma2x2_support.c
    • This file shall be used as an user guidance, here you can find samples of - Initialize the sensor with I2C/SPI communication - Add your code to the SPI and/or I2C bus read and bus write functions. - Return value can be chosen by yourself - API just passes that value to your application code - Add your code to the delay function - Change I2C address accordingly in bma2x2.h
      • Power mode configuration of the sensor
      • Get and set functions usage
      • Reading the sensor read out data

Supported sensor interface

  • This accelerometer sensor driver supports SPI and I2C interfaces

Copyright

  • Copyright (C) 2015 - 2016 Bosch Sensortec GmbH

bosch-bma2x2's People

Contributors

orangeji11 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.