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
#include "std.h"
#include "peripherals/ads1114.h"
+ Include dependency graph for baro_board.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BARO_ABS_ADS   ads1114_1
 
#define BaroAbs(_ads, _handler)
 
#define BaroDiff(_a, _h)   {}
 
#define BaroEvent(_b_abs_handler, _b_diff_handler)
 

Macro Definition Documentation

#define BARO_ABS_ADS   ads1114_1

Definition at line 40 of file baro_board.h.

Referenced by baro_periodic().

#define BaroAbs (   _ads,
  _handler 
)
Value:
{ \
if (_ads.data_available) { \
_handler(); \
_ads.data_available = FALSE; \
} \
} \
}
if(PrimarySpektrumState.SpektrumTimer)--PrimarySpektrumState.SpektrumTimer
#define FALSE
Definition: imu_chimu.h:141
int32_t absolute
Definition: baro.h:41
#define Ads1114GetValue(_p)
Definition: ads1114.h:165
struct Baro baro
Definition: baro_board.c:36
enum BaroStatus status
Definition: baro.h:43

Definition at line 42 of file baro_board.h.

#define BaroDiff (   _a,
  _h 
)    {}

Definition at line 70 of file baro_board.h.

#define BaroEvent (   _b_abs_handler,
  _b_diff_handler 
)
Value:
{ \
BaroAbs(BARO_ABS_ADS,_b_abs_handler); \
BaroDiff(BARO_DIFF_ADS,_b_diff_handler); \
}
#define BaroAbs(_ads, _handler)
Definition: baro_board.h:42
#define BaroDiff(_a, _h)
Definition: baro_board.h:70
#define BARO_ABS_ADS
Definition: baro_board.h:40
#define Ads1114Event()
Definition: ads1114.h:158

Definition at line 75 of file baro_board.h.