资源简介
bmp280的驱动程序,bmp280是广泛应用的气压高度计芯片
代码片段和文件信息
/*
****************************************************************************
* Copyright (C) 2015 - 2016 Bosch Sensortec GmbH
*
* File : bmp280.c
*
* Date : 2016/07/01
*
* Revision : 2.0.5(Pressure and Temperature compensation code revision is 1.1)
*
* Usage: Sensor Driver for BMP280 sensor
*
****************************************************************************
*
* \section License
*
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright
* notice this list of conditions and the following disclaimer.
*
* 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.
*
* Neither the name of the copyright holder nor the names of the
* 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 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
*
* The information provided is believed to be accurate and reliable.
* The copyright holder assumes no responsibility
* for the consequences of use
* of such information nor for any infringement of patents or
* other rights of third parties which may result from its use.
* No license is granted by implication or otherwise under any patent or
* patent rights of the copyright holder.
**************************************************************************/
#include “bmp280.h“
static struct bmp280_t *p_bmp280; /**< pointer to BMP280 */
/*!
* @brief This function is used for initialize
* the bus read and bus write functions
* and assign the chip id and I2C address of the BMP280 sensor
* chip id is read in the register 0xD0 bit from 0 to 7
*
* @param *bmp280 structure pointer.
*
* @note While changing the parameter of the p_bmp280
* @note consider the following point:
* Changing the reference value of the parameter
* will changes the local copy or local reference
* make sure your changes will not
* affect the reference value of the parameter
* (Better case don‘t change the refe
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-07-28 05:46 BMP280_driver-master\
文件 1875 2017-07-28 05:46 BMP280_driver-master\README.md
文件 48430 2017-07-28 05:46 BMP280_driver-master\bmp280.c
文件 53114 2017-07-28 05:46 BMP280_driver-master\bmp280.h
文件 19050 2017-07-28 05:46 BMP280_driver-master\bmp280_support.c
- 上一篇:408计算机网络真题
- 下一篇:select2控件
相关资源
- ADPS9960在Arduino上实现任意IO的IIC
- STM32HAL_BH1750驱动_模拟IIC
- BQ25895的软件配置
- 三轴陀螺仪MPU6050基于STM32F103的IIC驱动
- SL3S4011 IIC 驱动程序
- STM8控制IIC OLED屏幕
- stm32F103通过IIC读取MPU9250用DMP融合得到
- Zabbix CIICSO3750 监控模板
- stm32cubemx软件iic读取mpu6050dmp通过串口
- OLED0.91模组12832 IIC全套显示函数解决差
- NIOS II自定义IIC IP核
- STC8+MPU6050+BMP280飞控原理图
- AVR 模拟IIC总线
- pic io口模拟iic的mcp7940代码
- 基于STM32的 ADXL345三轴测量角度 软件
- linux下使用IIC总线读写EEPROM
- arduino_LiquidCrystal_I2C库及proteus仿真LC
- 用stm32以软件IIC方式驱动1602 解压密码
- STM32 IIC软件模拟读写24C02
- RTC 8025T IIC驱动代码
- stm32 完整IIC通讯代码,三轴加速度计
- STM32F4读写SD2405实时时钟程序
- PIC单片机 IIC通信 proteus仿真文件图
- CC2530-ADXL345 IIC通信
- CC2530-HMC5883L通过I2C通信
- i2c的verilog实现
- STM32+SHT30(DS18B20)+0.96寸OLED(IIC)的
- STM32F103通过模拟IIC读取LIS3DH 解析数据
- 软件模拟IIC主从机
- 大气压强传感器BMP280单片机程序
评论
共有 条评论