Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
baro_amsys.h File Reference
#include "std.h"
#include "mcu_periph/i2c.h"
+ Include dependency graph for baro_amsys.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BARO_AMSYS_DT   0.05
 
#define BaroAmsysEvent()   { if (baro_amsys_i2c_trans.status == I2CTransSuccess) baro_amsys_read_event(); }
 

Functions

void baro_amsys_init (void)
 
void baro_amsys_read_periodic (void)
 
void baro_amsys_read_event (void)
 

Variables

float baro_amsys_altitude
 
float baro_filter
 
struct i2c_transaction baro_amsys_i2c_trans
 

Macro Definition Documentation

#define BARO_AMSYS_DT   0.05

Definition at line 31 of file baro_amsys.h.

#define BaroAmsysEvent ( )    { if (baro_amsys_i2c_trans.status == I2CTransSuccess) baro_amsys_read_event(); }

Definition at line 49 of file baro_amsys.h.

Function Documentation

Variable Documentation

float baro_amsys_altitude

Definition at line 77 of file baro_amsys.c.

Referenced by baro_amsys_init(), baro_amsys_read_event(), and baro_amsys_read_periodic().

struct i2c_transaction baro_amsys_i2c_trans

Definition at line 90 of file baro_amsys.c.

Referenced by baro_amsys_init(), baro_amsys_read_event(), and baro_amsys_read_periodic().

float baro_filter

Definition at line 83 of file baro_amsys.c.

Referenced by baro_amsys_init(), and baro_amsys_read_event().