diff --git a/test/same54p20a_test/cfg/conf_core.h b/test/same54p20a_test/cfg/conf_core.h index 92544327..d90a74b1 100644 --- a/test/same54p20a_test/cfg/conf_core.h +++ b/test/same54p20a_test/cfg/conf_core.h @@ -11,6 +11,11 @@ #define _CONF_CLOCKS_H_ #include "clocks.h" +/** @name Core-Master-Clock-Configuration + * Configuration options for the master clock. + * @{ + */ + /** * Define the number of wait states for the master clock. * Can be [0-15]. @@ -35,6 +40,8 @@ * - 0 => Disabled * - 1 => Enabled */ + +/** @} */ #define CONF_CORE_DMA_ENABLE (0) /** @@ -47,7 +54,11 @@ #define CONF_CORE_PORT_EVCTRL_0_ENABLE (0) #define CONF_CORE_PORT_EVCTRL_1_ENABLE (0) #define CONF_CORE_PORT_EVCTRL_2_ENABLE (0) -// XOSC0 Config +/** @name Core-XOSC0-Configuration + * Configuration options for XOSC0. + * @{ + */ + #define CONF_CORE_CLK_XOSC0_ENABLE (1) #define CONF_CORE_CLK_XOSC0_XTALEN (1) #define CONF_CORE_CLK_XOSC0_RUNSTDBY (0) @@ -59,7 +70,13 @@ #define CONF_CORE_CLK_XOSC0_STARTUP_TIME CONF_CORE_CLK_XOSCCTRL_STARTUP_31us #define CONF_CORE_CLK_XOSC0_FREQUENCY 12000000 -// XOSC1 Config +/** @} */ + +/** @name Core-XOSC1-Configuration + * Configuration options for XOSC1. + * @{ + */ + #define CONF_CORE_CLK_XOSC1_ENABLE (0) #define CONF_CORE_CLK_XOSC1_XTALEN (0) #define CONF_CORE_CLK_XOSC1_RUNSTDBY (0) @@ -71,7 +88,13 @@ #define CONF_CORE_CLK_XOSC1_STARTUP_TIME CONF_CORE_CLK_XOSCCTRL_STARTUP_31us #define CONF_CORE_CLK_XOSC1_FREQUENCY 12000000 -// XOSC32K Config +/** @} */ + +/** @name Core-XOSC32K-Configuration + * Configuration options for the external 32khz oscillator. + * @{ + */ + #define CONF_CORE_CLK_XOSC32K_ENABLE (1) #define CONF_CORE_CLK_XOSC32K_CGM CONF_CORE_CLK_XOSC32KCTRL_CGM_STD_MODE #define CONF_CORE_CLK_XOSC32K_STARTUP_TIME CONF_CORE_CLK_XOSC32KCTRL_STARTUP_62592us @@ -85,6 +108,8 @@ #define CONF_CORE_CLK_XOSC32K_SWBACK (0) #define CONF_CORE_CLK_XOSC32K_WRTLOCK (0) +/** @} */ + /** @name Core-DFLL48M-Configuration * Configuration options for DFLL48M */ @@ -154,7 +179,11 @@ #define CONF_CORE_CLK_DFLL_OVERWRITE_CAL 0 /** @} */ -// DPLL0 Config +/** @name Core-DPLL0-Configuration + * Configuration Options for DPLL0. + * @{ + */ + #define CONF_CORE_CLK_DPLL0_ENABLE (1) #define CONF_CORE_CLK_DPLL0_ONDEMAND (0) #define CONF_CORE_CLK_DPLL0_RUNSTDBY (0) @@ -192,7 +221,12 @@ */ #define CONF_CORE_CLK_DPLL0_FILTER 0x0 -// DPLL1 Config +/** @} */ + +/** @name Core-DPLL1-Configuration + * Configuration Options for DPLL1. + * @{ + */ #define CONF_CORE_CLK_DPLL1_ENABLE (0) #define CONF_CORE_CLK_DPLL1_ONDEMAND (0) #define CONF_CORE_CLK_DPLL1_RUNSTDBY (0) @@ -232,6 +266,8 @@ */ #define CONF_CORE_CLK_DPLL1_FILTER 0x0 +/** @} */ + // GCLK Generators Config #define CONF_CORE_GCLK_0_ENABLE 1 #define CONF_CORE_GCLK_0_RUN_IN_STANDBY 1 diff --git a/test/same54p20a_test/doc/html/clocks_8c_source.html b/test/same54p20a_test/doc/html/clocks_8c_source.html index cb270577..c0dfeafd 100644 --- a/test/same54p20a_test/doc/html/clocks_8c_source.html +++ b/test/same54p20a_test/doc/html/clocks_8c_source.html @@ -526,19 +526,19 @@ $(function() {
455 #endif
456 }
-
CONF_CORE_CLK_DFLL_WAITLOCK
#define CONF_CORE_CLK_DFLL_WAITLOCK
This bit controls the DFLL output clock, depending on the lock status:
Definition: conf_core.h:124
-
CONF_CORE_CLK_DPLL1_FILTER
#define CONF_CORE_CLK_DPLL1_FILTER
Definition: conf_core.h:234
-
CONF_CORE_CLK_DPLL0_FILTER
#define CONF_CORE_CLK_DPLL0_FILTER
Definition: conf_core.h:194
-
CONF_CORE_MCLK_CPUDIV
#define CONF_CORE_MCLK_CPUDIV
Definition: conf_core.h:31
+
CONF_CORE_CLK_DFLL_WAITLOCK
#define CONF_CORE_CLK_DFLL_WAITLOCK
This bit controls the DFLL output clock, depending on the lock status:
Definition: conf_core.h:148
+
CONF_CORE_CLK_DPLL1_FILTER
#define CONF_CORE_CLK_DPLL1_FILTER
Definition: conf_core.h:267
+
CONF_CORE_CLK_DPLL0_FILTER
#define CONF_CORE_CLK_DPLL0_FILTER
Definition: conf_core.h:222
+
CONF_CORE_MCLK_CPUDIV
#define CONF_CORE_MCLK_CPUDIV
Definition: conf_core.h:36
MCLK
#define MCLK
(MCLK) APB Base Address
Definition: same54n19a.h:914
OSC32KCTRL
#define OSC32KCTRL
(OSC32KCTRL) APB Base Address
Definition: same54n19a.h:929
-
CONF_CORE_CLK_DFLL_ONDEMAND
#define CONF_CORE_CLK_DFLL_ONDEMAND
Enables or Disables on-demand operation.
Definition: conf_core.h:107
+
CONF_CORE_CLK_DFLL_ONDEMAND
#define CONF_CORE_CLK_DFLL_ONDEMAND
Enables or Disables on-demand operation.
Definition: conf_core.h:132
OSCCTRL
#define OSCCTRL
(OSCCTRL) APB Base Address
Definition: same54n19a.h:925
-
CONF_CORE_CLK_DFLL_RUNSTDBY
#define CONF_CORE_CLK_DFLL_RUNSTDBY
Enables or Disables run-in-standby operation.
Definition: conf_core.h:115
+
CONF_CORE_CLK_DFLL_RUNSTDBY
#define CONF_CORE_CLK_DFLL_RUNSTDBY
Enables or Disables run-in-standby operation.
Definition: conf_core.h:140
conf_core.h
-
CONF_CORE_CLK_DFLL_ENABLE
#define CONF_CORE_CLK_DFLL_ENABLE
Enables or Disables the DFLL48M Clock.
Definition: conf_core.h:99
+
CONF_CORE_CLK_DFLL_ENABLE
#define CONF_CORE_CLK_DFLL_ENABLE
Enables or Disables the DFLL48M Clock.
Definition: conf_core.h:124
GCLK
#define GCLK
(GCLK) APB Base Address
Definition: same54n19a.h:894
-
CONF_CORE_CLK_DFLL_GCLK_SRC
#define CONF_CORE_CLK_DFLL_GCLK_SRC
GCLK Source used to generate DFLL48M.
Definition: conf_core.h:154
+
CONF_CORE_CLK_DFLL_GCLK_SRC
#define CONF_CORE_CLK_DFLL_GCLK_SRC
GCLK Source used to generate DFLL48M.
Definition: conf_core.h:178