summaryrefslogtreecommitdiff
path: root/include/driver/bme680_defs.h
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-09-24 12:17:43 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-09-24 12:17:43 +0200
commit01fd94f7bd70fd93b5dbb3a0dd7b30abfe28f95c (patch)
tree154d80a3772aef38857e4dda3a4fa8c93ed5071f /include/driver/bme680_defs.h
parenta5c6adc46d696233bc67e25ac2146173dd6ee8b2 (diff)
convert BME680 driver to C++ class
Diffstat (limited to 'include/driver/bme680_defs.h')
-rw-r--r--include/driver/bme680_defs.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/include/driver/bme680_defs.h b/include/driver/bme680_defs.h
index b7c52d8..ed44899 100644
--- a/include/driver/bme680_defs.h
+++ b/include/driver/bme680_defs.h
@@ -502,42 +502,6 @@ struct bme680_gas_sett {
uint16_t heatr_dur;
};
-/*!
- * @brief BME680 device structure
- */
-struct bme680_dev {
- /*! Chip Id */
- uint8_t chip_id;
- /*! Device Id */
- uint8_t dev_id;
- /*! SPI/I2C interface */
- enum bme680_intf intf;
- /*! Memory page used */
- uint8_t mem_page;
- /*! Ambient temperature in Degree C */
- int8_t amb_temp;
- /*! Sensor calibration data */
- struct bme680_calib_data calib;
- /*! Sensor settings */
- struct bme680_tph_sett tph_sett;
- /*! Gas Sensor settings */
- struct bme680_gas_sett gas_sett;
- /*! Sensor power modes */
- uint8_t power_mode;
- /*! New sensor fields */
- uint8_t new_fields;
- /*! Store the info messages */
- uint8_t info_msg;
- /*! Bus read function pointer */
- bme680_com_fptr_t read;
- /*! Bus write function pointer */
- bme680_com_fptr_t write;
- /*! delay function pointer */
- bme680_delay_fptr_t delay_ms;
- /*! Communication function result */
- int8_t com_rslt;
-};
-
#endif /* BME680_DEFS_H_ */