|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Module for the baro MPL3115A2 from Freescale (i2c). More...
#include "modules/sensors/baro_mpl3115.h"#include "peripherals/mpl3115.h"#include "modules/core/abi.h"#include "mcu_periph/sys_time.h"#include "mcu_periph/uart.h"#include "pprzlink/messages.h"#include "modules/datalink/downlink.h"Go to the source code of this file.
Macros | |
| #define | BARO_MPL3115_I2C_DEV i2c0 |
| #define | BARO_MPL3115_I2C_SLAVE_ADDR MPL3115_I2C_ADDR |
Functions | |
| void | baro_mpl3115_init (void) |
| void | baro_mpl3115_read_periodic (void) |
| void | baro_mpl3115_read_event (void) |
Variables | |
| struct Mpl3115 | baro_mpl |
Module for the baro MPL3115A2 from Freescale (i2c).
Definition in file baro_mpl3115.c.
| #define BARO_MPL3115_I2C_DEV i2c0 |
Definition at line 41 of file baro_mpl3115.c.
Referenced by baro_mpl3115_init().
| #define BARO_MPL3115_I2C_SLAVE_ADDR MPL3115_I2C_ADDR |
Definition at line 45 of file baro_mpl3115.c.
Referenced by baro_mpl3115_init().
| void baro_mpl3115_init | ( | void | ) |
Definition at line 51 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 63 of file baro_mpl3115.c.
References baro_mpl, BARO_MPL3115_SENDER_ID, get_sys_time_usec(), mpl3115_event(), Mpl3115::pressure, and TEMPERATURE_TYPE_BARO.
| void baro_mpl3115_read_periodic | ( | void | ) |
Definition at line 57 of file baro_mpl3115.c.
References baro_mpl, and mpl3115_periodic().
| struct Mpl3115 baro_mpl |
Definition at line 49 of file baro_mpl3115.c.
Referenced by baro_mpl3115_init(), baro_mpl3115_read_event(), and baro_mpl3115_read_periodic().