BMA2x2_driver-master
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:45KB
下载次数:11
上传日期:2017-08-31 16:17:55
上 传 者:
95279527
说明: 博世加速度传感器,获取三轴加速度,BMA2x2.
(BOSCH acceleration sensor, get three axis acceleration, BMA2x2.)
文件列表:
bma2x2.c (245782, 2016-03-11)
bma2x2.h (198577, 2016-03-11)
bma2x2_support.c (19112, 2016-03-11)
CONTENTS OF THIS FILE
=======================
* Introduction
* Version
* Integration details
* Driver files information
* Supported sensor interface
* Copyright
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
* 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:
* bma2x2.c - V2.0.4
* bma2x2.h - V2.0.4
* bma2x2_support.c - V1.0.3
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
近期下载者:
相关文件:
收藏者: