Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
airspeed_ets.h File Reference

Driver for the EagleTree Systems Airspeed Sensor. More...

#include "std.h"
#include "mcu_periph/i2c.h"
+ Include dependency graph for airspeed_ets.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void airspeed_ets_init (void)
 
void airspeed_ets_read_periodic (void)
 
void airspeed_ets_read_event (void)
 
static void AirspeedEtsEvent (void)
 

Variables

uint16_t airspeed_ets_raw
 
uint16_t airspeed_ets_offset
 
bool airspeed_ets_valid
 
float airspeed_ets
 
struct i2c_transaction airspeed_ets_i2c_trans
 

Detailed Description

Driver for the EagleTree Systems Airspeed Sensor.

Has only been tested with V3 of the sensor hardware.

Notes: Connect directly to TWOG/Tiny I2C port. Multiple sensors can be chained together. Sensor should be in the proprietary mode (default) and not in 3rd party mode.

Sensor module wire assignments: Red wire: 5V White wire: Ground Yellow wire: SDA Brown wire: SCL

Definition in file airspeed_ets.h.

Function Documentation

◆ airspeed_ets_init()

◆ airspeed_ets_read_event()

◆ airspeed_ets_read_periodic()

◆ AirspeedEtsEvent()

static void AirspeedEtsEvent ( void  )
inlinestatic

Definition at line 58 of file airspeed_ets.h.

References airspeed_ets_i2c_trans, airspeed_ets_read_event(), I2CTransDone, I2CTransFailed, I2CTransSuccess, and i2c_transaction::status.

+ Here is the call graph for this function:

Variable Documentation

◆ airspeed_ets

float airspeed_ets
extern

◆ airspeed_ets_i2c_trans

struct i2c_transaction airspeed_ets_i2c_trans
extern

◆ airspeed_ets_offset

uint16_t airspeed_ets_offset
extern

◆ airspeed_ets_raw

uint16_t airspeed_ets_raw
extern

◆ airspeed_ets_valid

bool airspeed_ets_valid
extern

Definition at line 104 of file airspeed_ets.c.

Referenced by airspeed_ets_init(), and airspeed_ets_read_event().