From: asterix Date: Mon, 28 Mar 2011 09:56:56 +0000 (+0000) Subject: Add header to choose the right cpu dependet dac implementation. X-Git-Tag: 2.7.0~152 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1f794528f7f0c7d57267b3b54ed401eb6200e305;p=bertos.git Add header to choose the right cpu dependet dac implementation. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4814 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/dac_cm3.h b/bertos/cpu/cortex-m3/drv/dac_cm3.h new file mode 100644 index 00000000..3cebff72 --- /dev/null +++ b/bertos/cpu/cortex-m3/drv/dac_cm3.h @@ -0,0 +1,46 @@ +/** + * \file + * + * + * \brief Low-level DAC module for Cortex-m3. + * + * \author Daniele Basile + * + */ + +#include + +#if CPU_CM3_SAM3X + #include "adc_sam3.h" +/*#elif Add other ARM families here */ +#else + #error Unknown CPU +#endif