Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
airspeed_amsys.h File Reference
#include "std.h"
#include "mcu_periph/i2c.h"
+ Include dependency graph for airspeed_amsys.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AirspeedAmsysEvent()   { if (airspeed_amsys_i2c_trans.status == I2CTransSuccess) airspeed_amsys_read_event(); }
 

Functions

void airspeed_amsys_init (void)
 
void airspeed_amsys_read_periodic (void)
 
void airspeed_amsys_read_event (void)
 

Variables

float airspeed_scale
 
float airspeed_filter
 
struct i2c_transaction airspeed_amsys_i2c_trans
 

Macro Definition Documentation

◆ AirspeedAmsysEvent

#define AirspeedAmsysEvent ( )    { if (airspeed_amsys_i2c_trans.status == I2CTransSuccess) airspeed_amsys_read_event(); }

Definition at line 41 of file airspeed_amsys.h.

Function Documentation

◆ airspeed_amsys_init()

◆ airspeed_amsys_read_event()

◆ airspeed_amsys_read_periodic()

void airspeed_amsys_read_periodic ( void  )

Variable Documentation

◆ airspeed_amsys_i2c_trans

struct i2c_transaction airspeed_amsys_i2c_trans
extern

◆ airspeed_filter

float airspeed_filter
extern

◆ airspeed_scale

float airspeed_scale
extern

Definition at line 78 of file airspeed_amsys.c.

Referenced by airspeed_amsys_init(), and airspeed_amsys_read_event().