45 #if (BMP3_COMPENSATION == BMP3_DOUBLE_PRECISION_COMPENSATION) || ( BMP3_COMPENSATION == BMP3_SINGLE_PRECISION_COMPENSATION)
float temperature
temperature in deg Celcius
struct bmp3_quantized_calib_data quant_calib
quantized calibration data
struct i2c_periph * i2c_p
void bmp3_i2c_event(struct Bmp3_I2c *bmp)
bool initialized
config done flag
void bmp3_i2c_read_eeprom_calib(struct Bmp3_I2c *bmp)
enum Bmp3Status status
state machine status
void bmp3_i2c_periodic(struct Bmp3_I2c *bmp)
Start new measurement if sensor ready.
void bmp3_i2c_init(struct Bmp3_I2c *bmp, struct i2c_periph *i2c_p, uint8_t addr)
init function
volatile bool data_available
data ready flag
struct i2c_transaction i2c_trans
float pressure
pressure in Pascal
struct bmp3_reg_calib_data calib
calibration data
uint32_t raw_temperature
uncompensated temperature
uint32_t raw_pressure
uncompensated pressure
Sensor driver for BMP280 sensor register definition.
Quantized Trim Variables.
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.