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
Main include for ABI (AirBorneInterface).
#define BARO_MPL3115_SENDER_ID
void baro_mpl3115_read_periodic(void)
#define BARO_MPL3115_I2C_DEV
void baro_mpl3115_init(void)
void baro_mpl3115_read_event(void)
#define BARO_MPL3115_I2C_SLAVE_ADDR
Module for the baro MPL3115A2 from Freescale (i2c)
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
Common code for AP and FBW telemetry.
void mpl3115_periodic(struct Mpl3115 *mpl)
void mpl3115_init(struct Mpl3115 *mpl, struct i2c_periph *i2c_p, uint8_t addr)
void mpl3115_event(struct Mpl3115 *mpl)
Driver for the baro MPL3115A2 from Freescale (i2c)
uint32_t pressure
pressure in 1/4 Pascal
int16_t temperature
temperature in 1/16 degrees Celcius
volatile bool data_available
data ready flag
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.