airspeedSensor.c File Reference
#include "main.h"
#include "../Common/Common.h"
#include "airspeedSensor.h"
Include dependency graph for airspeedSensor.c:

Go to the source code of this file.

Macros

#define GPS_OLD   1
 

Functions

void __attribute__ ((interrupt, no_auto_psv))
 UART2 interrupt function routine for when data comes in from the XBEE. More...
 
void initAirspeedSensor ()
 
float getCurrentAirspeed ()
 
void initAirspeedADC ()
 

Variables

int currentAirspeedSignal = 0
 
int airspeedHistory [AIRSPEED_HISTORY]
 
int historyCounter = 0
 

Macro Definition Documentation

#define GPS_OLD   1

Function Documentation

void __attribute__ ( (interrupt, no_auto_psv)  )

UART2 interrupt function routine for when data comes in from the XBEE.

Definition at line 16 of file airspeedSensor.c.

float getCurrentAirspeed ( )

Definition at line 34 of file airspeedSensor.c.

Here is the caller graph for this function:

void initAirspeedADC ( )

Definition at line 46 of file airspeedSensor.c.

Here is the caller graph for this function:

void initAirspeedSensor ( )

Definition at line 26 of file airspeedSensor.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int airspeedHistory[AIRSPEED_HISTORY]

Definition at line 13 of file airspeedSensor.c.

int currentAirspeedSignal = 0

Definition at line 12 of file airspeedSensor.c.

int historyCounter = 0

Definition at line 14 of file airspeedSensor.c.