Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
AOA_adc.c File Reference
#include "modules/sensors/AOA_adc.h"
#include "mcu_periph/adc.h"
#include "generated/airframe.h"
#include "estimator.h"
#include "std.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for AOA_adc.c:

Go to the source code of this file.

Macros

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE
 
#define ADC_CHANNEL_AOA_NB_SAMPLES   DEFAULT_AV_NB_SAMPLE
 

Functions

void AOA_adc_init (void)
 
void AOA_adc_update (void)
 

Variables

uint16_t adc_AOA_val
 
struct adc_buf buf_AOA
 
float AOA_offset
 
float AOA_filter
 
float AOA
 
float AOA_old
 

Macro Definition Documentation

#define ADC_CHANNEL_AOA_NB_SAMPLES   DEFAULT_AV_NB_SAMPLE

Definition at line 52 of file AOA_adc.c.

Referenced by AOA_adc_init().

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 42 of file AOA_adc.c.

Function Documentation

void AOA_adc_init ( void  )

Definition at line 61 of file AOA_adc.c.

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

+ Here is the call graph for this function:

void AOA_adc_update ( void  )

Variable Documentation

uint16_t adc_AOA_val

Definition at line 38 of file AOA_adc.c.

Referenced by AOA_adc_update().

float AOA

Definition at line 57 of file AOA_adc.c.

Referenced by AOA_adc_update().

float AOA_filter

Definition at line 56 of file AOA_adc.c.

Referenced by AOA_adc_init(), and AOA_adc_update().

float AOA_offset

Definition at line 56 of file AOA_adc.c.

Referenced by AOA_adc_init(), and AOA_adc_update().

float AOA_old

Definition at line 57 of file AOA_adc.c.

Referenced by AOA_adc_init(), and AOA_adc_update().

struct adc_buf buf_AOA

Definition at line 55 of file AOA_adc.c.

Referenced by AOA_adc_init(), and AOA_adc_update().