void bmp085_init(struct Bmp085 *bmp, struct i2c_periph *i2c_p, uint8_t addr)
int32_t up
uncompensated pressure
int32_t pressure
pressure in Pascal
void bmp085_event(struct Bmp085 *bmp)
enum Bmp085Status status
state machine status
Bmp085EOC eoc
function to check End Of Conversion
int32_t temperature
temperature in 0.1 deg Celcius
bool initialized
config done flag
int32_t ut
uncompensated temperature
void bmp085_read_eeprom_calib(struct Bmp085 *bmp)
struct i2c_transaction i2c_trans
struct i2c_periph * i2c_p
volatile bool data_available
data ready flag
void bmp085_periodic(struct Bmp085 *bmp)
Start new measurement if idle or read temp/pressure.
@ BMP085_STATUS_START_TEMP
@ BMP085_STATUS_READ_TEMP
@ BMP085_STATUS_READ_PRESS
@ BMP085_STATUS_START_PRESS
I2C transaction structure.
Architecture independent I2C (Inter-Integrated Circuit Bus) API.
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
int int32_t
Typedef defining 32 bit int type.
short int16_t
Typedef defining 16 bit short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.