32#ifdef DPS310_SYNC_SEND
34#include "pprzlink/messages.h"
39#ifndef DPS310_SLAVE_ADDR
40 #define DPS310_SLAVE_ADDR DPS310_I2C_ADDR
66#ifdef DPS310_SYNC_SEND
Main include for ABI (AirBorneInterface).
#define BARO_DPS310_SENDER_ID
void baro_dps310_periodic(void)
struct Dps310_I2c baro_dps310
#define DPS310_SLAVE_ADDR
default slave address
void baro_dps310_event(void)
void baro_dps310_init(void)
Infineon DPS310 I2C sensor interface.
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
Common code for AP and FBW telemetry.
void dps310_i2c_event(struct Dps310_I2c *dps)
Consume finished I2C transactions and advance the state machine.
void dps310_i2c_periodic(struct Dps310_I2c *dps)
Run the driver state machine, submitting at most one I2C transaction.
void dps310_i2c_init(struct Dps310_I2c *dps, struct i2c_periph *i2c_p, uint8_t addr)
Initialize the driver instance (no bus traffic yet)
float pressure
pressure in Pascal
float temperature
temperature in deg Celsius
int32_t raw_temperature
uncompensated temperature
volatile bool data_available
data ready flag
int32_t raw_pressure
uncompensated pressure
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.