Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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:

<module name="dac"/>

Files

Header Files

The following headers are automatically included in modules.h

Source Files

  • arch dependent: mcu_periph/dac_arch.c

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>
<dep>
<depends>mcu</depends>
</dep>
<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>