This commit is contained in:
2025-04-22 20:35:29 +02:00
parent 9104869ecf
commit 5853bf849f
17 changed files with 1704 additions and 941 deletions

View File

@@ -308,6 +308,22 @@ typedef struct bme680_cal_factors_s {
int8_t range_switching_error;
} bme680_cal_factors_t;
/**
* @brief BME680 ADC data structure definition.
*/
typedef struct bme680_adc_data_s {
uint32_t temperature;
uint16_t humidity;
uint32_t pressure;
uint16_t gas;
bool gas_valid;
uint8_t gas_range;
uint8_t gas_index;
bool heater_stable;
} bme680_adc_data_t;
/**
* @brief BME680 data structure definition.
*/
@@ -325,22 +341,9 @@ typedef struct bme680_data_s {
float temperature_score;
float humidity_score;
float gas_score;
bme680_adc_data_t raw_data;
} bme680_data_t;
/**
* @brief BME680 ADC data structure definition.
*/
typedef struct bme680_adc_data_s {
uint32_t temperature;
uint16_t humidity;
uint32_t pressure;
uint16_t gas;
bool gas_valid;
uint8_t gas_range;
uint8_t gas_index;
bool heater_stable;
} bme680_adc_data_t;
/**
* @brief BME680 configuration structure definition.
*/