Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
This module can be used to read one or two values from the ADC channels in a generic way. More...
#include "std.h"
Go to the source code of this file.
Functions | |
void | adc_generic_init (void) |
void | adc_generic_periodic (void) |
Variables | |
uint16_t | adc_generic_val1 |
uint16_t | adc_generic_val2 |
This module can be used to read one or two values from the ADC channels in a generic way.
Data is reported through the default telemetry channel (by default) or can be redirected to an other one (alternate telemetry, datalogger) at a frequency defined in the telemetry xml file.
Definition in file adc_generic.h.
void adc_generic_init | ( | void | ) |
Definition at line 77 of file adc_generic.c.
References adc_buf_channel(), ADC_CHANNEL_GENERIC_NB_SAMPLES, adc_generic_val1, adc_generic_val2, adc_msg_send(), DefaultPeriodic, and register_periodic_telemetry().
void adc_generic_periodic | ( | void | ) |
Definition at line 94 of file adc_generic.c.
References adc_msg_send(), DefaultChannel, and DefaultDevice.
|
extern |
Definition at line 38 of file adc_generic.c.
Referenced by adc_generic_init(), and adc_msg_send().
|
extern |
Definition at line 39 of file adc_generic.c.
Referenced by adc_generic_init(), and adc_msg_send().