aboutsummaryrefslogtreecommitdiff
path: root/atmel-samd/asf4/samd21/config/hpl_dac_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'atmel-samd/asf4/samd21/config/hpl_dac_config.h')
-rw-r--r--atmel-samd/asf4/samd21/config/hpl_dac_config.h86
1 files changed, 86 insertions, 0 deletions
diff --git a/atmel-samd/asf4/samd21/config/hpl_dac_config.h b/atmel-samd/asf4/samd21/config/hpl_dac_config.h
new file mode 100644
index 000000000..4b1b152fb
--- /dev/null
+++ b/atmel-samd/asf4/samd21/config/hpl_dac_config.h
@@ -0,0 +1,86 @@
+/* Auto-generated config file hpl_dac_config.h */
+#ifndef HPL_DAC_CONFIG_H
+#define HPL_DAC_CONFIG_H
+
+// <<< Use Configuration Wizard in Context Menu >>>
+
+// <h> Basic configuration
+// <o> Reference Selection
+// <0x00=> Internal 1.0v reference
+// <0x01=> AVCC
+// <0x02=> External reference
+// <id> dac_arch_refsel
+#ifndef CONF_DAC_REFSEL
+#define CONF_DAC_REFSEL 0
+#endif
+// </h>
+
+// <e> Advanced Configuration
+// <id> dac_advanced_settings
+#ifndef CONF_DAC_ADVANCED_CONFIG
+#define CONF_DAC_ADVANCED_CONFIG 0
+#endif
+
+// <q> Run in standby
+// <i> Indicates whether the DAC will continue running in standby sleep mode or not
+// <id> dac_arch_runstdby
+#ifndef CONF_DAC_RUNSTDBY
+#define CONF_DAC_RUNSTDBY 0
+#endif
+
+// <q> Bypass DATABUF Write Protection
+// <i> Indicate whether DATABUF write protection is bypass
+// <id> dac_arch_bdwp
+#ifndef CONF_DAC_BDWP
+#define CONF_DAC_BDWP 0
+#endif
+
+// <q> Voltage Pump Disable
+// <i> Indicate whether voltage pump is disable or not
+// <id> dac_arch_vpd
+#ifndef CONF_DAC_VPD
+#define CONF_DAC_VPD 0
+#endif
+
+// <q> Left Adjusted Data
+// <i> Indicate how the data is adjusted in the Data and Data Buffer register
+// <id> dac_arch_leftadj
+#ifndef CONF_DAC_LEFTADJ
+#define CONF_DAC_LEFTADJ 0
+#endif
+
+// <q> Internal Output Enable
+// <i> Indicate whether internal output is enable or not
+// <id> dac_arch_ioen
+#ifndef CONF_DAC_IOEN
+#define CONF_DAC_IOEN 0
+#endif
+
+// <q> External Output Enable
+// <i> Indicate whether external output is enable or not
+// <id> dac_arch_eoen
+#ifndef CONF_DAC_EOEN
+#define CONF_DAC_EOEN 1
+#endif
+
+// </e>
+
+// <h> Event configuration
+// <q> Data Buffer Empty Event Output
+// <i> Indicate whether Data Buffer Empty Event is enabled and generated when the Data Buffer register is empty or not
+// <id> dac_arch_emptyeo
+#ifndef CONF_DAC_EMPTYEO
+#define CONF_DAC_EMPTYEO 0
+#endif
+
+// <q> Start Conversion on Event Input
+// <i> Indicate whether Start Conversion is enabled and data are loaded from the Data Buffer register to the Data register upon event reception or not
+// <id> dac_arch_startei
+#ifndef CONF_DAC_STARTEI
+#define CONF_DAC_STARTEI 0
+#endif
+// </h>
+
+// <<< end of configuration section >>>
+
+#endif // HPL_DAC_CONFIG_H