Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Module for the baro MPL3115A2 from Freescale (i2c) More...
Go to the source code of this file.
Macros | |
#define | BaroMpl3115Update(_b, _h) { if (mpl3115_data_available) { _b = mpl3115_pressure; _h(); mpl3115_data_available = false; } } |
Functions | |
void | baro_mpl3115_init (void) |
void | baro_mpl3115_read_periodic (void) |
void | baro_mpl3115_read_event (void) |
Module for the baro MPL3115A2 from Freescale (i2c)
Definition in file baro_mpl3115.h.
#define BaroMpl3115Update | ( | _b, | |
_h | |||
) | { if (mpl3115_data_available) { _b = mpl3115_pressure; _h(); mpl3115_data_available = false; } } |
Definition at line 36 of file baro_mpl3115.h.
void baro_mpl3115_init | ( | void | ) |
Definition at line 50 of file baro_mpl3115.c.
References baro_mpl, BARO_MPL3115_I2C_DEV, BARO_MPL3115_I2C_SLAVE_ADDR, and mpl3115_init().
void baro_mpl3115_read_event | ( | void | ) |
Definition at line 62 of file baro_mpl3115.c.
References baro_mpl, BARO_MPL3115_SENDER_ID, Mpl3115::data_available, DefaultChannel, DefaultDevice, get_sys_time_usec(), mpl3115_event(), Mpl3115::pressure, and Mpl3115::temperature.
void baro_mpl3115_read_periodic | ( | void | ) |
Definition at line 56 of file baro_mpl3115.c.
References baro_mpl, and mpl3115_periodic().