/* Auto-generated config file hpl_pm_config.h */ #ifndef HPL_PM_CONFIG_H #define HPL_PM_CONFIG_H // <<< Use Configuration Wizard in Context Menu >>> #include // System Configuration // Indicates whether configuration for system is enabled or not // enable_cpu_clock #ifndef CONF_SYSTEM_CONFIG #define CONF_SYSTEM_CONFIG 1 #endif // CPU Clock Settings // CPU Clock source // Generic clock generator 0 // This defines the clock source for the CPU // cpu_clock_source #ifndef CONF_CPU_SRC #define CONF_CPU_SRC GCLK_CLKCTRL_GEN_GCLK0_Val #endif // CPU clock Prescalar // 1 // 2 // 4 // 8 // 16 // 32 // 64 // 128 // Prescalar for Main CPU clock // cpu_div #ifndef CONF_CPU_DIV #define CONF_CPU_DIV PM_CPUSEL_CPUDIV_DIV1_Val #endif // // NVM Settings // NVM Wait States // These bits select the number of wait states for a read operation. // <0=> 0 // <1=> 1 // <2=> 2 // <3=> 3 // <4=> 4 // <5=> 5 // <6=> 6 // <7=> 7 // <8=> 8 // <9=> 9 // <10=> 10 // <11=> 11 // <12=> 12 // <13=> 13 // <14=> 14 // <15=> 15 // nvm_wait_states #ifndef CONF_NVM_WAIT_STATE #define CONF_NVM_WAIT_STATE 0 #endif // // APBA Clock Select // APBA clock prescalar // 1 // 2 // 4 // 8 // 16 // 32 // 64 // 128 // APBA clock prescalar // apba_div #ifndef CONF_APBA_DIV #define CONF_APBA_DIV PM_APBASEL_APBADIV_DIV1 #endif // #if CONF_APBA_DIV < CONF_CPU_DIV #warning APBA DIV cannot less than CPU DIV #endif // APBB Clock Select // APBB clock prescalar // 1 // 2 // 4 // 8 // 16 // 32 // 64 // 128 // APBB clock prescalar // apbb_div #ifndef CONF_APBB_DIV #define CONF_APBB_DIV PM_APBBSEL_APBBDIV_DIV1 #endif // #if CONF_APBB_DIV < CONF_CPU_DIV #warning APBB DIV cannot less than CPU DIV #endif // APBC Clock Select // APBC clock prescalar // 1 // 2 // 4 // 8 // 16 // 32 // 64 // 128 // APBC clock prescalar // apbc_div #ifndef CONF_APBC_DIV #define CONF_APBC_DIV PM_APBCSEL_APBCDIV_DIV1 #endif // #if CONF_APBC_DIV < CONF_CPU_DIV #warning APBC DIV cannot less than CPU DIV #endif // // <<< end of configuration section >>> #endif // HPL_PM_CONFIG_H