|  | Paparazzi UAS v7.0_unstable
    Paparazzi is a free software Unmanned Aircraft System. | 
 Include dependency graph for aoa_adc.h:
 Include dependency graph for aoa_adc.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Data Structures | |
| struct | Aoa_Adc | 
| Angle of Attack sensor via ADC.  More... | |
| Functions | |
| void | aoa_adc_init (void) | 
| void | aoa_adc_update (void) | 
| Variables | |
| struct Aoa_Adc | aoa_adc | 
| struct Aoa_Adc | 
 Collaboration diagram for Aoa_Adc:
 Collaboration diagram for Aoa_Adc:| Data Fields | ||
|---|---|---|
| float | angle | Angle of attack in radians. | 
| struct adc_buf | buf | |
| float | filter | Filtering value [0-1] 0: no filtering 1: output is a constant value. | 
| float | offset | Angle of attack offset in radians. | 
| uint32_t | raw | raw ADC value | 
| float | sens | sensitiviy, i.e. scale to conver raw to angle | 
Definition at line 67 of file aoa_adc.c.
References adc_buf_channel(), ADC_CHANNEL_AOA_NB_SAMPLES, Aoa_Adc::angle, aoa_adc, AOA_FILTER, AOA_OFFSET, AOA_SENS, Aoa_Adc::buf, Aoa_Adc::filter, foo, Aoa_Adc::offset, and Aoa_Adc::sens.
 Here is the call graph for this function:
 Here is the call graph for this function:Definition at line 76 of file aoa_adc.c.
References Aoa_Adc::angle, aoa_adc, AOA_ADC_ID, adc_buf::av_nb_sample, Aoa_Adc::buf, DefaultChannel, DefaultDevice, Aoa_Adc::filter, foo, Aoa_Adc::offset, Aoa_Adc::raw, Aoa_Adc::sens, stateSetAngleOfAttack_f(), and adc_buf::sum.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | extern | 
Definition at line 65 of file aoa_adc.c.
Referenced by aoa_adc_init(), and aoa_adc_update().