mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
21 lines
584 B
XML
21 lines
584 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<!--
|
|
Generic ADC module
|
|
@define ADC_CHANNEL_GENERIC1 on which ADC input 1 is measured
|
|
@define ADC_CHANNEL_GENERIC2 on which ADC input 2 is measured
|
|
@define USE_ADC_x with x as the number of the ADC input (once for every ADC channel you want to use)
|
|
-->
|
|
|
|
<module name="adc_generic" dir="adcs">
|
|
<header>
|
|
<file name="adc_generic.h"/>
|
|
</header>
|
|
<init fun="adc_generic_init()"/>
|
|
<periodic fun="adc_generic_periodic()" freq="4"/>
|
|
<makefile target="ap">
|
|
<file name="adc_generic.c"/>
|
|
</makefile>
|
|
</module>
|
|
|