11 #include "sensor_common.h"
24 MBL_MW_BARO_BOSCH_OVERSAMPLING_SKIP= 0,
25 MBL_MW_BARO_BOSCH_OVERSAMPLING_ULTRA_LOW_POWER,
26 MBL_MW_BARO_BOSCH_OVERSAMPLING_LOW_POWER,
27 MBL_MW_BARO_BOSCH_OVERSAMPLING_STANDARD,
28 MBL_MW_BARO_BOSCH_OVERSAMPLING_HIGH,
29 MBL_MW_BARO_BOSCH_OVERSAMPLING_ULTRA_HIGH
36 MBL_MW_BARO_BOSCH_IIR_FILTER_OFF= 0,
37 MBL_MW_BARO_BOSCH_IIR_FILTER_AVG_2,
38 MBL_MW_BARO_BOSCH_IIR_FILTER_AVG_4,
39 MBL_MW_BARO_BOSCH_IIR_FILTER_AVG_8,
40 MBL_MW_BARO_BOSCH_IIR_FILTER_AVG_16
47 MBL_MW_BARO_BMP280_STANDBY_TIME_0_5ms= 0,
48 MBL_MW_BARO_BMP280_STANDBY_TIME_62_5ms,
49 MBL_MW_BARO_BMP280_STANDBY_TIME_125ms,
50 MBL_MW_BARO_BMP280_STANDBY_TIME_250ms,
51 MBL_MW_BARO_BMP280_STANDBY_TIME_500ms,
52 MBL_MW_BARO_BMP280_STANDBY_TIME_1000ms,
53 MBL_MW_BARO_BMP280_STANDBY_TIME_2000ms,
54 MBL_MW_BARO_BMP280_STANDBY_TIME_4000ms
61 MBL_MW_BARO_BME280_STANDBY_TIME_0_5ms= 0,
62 MBL_MW_BARO_BME280_STANDBY_TIME_62_5ms,
63 MBL_MW_BARO_BME280_STANDBY_TIME_125ms,
64 MBL_MW_BARO_BME280_STANDBY_TIME_250ms,
65 MBL_MW_BARO_BME280_STANDBY_TIME_500ms,
66 MBL_MW_BARO_BME280_STANDBY_TIME_1000ms,
67 MBL_MW_BARO_BME280_STANDBY_TIME_10ms,
68 MBL_MW_BARO_BME280_STANDBY_TIME_20ms
METAWEAR_API void mbl_mw_baro_bosch_set_oversampling(MblMwMetaWearBoard *board, MblMwBaroBoschOversampling oversampling)
Set the oversampling mode Settings available from ultra low power to ultra high resolution to adapt t...
const uint8_t MBL_MW_MODULE_BARO_TYPE_BME280
Constant identifying the BME280 barometer module type.
Definition: barometer_bosch.h:18
METAWEAR_API MblMwDataSignal * mbl_mw_baro_bosch_get_pressure_read_data_signal(const MblMwMetaWearBoard *board)
Retrieves the data signal representing a single read from a Bosch barometer This signal represent the...
METAWEAR_API void mbl_mw_baro_bosch_start(const MblMwMetaWearBoard *board)
Start pressure and altitude sensing.
METAWEAR_API void mbl_mw_baro_bmp280_set_standby_time(MblMwMetaWearBoard *board, MblMwBaroBmp280StandbyTime standby_time)
Set the standby time for the BMP280 barometer When the sensor operates in normal mode,...
const uint8_t MBL_MW_MODULE_BARO_TYPE_BMP280
Constant identifying the BMP280 barometer module type.
Definition: barometer_bosch.h:17
METAWEAR_API void mbl_mw_baro_bosch_stop(const MblMwMetaWearBoard *board)
Stop pressure and altitude sensing.
METAWEAR_API MblMwDataSignal * mbl_mw_baro_bosch_get_pressure_data_signal(const MblMwMetaWearBoard *board)
Retrieves the data signal representing pressure data from a Bosch barometer This signal represent the...
MblMwBaroBmp280StandbyTime
Supported stand by times on the BMP280 barometer.
Definition: barometer_bosch.h:46
METAWEAR_API void mbl_mw_baro_bosch_set_iir_filter(MblMwMetaWearBoard *board, MblMwBaroBoschIirFilter iir_filter)
Set the iir filter coefficient The built-in IIR filter minimizes short-term disturbances in the outpu...
MblMwBaroBoschOversampling
Supported oversampling modes on the Bosch barometers.
Definition: barometer_bosch.h:23
METAWEAR_API void mbl_mw_baro_bme280_set_standby_time(MblMwMetaWearBoard *board, MblMwBaroBme280StandbyTime standby_time)
Set the standby time for the BME280 barometer When the sensor operates in normal mode,...
METAWEAR_API float mbl_mw_baro_bosch_set_standby_time(MblMwMetaWearBoard *board, float standby_time_ms)
Set the standby time.
MblMwBaroBme280StandbyTime
Supported stand by times on the BME280 barometer.
Definition: barometer_bosch.h:60
METAWEAR_API void mbl_mw_baro_bosch_write_config(const MblMwMetaWearBoard *board)
Writes the configuration to the sensor Applies the STANDBY, IIR and OVERSAMPLING values set in set_st...
METAWEAR_API MblMwDataSignal * mbl_mw_baro_bosch_get_altitude_data_signal(const MblMwMetaWearBoard *board)
Retrieves the data signal representing altitude data from a Bosch barometer This signal represent the...
MblMwBaroBoschIirFilter
Supported filter modes on the Bosch barometers.
Definition: barometer_bosch.h:35
struct MblMwDataSignal MblMwDataSignal
A event fired from the MetaWear board that also contains data.
Definition: datasignal_fwd.h:15
#define METAWEAR_API
Indicates the function should be exported to the symbol table
Definition: dllmarker.h:27