/* Auto-generated config file hpl_dac_config.h */ #ifndef HPL_DAC_CONFIG_H #define HPL_DAC_CONFIG_H // <<< Use Configuration Wizard in Context Menu >>> // Basic configuration // Reference Selection // <0x00=> Internal 1.0v reference // <0x01=> AVCC // <0x02=> External reference // dac_arch_refsel #ifndef CONF_DAC_REFSEL #define CONF_DAC_REFSEL 1 #endif // // Advanced Configuration // dac_advanced_settings #ifndef CONF_DAC_ADVANCED_CONFIG #define CONF_DAC_ADVANCED_CONFIG 0 #endif // Run in standby // Indicates whether the DAC will continue running in standby sleep mode or not // dac_arch_runstdby #ifndef CONF_DAC_RUNSTDBY #define CONF_DAC_RUNSTDBY 0 #endif // Bypass DATABUF Write Protection // Indicate whether DATABUF write protection is bypass // dac_arch_bdwp #ifndef CONF_DAC_BDWP #define CONF_DAC_BDWP 0 #endif // Voltage Pump Disable // Indicate whether voltage pump is disable or not // dac_arch_vpd #ifndef CONF_DAC_VPD #define CONF_DAC_VPD 0 #endif // Left Adjusted Data // Indicate how the data is adjusted in the Data and Data Buffer register // dac_arch_leftadj #ifndef CONF_DAC_LEFTADJ #define CONF_DAC_LEFTADJ 1 #endif // Internal Output Enable // Indicate whether internal output is enable or not // dac_arch_ioen #ifndef CONF_DAC_IOEN #define CONF_DAC_IOEN 0 #endif // External Output Enable // Indicate whether external output is enable or not // dac_arch_eoen #ifndef CONF_DAC_EOEN #define CONF_DAC_EOEN 1 #endif // // Event configuration // Data Buffer Empty Event Output // Indicate whether Data Buffer Empty Event is enabled and generated when the Data Buffer register is empty or not // dac_arch_emptyeo #ifndef CONF_DAC_EMPTYEO #define CONF_DAC_EMPTYEO 0 #endif // Start Conversion on Event Input // Indicate whether Start Conversion is enabled and data are loaded from the Data Buffer register to the Data register upon event reception or not // dac_arch_startei #ifndef CONF_DAC_STARTEI #define CONF_DAC_STARTEI 0 #endif // // <<< end of configuration section >>> #endif // HPL_DAC_CONFIG_H