|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
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 |
| #define AirspeedAmsysEvent | ( | ) | { if (airspeed_amsys_i2c_trans.status == I2CTransSuccess) airspeed_amsys_read_event(); } |
Definition at line 41 of file airspeed_amsys.h.
| void airspeed_amsys_init | ( | void | ) |
Definition at line 92 of file airspeed_amsys.c.
References AIRSPEED_AMSYS_FILTER, airspeed_amsys_i2c_trans, AIRSPEED_AMSYS_OFFSET_NBSAMPLES_AVRG, AIRSPEED_AMSYS_OFFSET_NBSAMPLES_INIT, AIRSPEED_AMSYS_SCALE, I2CTransDone, and i2c_transaction::status.
| void airspeed_amsys_read_event | ( | void | ) |
Definition at line 143 of file airspeed_amsys.c.
References airspeed_amsys, airspeed_amsys_cnt, airspeed_amsys_downlink(), airspeed_amsys_i2c_trans, AIRSPEED_AMSYS_MAXPRESURE, airspeed_amsys_offset, AIRSPEED_AMSYS_OFFSET_MAX, AIRSPEED_AMSYS_OFFSET_MIN, AIRSPEED_AMSYS_OFFSET_NBSAMPLES_AVRG, airspeed_amsys_p, airspeed_filter, i2c_transaction::buf, I2CTransDone, stateSetAirspeed_f(), and i2c_transaction::status.
Here is the call graph for this function:| void airspeed_amsys_read_periodic | ( | void | ) |
Definition at line 109 of file airspeed_amsys.c.
References AIRSPEED_AMSYS_ADDR, airspeed_amsys_downlink(), AIRSPEED_AMSYS_I2C_DEV, airspeed_amsys_i2c_trans, i2c_receive(), I2CTransDone, sim_air_speed, stateSetAirspeed_f(), and i2c_transaction::status.
Here is the call graph for this function:| struct i2c_transaction airspeed_amsys_i2c_trans |
Definition at line 80 of file airspeed_amsys.c.
Referenced by airspeed_amsys_init(), airspeed_amsys_read_event(), and airspeed_amsys_read_periodic().
| float airspeed_filter |
Definition at line 79 of file airspeed_amsys.c.
Referenced by airspeed_amsys_read_event().
| float airspeed_scale |
Definition at line 78 of file airspeed_amsys.c.