Paparazzi UAS  v5.15_devel-88-gb3ad7fe
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
adc_generic.h File Reference

This module can be used to read one or two values from the ADC channels in a generic way. More...

#include "std.h"
+ Include dependency graph for adc_generic.h:
+ This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

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.

Function Documentation

void adc_generic_init ( void  )
void adc_generic_periodic ( void  )

Definition at line 11 of file sim_adc_generic.c.

References adc_msg_send(), DefaultChannel, and DefaultDevice.

+ Here is the call graph for this function:

Variable Documentation

uint16_t adc_generic_val1

Definition at line 4 of file sim_adc_generic.c.

Referenced by adc_generic_init(), adc_msg_send(), and update_adc1().

uint16_t adc_generic_val2

Definition at line 5 of file sim_adc_generic.c.

Referenced by adc_generic_init(), and adc_msg_send().