From 1f794528f7f0c7d57267b3b54ed401eb6200e305 Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 28 Mar 2011 09:56:56 +0000 Subject: [PATCH] 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 --- bertos/cpu/cortex-m3/drv/dac_cm3.h | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bertos/cpu/cortex-m3/drv/dac_cm3.h 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 -- 2.25.1