|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
MPL3115 barometer of the Apogee board, an i2c slave of the MPU6050: only read once the MPU is configured. More...
#include "boards/apogee/baro_apogee.h"#include "peripherals/mpl3115.h"#include "boards/apogee/imu_apogee.h"#include "modules/core/abi.h"#include "mcu_periph/sys_time.h"Go to the source code of this file.
Macros | |
| #define | BARO_STARTUP_COUNTER (4 * BARO_APOGEE_FREQ) |
| Number of readings skipped at startup, about 4 s. | |
Functions | |
| void | baro_apogee_init (void) |
| void | baro_apogee_periodic (void) |
| void | baro_apogee_event (void) |
Variables | |
| uint16_t | startup_cnt |
| struct Mpl3115 | apogee_baro |
MPL3115 barometer of the Apogee board, an i2c slave of the MPU6050: only read once the MPU is configured.
Definition in file baro_apogee.c.
| #define BARO_STARTUP_COUNTER (4 * BARO_APOGEE_FREQ) |
Number of readings skipped at startup, about 4 s.
Definition at line 46 of file baro_apogee.c.
Referenced by baro_apogee_init().
| void baro_apogee_event | ( | void | ) |
Definition at line 75 of file baro_apogee.c.
References apogee_baro, BARO_MPL3115_SENDER_ID, get_sys_time_usec(), gps, mpl3115_event(), pprzLogFile, Mpl3115::pressure, sdLogWriteLog(), startup_cnt, and TEMPERATURE_TYPE_BARO.
| void baro_apogee_init | ( | void | ) |
Definition at line 51 of file baro_apogee.c.
References apogee_baro, BARO_STARTUP_COUNTER, MPL3115_I2C_ADDR, mpl3115_init(), and startup_cnt.
| void baro_apogee_periodic | ( | void | ) |
Definition at line 61 of file baro_apogee.c.
References apogee_baro, imu_apogee, mpl3115_periodic(), and startup_cnt.
| struct Mpl3115 apogee_baro |
Definition at line 49 of file baro_apogee.c.
Referenced by baro_apogee_event(), baro_apogee_init(), and baro_apogee_periodic().
| uint16_t startup_cnt |
Definition at line 47 of file baro_apogee.c.
Referenced by baro_apogee_event(), baro_apogee_init(), and baro_apogee_periodic().