|
GadgetSeed
0.9.6
|
BME280 温湿度・気圧センサ [詳解]
#include "device.h"#include "str.h"#include "device/i2c_ioctl.h"#include "device/envsnsr_ioctl.h"#include "dkprintf.h"
マクロ定義 | |
| #define | DEV_ADDR 0x76 |
型定義 | |
| typedef int | BME280_S32_t |
| typedef unsigned int | BME280_U32_t |
関数 | |
| BME280_S32_t | BME280_compensate_T_int32 (BME280_S32_t adc_T) |
| BME280_U32_t | BME280_compensate_P_int32 (BME280_S32_t adc_P) |
| BME280_U32_t | bme280_compensate_H_int32 (BME280_S32_t adc_H) |
| static void | init_bme280 (void) |
| static void | calib_bme280 (void) |
| static int | bme280_register (struct st_device *dev, char *param) |
| static void | get_raw_data (void) |
| static int | bme280_ioctl (struct st_device *dev, unsigned int com, unsigned int arg, void *param) |
変数 | |
| static struct st_device * | i2c_dev |
| static char | dev_name [MAX_DEVNAMELRN] |
| static unsigned short | dig_T1 |
| static signed short | dig_T2 |
| static signed short | dig_T3 |
| static unsigned short | dig_P1 |
| static signed short | dig_P2 |
| static signed short | dig_P3 |
| static signed short | dig_P4 |
| static signed short | dig_P5 |
| static signed short | dig_P6 |
| static signed short | dig_P7 |
| static signed short | dig_P8 |
| static signed short | dig_P9 |
| static unsigned char | dig_H1 |
| static signed short | dig_H2 |
| static unsigned char | dig_H3 |
| static signed short | dig_H4 |
| static signed short | dig_H5 |
| static signed char | dig_H6 |
| BME280_S32_t | t_fine |
| unsigned int | hum_raw |
| unsigned int | temp_raw |
| unsigned int | pres_raw |
| const struct st_device | bme280_device |
| const struct st_device bme280_device |