资源简介
包含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原理图
相关资源
- 多传感器标定算法
- 激光位移传感器的特点及应用解析
- 位移传感器应用全面解析
- 单片机与温度传感器DS18B20的程序设计
- 毕业论文之温度传感器DS18B20(源码
- stm32 ds18b20 温度传感器 测试通过
- HX711 称重传感器 C程序
- ADNS-3080光流传感器测试程序Arduino
- 28335写的用spi读取传感器数据并用CA
- SCA60角度检测传感器模块程序
- 基于能量和距离的无线传感器网络分
- 无线传感器网络基于分簇的路由协议
- ADXL362中文说明手册
- 传感器应用七十二变
- 在各城市的窄带物联网中传感器起到
- 基于PIC的TCP/IP网络协议和zigbee无线传
- 传感器应用领域的扩大发展强劲
- 物联网中无线传感器节点和RFID数据融
- 用于无线传感器网络应用的超声波传
- 有关面向工业物联网的无线传感器网
- 物联网无线传感器网络的7大特点
- 传感器在潜水设备的应用
- 旋转活塞式流量计的测量原理
- 基于ARM7 PWM定时器的图像传感器时序信
- IEEE 802.15.4的CC2530无线数据收发设计
- IEEE 802.15.4的CC2530无线数据收发设计
- 蓝牙无线抄表传感器的设计
- 低功耗蓝牙无线传感器
- 智能传感器的蓝牙协议栈与SoC结构设
- 智能传感器的蓝牙协议栈与SoC结构解
评论
共有 条评论