资源简介
包含Bosch Sensortec的BMA456传感器API。
包括文件bma4_defs.h,bma4.h,bma4.c,bma456.c和bma456.h。
代码片段和文件信息
/**
* Copyright (c) 2020 Bosch Sensortec GmbH. All rights reserved.
*
* BSD-3-Clause
*
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* “AS IS“ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT
* LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT
* INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES
* (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT
* STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* @file bma4.c
* @date 2020-04-09
* @version V2.14.12
*
*/
/*
* @file bma4.c
* @brief Source file for the BMA4 Sensor API
*/
/***************************************************************************/
/*!
* @defgroup bma4 BMA4
*/
/**\name Header files
****************************************************************************/
#include “bma4.h“
/***************************************************************************/
/**\name Local structures
****************************************************************************/
/*!
* @brief Accel data deviation from ideal value
*/
struct bma4_offset_delta
{
/*! X axis */
int16_t x;
/*! Y axis */
int16_t y;
/*! Z axis */
int16_t z;
};
/*!
* @brief Accel offset xyz structure
*/
struct bma4_accel_offset
{
/*! Accel offset X data */
uint8_t x;
/*! Accel offset Y data */
uint8_t y;
/*! Accel offset Z data */
uint8_t z;
};
/***************************************************************************/
/*! Static Function Declarations
****************************************************************************/
/*!
* @brief This API validates the bandwidth and perfmode
* value set by the user.
*
* param band
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-04-23 08:00 BMA456-Sensor-API-master\
文件 22542 2020-04-23 08:00 BMA456-Sensor-API-master\说明.md
文件 175419 2020-04-23 08:00 BMA456-Sensor-API-master\bma4.c
文件 76885 2020-04-23 08:00 BMA456-Sensor-API-master\bma4.h
文件 80824 2020-04-23 08:00 BMA456-Sensor-API-master\bma456.c
文件 37352 2020-04-23 08:00 BMA456-Sensor-API-master\bma456.h
文件 85628 2020-04-23 08:00 BMA456-Sensor-API-master\bma456h.c
文件 55663 2020-04-23 08:00 BMA456-Sensor-API-master\bma456h.h
文件 40599 2020-04-23 08:00 BMA456-Sensor-API-master\bma4_defs.h
目录 0 2020-04-23 08:00 BMA456-Sensor-API-master\examples\
目录 0 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\
目录 0 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\
文件 5767 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\accelerometer.c
文件 4784 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\bma4_common.c
文件 3916 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\bma4_common.h
文件 6540 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\fifo_full_header_mode.c
文件 6279 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\fifo_full_headerless_mode.c
文件 7135 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\fifo_watermark_header_mode.c
文件 6818 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\fifo_watermark_headerless_mode.c
文件 6416 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\motion.c
文件 4470 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\step_activity.c
文件 3010 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\step_counter.c
文件 3300 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456\generic\tap.c
目录 0 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\
目录 0 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\generic\
文件 5883 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\generic\accelerometer.c
文件 5190 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\generic\auto_low_power.c
文件 4784 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\generic\bma4_common.c
文件 3916 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\generic\bma4_common.h
文件 6466 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\generic\fifo_full_header_mode.c
文件 6291 2020-04-23 08:00 BMA456-Sensor-API-master\examples\bma456h\generic\fifo_full_headerless_mode.c
............此处省略8个文件信息
- 上一篇:每日签到 5.3商业版
- 下一篇:OMAPL138原理图
相关资源
- 基于RSSI的无线传感器网络三角形质心
- DS18B20-温度传感器的51汇编程序
- C51_温湿度传感器DHT11驱动_LCD1602显示程
- Pulse Sensor 驱动程序
- pluse sensor心率传感器安卓源码
- dsPIC30F 在无传感器BLDC 控制中的应用
- 机器人中常用的传感器的原理
- 无限传感器网络中LEACH算法在NS2中的源
- 电容式湿度传感器
- 一款指纹识别模块设计PCB及SCH
- 传感器作业
- 《现代检测技术》课程学习论文
- 单片机 STC89C52 温度传感器
- PIC单片机 18B20温度传感器和六位数码
- MQ-3酒精传感器中文资料
- 多传感器数据融合讲稿 多传感器数据
- ADXL345直接输出角度值C51程序
- 51单片机驱动DS1302时间模块+DS18B20温度
- 基于STM8的温湿度传感器DHT11驱动代码
- SCA60C-N1000060单轴倾角传感器中文数据
- 改进的无线传感器网络DV_Hop定位算法
- 用红外线传感器实现小车循迹
- 51单片机DHT11温湿度传感器12864显示
- 基于STM32的三轴加速度传感器代码
- 中英版ZigBee:无线技术传感器网络
- 对射式传感器
- 传感器与自动检测技术习题参考答案
- MQ-5气敏传感器技术参数及测试电路
- 自行车车速及累计公里数的设计
- DHT11温湿度传感器 资料
评论
共有 条评论