Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
airspeed_adc.c File Reference
#include "modules/sensors/airspeed_adc.h"
#include "mcu_periph/adc.h"
#include <BOARD_CONFIG>
#include "generated/airframe.h"
#include "state.h"
+ Include dependency graph for airspeed_adc.c:

Go to the source code of this file.




void airspeed_adc_init (void)
void airspeed_adc_update (void)


uint16_t adc_airspeed_val
struct adc_buf buf_airspeed

Macro Definition Documentation


Definition at line 38 of file airspeed_adc.c.

Referenced by airspeed_adc_init().

Function Documentation

void airspeed_adc_init ( void  )

Definition at line 45 of file airspeed_adc.c.

References adc_buf_channel(), ADC_CHANNEL_AIRSPEED_NB_SAMPLES, and buf_airspeed.

+ Here is the call graph for this function:

void airspeed_adc_update ( void  )

Definition at line 51 of file airspeed_adc.c.

References adc_airspeed_val, adc_buf::av_nb_sample, buf_airspeed, sim_air_speed, stateSetAirspeed_f(), and adc_buf::sum.

+ Here is the call graph for this function:

Variable Documentation

uint16_t adc_airspeed_val

Definition at line 29 of file airspeed_adc.c.

Referenced by airspeed_adc_update().

struct adc_buf buf_airspeed

Definition at line 41 of file airspeed_adc.c.

Referenced by airspeed_adc_init(), and airspeed_adc_update().