91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 11KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-28
  • 語言: 其他
  • 標簽:

資源簡介

PS精確導航(航位推算,上下橋檢測等);室內室外導航;休閑、體育和醫療健康等監測 ;天氣預報;垂直速度指示(上升/下沉速度);風扇功率控制。

資源截圖

代碼片段和文件信息

/*?BOSCH?Pressure?Sensor?Driver
?*
?*?This?software?is?licensed?under?the?terms?of?the?GNU?General?Public
?*?License?version?2?as?published?by?the?Free?Software?Foundation?and
?*?may?be?copied?distributed?and?modified?under?those?terms.
?*
?*?This?program?is?distributed?in?the?hope?that?it?will?be?useful
?*?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
?*?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the
?*?GNU?General?Public?License?for?more?details.
?*
?*?History:?V1.0?---?[2013.02.18]Driver?creation
?*??????????V1.1?---?[2013.03.14]Instead?late_resume?use?resume?to?make?sure
?*???????????????????????????????driver?resume?is?ealier?than?processes?resume.
?*??????????V1.2?---?[2013.03.26]Re-write?i2c?function?to?fix?the?bug?that
?*???????????????????????????????i2c?access?error?on?MT6589?platform.
?*/

#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?ject.h>
#include?
#include?
#include?
#include?

#include?
#include?
#include?
#include?
#include?“bmp280.h“
#include?
#include?

#include?
#include?
#include?

#include?
#define?POWER_NONE_MACRO?MT65XX_POWER_NONE
#define?CONFIG_ID_TEMPERATURE?1

#define?BMP280_U16_t?U16
#define?BMP280_S16_t?S16
#define?BMP280_U32_t?U32
#define?BMP280_S32_t?S32
#define?BMP280_U64_t?U64
#define?BMP280_S64_t?S64
#define?BMP280_64BITSUPPORT_PRESENT
static?DEFINE_MUTEX(bmp280_i2c_mutex);
static?DEFINE_MUTEX(bmp280_op_mutex);

/*?sensor?type?*/
enum?SENSOR_TYPE_ENUM?{
BMP280_TYPE?=?0x0

INVALID_TYPE?=?0xff
};

/*?power?mode?*/
enum?BMP_POWERMODE_ENUM?{
BMP_SUSPEND_MODE?=?0x0
BMP_NORMAL_MODE

BMP_UNDEFINED_POWERMODE?=?0xff
};

/*?oversampling?*/
enum?BMP_OVERSAMPLING_ENUM?{
BMP_OVERSAMPLING_SKIPPED?=?0x0
BMP_OVERSAMPLING_1X
BMP_OVERSAMPLING_2X
BMP_OVERSAMPLING_4X
BMP_OVERSAMPLING_8X
BMP_OVERSAMPLING_16X

BMP_UNDEFINED_OVERSAMPLING?=?0xff
};

/*?trace?*/
enum?BAR_TRC?{
BAR_TRC_READ??=?0x01
BAR_TRC_RAWDATA?=?0x02
BAR_TRC_IOCTL???=?0x04
BAR_TRC_FILTER??=?0x08
};

/*?s/w?filter?*/
struct?data_filter?{
u32?raw[C_MAX_FIR_LENGTH][BMP_DATA_NUM];
int?sum[BMP_DATA_NUM];
int?num;
int?idx;
};


/**?this?structure?holds?all?device?specific?calibration?parameters?*/
struct?bmp280_calibration_param_t?{
BMP280_U16_t?dig_T1;
BMP280_S16_t?dig_T2;
BMP280_S16_t?dig_T3;
BMP280_U16_t?dig_P1;
BMP280_S16_t?dig_P2;
BMP280_S16_t?dig_P3;
BMP280_S16_t?dig_P4;
BMP280_S16_t?dig_P5;
BMP280_S16_t?dig_P6;
BMP280_S16_t?dig_P7;
BMP280_S16_t?dig_P8;
BMP280_S16_t?dig_P9;

BMP280_S32_t?t_fine;
};
/*?bmp?i2c?client?data?*/
struct?bmp_

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????39149??2015-11-17?14:24??BMP280-new\bmp280.c

?????文件???????4517??2015-11-17?11:33??BMP280-new\bmp280.h

?????文件?????????78??2015-11-13?09:03??BMP280-new\Makefile

?????目錄??????????0??2015-11-17?11:23??BMP280-new

-----------?---------??----------?-----??----

????????????????43744????????????????????4


評論

共有 條評論