|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
35 #include "pprzlink/messages.h"
39 #ifndef BARO_MPL3115_I2C_DEV
40 #define BARO_MPL3115_I2C_DEV i2c0
43 #ifndef BARO_MPL3115_I2C_SLAVE_ADDR
44 #define BARO_MPL3115_I2C_SLAVE_ADDR MPL3115_I2C_ADDR
71 #ifdef SENSOR_SYNC_SEND
void mpl3115_event(struct Mpl3115 *mpl)
#define BARO_MPL3115_I2C_SLAVE_ADDR
#define BARO_MPL3115_I2C_DEV
uint32_t pressure
pressure in 1/4 Pascal
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
void baro_mpl3115_read_event(void)
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void baro_mpl3115_read_periodic(void)
void mpl3115_periodic(struct Mpl3115 *mpl)
void baro_mpl3115_init(void)
Common code for AP and FBW telemetry.
#define BARO_MPL3115_SENDER_ID
int16_t temperature
temperature in 1/16 degrees Celcius
volatile bool data_available
data ready flag
void mpl3115_init(struct Mpl3115 *mpl, struct i2c_periph *i2c_p, uint8_t addr)