LibDriver BME680
Loading...
Searching...
No Matches
driver_bme680_gas.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_BME680_GAS_H
38#define DRIVER_BME680_GAS_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define BME680_GAS_DEFAULT_TEMPERATURE_OVERSAMPLING BME680_OVERSAMPLING_x2
55#define BME680_GAS_DEFAULT_PRESSURE_OVERSAMPLING BME680_OVERSAMPLING_x16
56#define BME680_GAS_DEFAULT_HUMIDITY_OVERSAMPLING BME680_OVERSAMPLING_x1
57#define BME680_GAS_DEFAULT_FILTER BME680_FILTER_COEFF_15
58#define BME680_GAS_DEFAULT_SPI_WIRE BME680_SPI_WIRE_4
59
69uint8_t bme680_gas_init(bme680_interface_t interface, bme680_address_t addr_pin);
70
78uint8_t bme680_gas_deinit(void);
79
95uint8_t bme680_gas_read(float idac_ma, float degree_celsius, uint16_t gas_wait_ms, uint8_t index,
96 float *temperature, float *pressure, float *humidity_percentage, float *ohms);
97
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif
driver bme680 interface header file
bme680_interface_t
bme680 interface enumeration definition
bme680_address_t
bme680 address enumeration definition
uint8_t bme680_gas_deinit(void)
gas example deinit
uint8_t bme680_gas_read(float idac_ma, float degree_celsius, uint16_t gas_wait_ms, uint8_t index, float *temperature, float *pressure, float *humidity_percentage, float *ohms)
gas example read
uint8_t bme680_gas_init(bme680_interface_t interface, bme680_address_t addr_pin)
gas example init