LibDriver BME688
Loading...
Searching...
No Matches
driver_bme688_gas.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_BME688_GAS_H
38#define DRIVER_BME688_GAS_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define BME688_GAS_DEFAULT_TEMPERATURE_OVERSAMPLING BME688_OVERSAMPLING_x2
55#define BME688_GAS_DEFAULT_PRESSURE_OVERSAMPLING BME688_OVERSAMPLING_x16
56#define BME688_GAS_DEFAULT_HUMIDITY_OVERSAMPLING BME688_OVERSAMPLING_x1
57#define BME688_GAS_DEFAULT_FILTER BME688_FILTER_COEFF_15
58#define BME688_GAS_DEFAULT_SPI_WIRE BME688_SPI_WIRE_4
59
69uint8_t bme688_gas_init(bme688_interface_t interface, bme688_address_t addr_pin);
70
78uint8_t bme688_gas_deinit(void);
79
94uint8_t bme688_gas_read(float degree_celsius, uint16_t gas_wait_ms, uint8_t index,
95 float *temperature, float *pressure, float *humidity_percentage, float *ohms);
96
100
101#ifdef __cplusplus
102}
103#endif
104
105#endif
driver bme688 interface header file
bme688_address_t
bme688 address enumeration definition
bme688_interface_t
bme688 interface enumeration definition
uint8_t bme688_gas_read(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 bme688_gas_init(bme688_interface_t interface, bme688_address_t addr_pin)
gas example init
uint8_t bme688_gas_deinit(void)
gas example deinit