Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
dac module

General DAC driver

To activate a specific DAC input, define flag USE_DACX where X is your DAC input number

Example for airframe file

Add to your firmware section:

1 <module name="dac"/>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw dac.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="dac" dir="mcu_periph" task="mcu">
<doc>
<description>
General DAC driver
To activate a specific DAC input, define flag USE_DACX where X is your DAC input number
</description>
</doc>
<header>
<file name="dac.h" dir="mcu_periph"/>
</header>
<makefile>
<define name="USE_DAC"/>
<file_arch name="dac_arch.c" dir="mcu_periph"/>
</makefile>
</module>