void bmp280_i2c_event(struct Bmp280_I2c *bmp)
bool initialized
config done flag
void bmp280_i2c_periodic(struct Bmp280_I2c *bmp)
uint32_t raw_temperature
uncompensated temperature
float pressure
pressure in Pascal
float temperature
temperature in deg Celcius
volatile bool data_available
data ready flag
struct i2c_transaction i2c_trans
struct bmp280_reg_calib_data calib
calibration data
enum Bmp280Status status
state machine status
void bmp280_i2c_init(struct Bmp280_I2c *bmp, struct i2c_periph *i2c_p, uint8_t addr)
void bmp280_i2c_read_eeprom_calib(struct Bmp280_I2c *bmp)
uint32_t raw_pressure
uncompensated pressure
struct i2c_periph * i2c_p
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.