34 #include "pprzlink/messages.h"
38 #ifndef BMP3_SLAVE_ADDR
39 #define BMP3_SLAVE_ADDR BMP3_I2C_ADDR
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void bmp3_i2c_periodic(struct Bmp3_I2c *bmp)
Start new measurement if sensor ready.
void baro_bmp3_init(void)
Main include for ABI (AirBorneInterface).
#define BARO_BMP3_SENDER_ID
float pressure
pressure in Pascal
#define BMP3_SLAVE_ADDR
default slave address
uint32_t raw_pressure
uncompensated pressure
uint32_t raw_temperature
uncompensated temperature
float temperature
temperature in deg Celcius
Bosch BMP3 I2C sensor interface.
void bmp3_i2c_init(struct Bmp3_I2c *bmp, struct i2c_periph *i2c_p, uint8_t addr)
init function
void bmp3_i2c_event(struct Bmp3_I2c *bmp)
void baro_bmp3_periodic(void)
Common code for AP and FBW telemetry.
void baro_bmp3_event(void)
struct Bmp3_I2c baro_bmp3
volatile bool data_available
data ready flag
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.