36#include "pprzlink/messages.h"
40#ifndef BARO_MPL3115_I2C_DEV
41#define BARO_MPL3115_I2C_DEV i2c0
44#ifndef BARO_MPL3115_I2C_SLAVE_ADDR
45#define BARO_MPL3115_I2C_SLAVE_ADDR MPL3115_I2C_ADDR
70 float temp = (float)
baro_mpl.temperature / 16.0f;
Main include for ABI (AirBorneInterface).
#define TEMPERATURE_TYPE_BARO
barometer die
#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
Architecture independent timing functions.
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.