34 #include "pprzlink/messages.h"
38 #ifndef BMP3_SLAVE_ADDR
39 #define BMP3_SLAVE_ADDR BMP3_I2C_ADDR
Main include for ABI (AirBorneInterface).
#define BARO_BMP3_SENDER_ID
void baro_bmp3_periodic(void)
void baro_bmp3_init(void)
#define BMP3_SLAVE_ADDR
default slave address
void baro_bmp3_event(void)
struct Bmp3_I2c baro_bmp3
Bosch BMP3 I2C sensor interface.
void bmp3_i2c_event(struct Bmp3_I2c *bmp)
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
float temperature
temperature in deg Celcius
volatile bool data_available
data ready flag
float pressure
pressure in Pascal
uint32_t raw_temperature
uncompensated temperature
uint32_t raw_pressure
uncompensated pressure
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
Common code for AP and FBW telemetry.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
int int32_t
Typedef defining 32 bit int type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.