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

Go to the source code of this file.

Macros

#define BARO_ETS_DT   0.05
 
#define BaroEtsEvent()   { if (baro_ets_i2c_trans.status == I2CTransSuccess) baro_ets_read_event(); }
 

Functions

void baro_ets_init (void)
 
void baro_ets_read_periodic (void)
 
void baro_ets_read_event (void)
 

Variables

uint16_t baro_ets_adc
 
uint16_t baro_ets_offset
 
bool_t baro_ets_valid
 
bool_t baro_ets_updated
 
bool_t baro_ets_enabled
 
float baro_ets_altitude
 
float baro_ets_r
 
float baro_ets_sigma2
 
struct i2c_transaction baro_ets_i2c_trans
 

Macro Definition Documentation

#define BARO_ETS_DT   0.05

Definition at line 44 of file baro_ets.h.

#define BaroEtsEvent ( )    { if (baro_ets_i2c_trans.status == I2CTransSuccess) baro_ets_read_event(); }

Definition at line 61 of file baro_ets.h.

Function Documentation

Variable Documentation

uint16_t baro_ets_adc

Definition at line 64 of file baro_ets.c.

Referenced by baro_ets_init(), baro_ets_read_event(), and baro_ets_read_periodic().

float baro_ets_altitude
bool_t baro_ets_enabled

Definition at line 68 of file baro_ets.c.

Referenced by baro_ets_init().

struct i2c_transaction baro_ets_i2c_trans

Definition at line 72 of file baro_ets.c.

Referenced by baro_ets_init(), baro_ets_read_event(), and baro_ets_read_periodic().

uint16_t baro_ets_offset

Definition at line 65 of file baro_ets.c.

Referenced by baro_ets_init(), and baro_ets_read_event().

float baro_ets_r

Definition at line 69 of file baro_ets.c.

Referenced by baro_ets_init().

float baro_ets_sigma2

Definition at line 70 of file baro_ets.c.

Referenced by baro_ets_init().

bool_t baro_ets_updated
bool_t baro_ets_valid

Definition at line 66 of file baro_ets.c.

Referenced by baro_ets_init(), baro_ets_read_event(), and baro_ets_read_periodic().