Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include "adc_generic.h"
#include "mcu_periph/adc.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
#include <BOARD_CONFIG>
Go to the source code of this file.
Macros | |
#define | ADC_CHANNEL_GENERIC_NB_SAMPLES DEFAULT_AV_NB_SAMPLE |
Functions | |
void | adc_generic_init (void) |
void | adc_generic_periodic (void) |
Variables | |
uint16_t | adc_generic_val1 |
uint16_t | adc_generic_val2 |
#define ADC_CHANNEL_GENERIC_NB_SAMPLES DEFAULT_AV_NB_SAMPLE |
Definition at line 18 of file adc_generic.c.
Referenced by adc_generic_init().
void adc_generic_init | ( | void | ) |
Definition at line 30 of file adc_generic.c.
References adc_buf_channel(), and ADC_CHANNEL_GENERIC_NB_SAMPLES.
void adc_generic_periodic | ( | void | ) |
Definition at line 40 of file adc_generic.c.
References adc_generic_val1, adc_generic_val2, DefaultChannel, and DefaultDevice.
uint16_t adc_generic_val1 |
Definition at line 8 of file adc_generic.c.
Referenced by adc_generic_periodic().
uint16_t adc_generic_val2 |
Definition at line 9 of file adc_generic.c.
Referenced by adc_generic_periodic().