Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
AOA_adc.h File Reference
#include "std.h"
+ Include dependency graph for AOA_adc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void AOA_adc_init (void)
 
void AOA_adc_update (void)
 

Variables

uint16_t adc_AOA_val
 Raw ADC value. More...
 
float AOA_offset
 Angle of Attack offset. More...
 
float AOA_filter
 Filtering value [0-1[ 0: no filtering 1: output is a constant value. More...
 

Function Documentation

void AOA_adc_init ( void  )

Definition at line 80 of file AOA_adc.c.

References adc_buf_channel(), ADC_CHANNEL_AOA_NB_SAMPLES, AOA, AOA_FILTER, AOA_filter, AOA_OFFSET, AOA_offset, AOA_old, and buf_AOA.

+ Here is the call graph for this function:

void AOA_adc_update ( void  )

Definition at line 90 of file AOA_adc.c.

References adc_AOA_val, AOA, AOA_filter, AOA_offset, AOA_old, AOA_SENS, adc_buf::av_nb_sample, buf_AOA, DefaultChannel, DefaultDevice, stateSetAngleOfAttack_f(), and adc_buf::sum.

+ Here is the call graph for this function:

Variable Documentation

uint16_t adc_AOA_val

Raw ADC value.

Definition at line 53 of file AOA_adc.c.

Referenced by AOA_adc_update().

float AOA_filter

Filtering value [0-1[ 0: no filtering 1: output is a constant value.

Definition at line 54 of file AOA_adc.c.

Referenced by AOA_adc_init(), and AOA_adc_update().

float AOA_offset

Angle of Attack offset.

Definition at line 54 of file AOA_adc.c.

Referenced by AOA_adc_init(), and AOA_adc_update().