Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
baro_board.h File Reference

integrated barometer for Apogee boards (mpl3115) More...

#include "std.h"
#include "peripherals/mpl3115.h"
+ Include dependency graph for baro_board.h:

Go to the source code of this file.


#define BaroAbs(_handler)
#define BaroDiff(_h)   {}
#define BaroEvent(_b_abs_handler, _b_diff_handler)

Detailed Description

integrated barometer for Apogee boards (mpl3115)

Definition in file baro_board.h.

Macro Definition Documentation

#define BaroAbs (   _handler)
{ \
_handler(); \
} \
} \
volatile bool_t mpl3115_data_available
Definition: mpl3115.c:37
#define FALSE
Definition: imu_chimu.h:141
int32_t absolute
Definition: baro.h:41
struct Baro baro
Definition: baro_board.c:36
void mpl3115_event(void)
Definition: mpl3115.c:113
enum BaroStatus status
Definition: baro.h:43
uint32_t mpl3115_pressure
Definition: mpl3115.c:39

Definition at line 39 of file baro_board.h.

#define BaroDiff (   _h)    {}

Definition at line 52 of file baro_board.h.

#define BaroEvent (   _b_abs_handler,
{ \
BaroAbs(_b_abs_handler); \
BaroDiff(_b_diff_handler); \
#define BaroDiff(_h)
Definition: baro_board.h:52
#define BaroAbs(_handler)
Definition: baro_board.h:39

Definition at line 55 of file baro_board.h.

Referenced by event_task_ap(), main_event(), main_event_task(), and test_baro_event().