SAME54P20A Test Project
|
#include "clocks.h"
Go to the source code of this file.
Macros | |
#define | CONF_CORE_DMA_ENABLE (0) |
#define | CONF_CORE_CMCC_ENABLE (0) |
#define | CONF_CORE_PORT_EVCTRL_0_ENABLE (0) |
#define | CONF_CORE_PORT_EVCTRL_1_ENABLE (0) |
#define | CONF_CORE_PORT_EVCTRL_2_ENABLE (0) |
#define | CONF_CORE_GCLK_0_ENABLE 1 |
#define | CONF_CORE_GCLK_0_RUN_IN_STANDBY 1 |
#define | CONF_CORE_GCLK_0_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_0_DIV_VAL 1 |
#define | CONF_CORE_GCLK_0_DIVSEL 0 |
#define | CONF_CORE_GCLK_0_OUTPUT_ENABLE 1 |
#define | CONF_CORE_GCLK_0_OUTPUT_OFF_VALUE 1 |
#define | CONF_CORE_GCLK_0_IDC 1 |
#define | CONF_CORE_GCLK_1_ENABLE 0 |
#define | CONF_CORE_GCLK_1_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_1_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_1_DIV_VAL 1 |
#define | CONF_CORE_GCLK_1_DIVSEL 0 |
#define | CONF_CORE_GCLK_1_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_1_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_1_IDC 0 |
#define | CONF_CORE_GCLK_2_ENABLE 0 |
#define | CONF_CORE_GCLK_2_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_2_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_2_DIV_VAL 1 |
#define | CONF_CORE_GCLK_2_DIVSEL 0 |
#define | CONF_CORE_GCLK_2_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_2_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_2_IDC 0 |
#define | CONF_CORE_GCLK_3_ENABLE 1 |
#define | CONF_CORE_GCLK_3_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_3_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC32K |
#define | CONF_CORE_GCLK_3_DIV_VAL 1 |
#define | CONF_CORE_GCLK_3_DIVSEL 0 |
#define | CONF_CORE_GCLK_3_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_3_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_3_IDC 0 |
#define | CONF_CORE_GCLK_4_ENABLE 0 |
#define | CONF_CORE_GCLK_4_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_4_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_4_DIV_VAL 1 |
#define | CONF_CORE_GCLK_4_DIVSEL 1 |
#define | CONF_CORE_GCLK_4_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_4_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_4_IDC 0 |
#define | CONF_CORE_GCLK_5_ENABLE 0 |
#define | CONF_CORE_GCLK_5_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_5_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_5_DIV_VAL 1 |
#define | CONF_CORE_GCLK_5_DIVSEL 0 |
#define | CONF_CORE_GCLK_5_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_5_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_5_IDC 0 |
#define | CONF_CORE_GCLK_6_ENABLE 0 |
#define | CONF_CORE_GCLK_6_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_6_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_6_DIV_VAL 1 |
#define | CONF_CORE_GCLK_6_DIVSEL 0 |
#define | CONF_CORE_GCLK_6_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_6_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_6_IDC 0 |
#define | CONF_CORE_GCLK_7_ENABLE 0 |
#define | CONF_CORE_GCLK_7_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_7_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_7_DIV_VAL 1 |
#define | CONF_CORE_GCLK_7_DIVSEL 0 |
#define | CONF_CORE_GCLK_7_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_7_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_7_IDC 0 |
#define | CONF_CORE_GCLK_8_ENABLE 0 |
#define | CONF_CORE_GCLK_8_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_8_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_8_DIV_VAL 1 |
#define | CONF_CORE_GCLK_8_DIVSEL 0 |
#define | CONF_CORE_GCLK_8_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_8_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_8_IDC 0 |
#define | CONF_CORE_GCLK_9_ENABLE 0 |
#define | CONF_CORE_GCLK_9_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_9_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_9_DIV_VAL 1 |
#define | CONF_CORE_GCLK_9_DIVSEL 0 |
#define | CONF_CORE_GCLK_9_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_9_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_9_IDC 0 |
#define | CONF_CORE_GCLK_10_ENABLE 0 |
#define | CONF_CORE_GCLK_10_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_10_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_10_DIV_VAL 1 |
#define | CONF_CORE_GCLK_10_DIVSEL 0 |
#define | CONF_CORE_GCLK_10_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_10_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_10_IDC 0 |
#define | CONF_CORE_GCLK_11_ENABLE 0 |
#define | CONF_CORE_GCLK_11_RUN_IN_STANDBY 0 |
#define | CONF_CORE_GCLK_11_CLOCK_SOURCE GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_GCLK_11_DIV_VAL 1 |
#define | CONF_CORE_GCLK_11_DIVSEL 0 |
#define | CONF_CORE_GCLK_11_OUTPUT_ENABLE 0 |
#define | CONF_CORE_GCLK_11_OUTPUT_OFF_VALUE 0 |
#define | CONF_CORE_GCLK_11_IDC 0 |
Core-Master-Clock-Configuration | |
Configuration options for the master clock. | |
#define | CONF_CORE_MCLK_NVM_WAIT_STATE 0x5 |
Define the number of wait states for the master clock. Can be [0-15]. See Datasheet Reference | |
#define | CONF_CORE_MCLK_CPUDIV 0x1 |
Define the master clock divisor. More... | |
Core-XOSC0-Configuration | |
Configuration options for XOSC0. | |
#define | CONF_CORE_CLK_XOSC0_ENABLE (1) |
Enables or Disables the XOSC0 Clock. More... | |
#define | CONF_CORE_CLK_XOSC0_XTALEN (1) |
This bit controls the connections between the I/O pads and the external clock or crystal oscillator XOSC0: More... | |
#define | CONF_CORE_CLK_XOSC0_RUNSTDBY (0) |
This bit controls how the XOSC0 behaves during standby sleep mode: More... | |
#define | CONF_CORE_CLK_XOSC0_ONDEMAND (0) |
The On Demand operation mode allows the oscillator XOSC0 to be enabled or disabled, depending on peripheral clock requests. More... | |
#define | CONF_CORE_CLK_XOSC0_LOWBUFGAIN (0) |
The default value of LOWBUFGAIN=0 should be used to allow operating with a low amplitude oscillator. Don't use this setting except to solve stability issues. More... | |
#define | CONF_CORE_CLK_XOSC0_ENALC (1) |
This bit controls the XOSC0 automatic loop control: More... | |
#define | CONF_CORE_CLK_XOSC0_CFDEN (1) |
This bit controls the XOSC0 clock failure detector: More... | |
#define | CONF_CORE_CLK_XOSC0_SWBEN (0) |
This bit controls the XOSC0 output clock switch back to the external clock or crystal oscillator in case of clock recovery: More... | |
#define | CONF_CORE_CLK_XOSC0_STARTUP_TIME (0x00) |
These bits select start-up time for XOSC0 according to the table below: More... | |
#define | CONF_CORE_CLK_XOSC0_FREQUENCY 12000000 |
This is the frequency of the external clock you're using for XOSC0. This can be anything from 8MHz to 48MHz. More... | |
Core-XOSC1-Configuration | |
Configuration options for XOSC1. | |
#define | CONF_CORE_CLK_XOSC1_ENABLE (0) |
Enables or Disables the XOSC1 Clock. More... | |
#define | CONF_CORE_CLK_XOSC1_XTALEN (0) |
This bit controls the connections between the I/O pads and the external clock or crystal oscillator XOSC1: More... | |
#define | CONF_CORE_CLK_XOSC1_RUNSTDBY (0) |
This bit controls how the XOSC1 behaves during standby sleep mode: More... | |
#define | CONF_CORE_CLK_XOSC1_ONDEMAND (0) |
The On Demand operation mode allows the oscillator XOSC1 to be enabled or disabled, depending on peripheral clock requests. More... | |
#define | CONF_CORE_CLK_XOSC1_LOWBUFGAIN (0) |
The default value of LOWBUFGAIN=0 should be used to allow operating with a low amplitude oscillator. Don't use this setting except to solve stability issues. More... | |
#define | CONF_CORE_CLK_XOSC1_ENALC (0) |
This bit controls the XOSC1 automatic loop control: More... | |
#define | CONF_CORE_CLK_XOSC1_CFDEN (0) |
This bit controls the XOSC1 clock failure detector: More... | |
#define | CONF_CORE_CLK_XOSC1_SWBEN (0) |
This bit controls the XOSC1 output clock switch back to the external clock or crystal oscillator in case of clock recovery: More... | |
#define | CONF_CORE_CLK_XOSC1_STARTUP_TIME (0x00) |
These bits select start-up time for XOSC1 according to the table below: More... | |
#define | CONF_CORE_CLK_XOSC1_FREQUENCY 12000000 |
This is the frequency of the external clock you're using for XOSC1. This can be anything from 8MHz to 48MHz. More... | |
Core-XOSC32K-Configuration | |
Configuration options for the external 32khz oscillator. | |
#define | CONF_CORE_CLK_XOSC32K_ENABLE (1) |
Enables or Disables XOSC32K. More... | |
#define | CONF_CORE_CLK_XOSC32K_CGM (0x01) |
These bits control the gain of the external crstal oscillator. More... | |
#define | CONF_CORE_CLK_XOSC32K_STARTUP_TIME CONF_CORE_CLK_XOSC32KCTRL_STARTUP_62592us |
These bits select the startup time for the oscillator. More... | |
#define | CONF_CORE_CLK_XOSC32K_ONDEMAND (1) |
This bit controls how XOSC32K behaves when a peripheral clock request is detected. More... | |
#define | CONF_CORE_CLK_XOSC32K_RUNSTDBY (0) |
This bit controls how XOSC32K behaves during standby sleep mode. More... | |
#define | CONF_CORE_CLK_XOSC32K_EN1K (0) |
#define | CONF_CORE_CLK_XOSC32K_EN32K (1) |
#define | CONF_CORE_CLK_XOSC32K_XTALEN (1) |
This bit controls the connections between the I/O pads and the external clock or crystal oscillator. More... | |
#define | CONF_CORE_CLK_XOSC32K_CFDPRESC (0) |
This bit selects the prescaler for the CLock Failure Detector: More... | |
#define | CONF_CORE_CLK_XOSC32K_CFDEN (0) |
This bit selects the Clock Failulre Detector state. More... | |
#define | CONF_CORE_CLK_XOSC32K_SWBACK (0) |
This bit controls the XOSC32K output switch back to the external clock or crystal oscillator in case of clock recovery. More... | |
#define | CONF_CORE_CLK_XOSC32K_WRTLOCK (0) |
This bit locks the XOSC32K register for future writes, effectively freezing the XOSC32K configuration. More... | |
Core-DFLL48M-Configuration | |
Configuration options for DFLL48M | |
#define | CONF_CORE_CLK_DFLL_ENABLE (1) |
Enables or Disables the DFLL48M Clock. More... | |
#define | CONF_CORE_CLK_DFLL_ONDEMAND (0) |
Enables or Disables on-demand operation. More... | |
#define | CONF_CORE_CLK_DFLL_RUNSTDBY (0) |
Enables or Disables run-in-standby operation. More... | |
#define | CONF_CORE_CLK_DFLL_WAITLOCK (0) |
This bit controls the DFLL output clock, depending on the lock status: More... | |
#define | CONF_CORE_CLK_DFLL_BPLKC (0) |
#define | CONF_CORE_CLK_DFLL_QLDIS (0) |
#define | CONF_CORE_CLK_DFLL_CCDIS (1) |
#define | CONF_CORE_CLK_DFLL_USBCRM (1) |
#define | CONF_CORE_CLK_DFLL_LLAW (0) |
#define | CONF_CORE_CLK_DFLL_STABLE_FCALIB CONF_CORE_CLK_DFLLCTRL_STABLE_FCALIB_NOT_FIXED |
#define | CONF_CORE_CLK_DFLL_MODE 0x01 |
#define | CONF_CORE_CLK_DFLL_DIFF_VAL 0 |
#define | CONF_CORE_CLK_DFLL_COARSE_VAL (0x1f / 4) |
#define | CONF_CORE_CLK_DFLL_FINE_VAL 128 |
#define | CONF_CORE_CLK_DFLL_CSTEP_VAL 1 |
#define | CONF_CORE_CLK_DFLL_FSTEP_VAL 1 |
#define | CONF_CORE_CLK_DFLL_MUL_VAL (48000000) |
#define | CONF_CORE_CLK_DFLL_GCLK_SRC 3 |
GCLK Source used to generate DFLL48M. More... | |
#define | CONF_CORE_CLK_DFLL_OVERWRITE_CAL 0 |
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) |
#define | CONF_CORE_CLK_DPLL0_LDRFRAC_VAL 0 |
#define | CONF_CORE_CLK_DPLL0_LDR_VAL (119) |
#define | CONF_CORE_CLK_DPLL0_DIV_VAL (5) |
#define | CONF_CORE_CLK_DPLL0_DCOEN 0 |
#define | CONF_CORE_CLK_DPLL0_DCOFILTER CONF_CORE_CLK_DPLLCTRL_DCOFILTER_3210KHZ |
#define | CONF_CORE_CLK_DPLL0_LBYPASS 1 |
#define | CONF_CORE_CLK_DPLL0_LTIME 0 |
#define | CONF_CORE_CLK_DPLL0_WUF 0 |
#define | CONF_CORE_CLK_DPLL0_GCLK_SRC GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_CLK_DPLL0_REFCLK CONF_CORE_CLK_DPLLCTRL_REFCLK_XOSC0 |
#define | CONF_CORE_CLK_DPLL0_FILTER 0x0 |
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) |
#define | CONF_CORE_CLK_DPLL1_LDRFRAC_VAL 0 |
#define | CONF_CORE_CLK_DPLL1_LDR_VAL (0) |
#define | CONF_CORE_CLK_DPLL1_DIV_VAL (0) |
#define | CONF_CORE_CLK_DPLL1_DCOEN 0 |
#define | CONF_CORE_CLK_DPLL1_DCOFILTER CONF_CORE_CLK_DPLLCTRL_DCOFILTER_3210KHZ |
#define | CONF_CORE_CLK_DPLL1_LBYPASS 0 |
#define | CONF_CORE_CLK_DPLL1_LTIME 0 |
#define | CONF_CORE_CLK_DPLL1_WUF 0 |
#define | CONF_CORE_CLK_DPLL1_GCLK_SRC GCLK_GENCTRL_SRC_XOSC0 |
#define | CONF_CORE_CLK_DPLL1_REFCLK CONF_CORE_CLK_DPLLCTRL_REFCLK_XOSC0 |
#define | CONF_CORE_CLK_DPLL1_FILTER 0x0 |
This is the master config for the core module for this mcu. This file is required for the core module to function.
Definition in file conf_core.h.
#define CONF_CORE_CLK_DFLL_ENABLE (1) |
Enables or Disables the DFLL48M Clock.
DFLL48M Enable
Definition at line 390 of file conf_core.h.
#define CONF_CORE_CLK_DFLL_GCLK_SRC 3 |
GCLK Source used to generate DFLL48M.
DFLL48M GCLK Source
Definition at line 444 of file conf_core.h.
#define CONF_CORE_CLK_DFLL_ONDEMAND (0) |
Enables or Disables on-demand operation.
DFLL48M On Demand Control
Definition at line 398 of file conf_core.h.
#define CONF_CORE_CLK_DFLL_RUNSTDBY (0) |
Enables or Disables run-in-standby operation.
DFLL48M Run in Standby Control
Definition at line 406 of file conf_core.h.
#define CONF_CORE_CLK_DFLL_WAITLOCK (0) |
This bit controls the DFLL output clock, depending on the lock status:
DFLL48M Wait Lock Control
Definition at line 414 of file conf_core.h.
#define CONF_CORE_CLK_DPLL0_FILTER 0x0 |
pg. 732 of the datasheet
When in doubt, leave this at its default.
Definition at line 490 of file conf_core.h.
#define CONF_CORE_CLK_DPLL1_FILTER 0x0 |
pg. 732 of the datasheet
When in doubt, leave this at its default.
Definition at line 535 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_CFDEN (1) |
This bit controls the XOSC0 clock failure detector:
XOSC0 Clock Failure Detector Control
Definition at line 128 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_ENABLE (1) |
Enables or Disables the XOSC0 Clock.
XOSC0 Enable
Definition at line 76 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_ENALC (1) |
This bit controls the XOSC0 automatic loop control:
XOSC0 Automatic Loop Control
Definition at line 120 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_FREQUENCY 12000000 |
This is the frequency of the external clock you're using for XOSC0. This can be anything from 8MHz to 48MHz.
XOSC0 Frequency
Definition at line 165 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_LOWBUFGAIN (0) |
The default value of LOWBUFGAIN=0 should be used to allow operating with a low amplitude oscillator. Don't use this setting except to solve stability issues.
XOSC0 Low Buffer Gain Control Bit
Definition at line 112 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_ONDEMAND (0) |
The On Demand operation mode allows the oscillator XOSC0 to be enabled or disabled, depending on peripheral clock requests.
XOSC0 On Demand Control
Definition at line 103 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_RUNSTDBY (0) |
This bit controls how the XOSC0 behaves during standby sleep mode:
XOSC0 Run in Standby
Definition at line 94 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_STARTUP_TIME (0x00) |
These bits select start-up time for XOSC0 according to the table below:
XOSC0 Startup Time
Definition at line 159 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_SWBEN (0) |
This bit controls the XOSC0 output clock switch back to the external clock or crystal oscillator in case of clock recovery:
XOSC0 Clock Switch Enable
Definition at line 137 of file conf_core.h.
#define CONF_CORE_CLK_XOSC0_XTALEN (1) |
This bit controls the connections between the I/O pads and the external clock or crystal oscillator XOSC0:
XOSC0 XTALEN
Definition at line 84 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_CFDEN (0) |
This bit controls the XOSC1 clock failure detector:
XOSC1 Clock Failure Detector Control
Definition at line 232 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_ENABLE (0) |
Enables or Disables the XOSC1 Clock.
XOSC1 Enable
Definition at line 180 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_ENALC (0) |
This bit controls the XOSC1 automatic loop control:
XOSC1 Automatic Loop Control
Definition at line 224 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_FREQUENCY 12000000 |
This is the frequency of the external clock you're using for XOSC1. This can be anything from 8MHz to 48MHz.
XOSC1 Frequency
Definition at line 269 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_LOWBUFGAIN (0) |
The default value of LOWBUFGAIN=0 should be used to allow operating with a low amplitude oscillator. Don't use this setting except to solve stability issues.
XOSC1 Low Buffer Gain Control Bit
Definition at line 216 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_ONDEMAND (0) |
The On Demand operation mode allows the oscillator XOSC1 to be enabled or disabled, depending on peripheral clock requests.
XOSC1 On Demand Control
Definition at line 207 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_RUNSTDBY (0) |
This bit controls how the XOSC1 behaves during standby sleep mode:
XOSC1 Run in Standby
Definition at line 198 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_STARTUP_TIME (0x00) |
These bits select start-up time for XOSC1 according to the table below:
XOSC1 Startup Time
Definition at line 263 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_SWBEN (0) |
This bit controls the XOSC1 output clock switch back to the external clock or crystal oscillator in case of clock recovery:
XOSC1 Clock Switch Enable
Definition at line 241 of file conf_core.h.
#define CONF_CORE_CLK_XOSC1_XTALEN (0) |
This bit controls the connections between the I/O pads and the external clock or crystal oscillator XOSC1:
XOSC1 XTALEN
Definition at line 188 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_CFDEN (0) |
This bit selects the Clock Failulre Detector state.
XOSC32K Clock Failure Detector Control
Definition at line 360 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_CFDPRESC (0) |
This bit selects the prescaler for the CLock Failure Detector:
XOSC32K Clock Failure Detector Prescaler
Definition at line 352 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_CGM (0x01) |
These bits control the gain of the external crstal oscillator.
XOSC32K Control Gain Mode
Definition at line 293 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_EN1K (0) |
XOSC32K 1KHz Output Control
Definition at line 329 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_EN32K (1) |
XOSC32K 32KHz Output Control
Definition at line 336 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_ENABLE (1) |
Enables or Disables XOSC32K.
XOSC32K Enable
Definition at line 284 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_ONDEMAND (1) |
This bit controls how XOSC32K behaves when a peripheral clock request is detected.
XOSC32K On Demand Control
Definition at line 314 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_RUNSTDBY (0) |
This bit controls how XOSC32K behaves during standby sleep mode.
XOSC32K Run in Standby
Definition at line 322 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_STARTUP_TIME CONF_CORE_CLK_XOSC32KCTRL_STARTUP_62592us |
These bits select the startup time for the oscillator.
XOSC32K Startup Time
Definition at line 306 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_SWBACK (0) |
This bit controls the XOSC32K output switch back to the external clock or crystal oscillator in case of clock recovery.
XOSC32K Clock Switch Back
Definition at line 368 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_WRTLOCK (0) |
This bit locks the XOSC32K register for future writes, effectively freezing the XOSC32K configuration.
XOSC32K Write Lock
Definition at line 376 of file conf_core.h.
#define CONF_CORE_CLK_XOSC32K_XTALEN (1) |
This bit controls the connections between the I/O pads and the external clock or crystal oscillator.
XOSC32K Crystal Oscillator Enable
Definition at line 344 of file conf_core.h.
#define CONF_CORE_CMCC_ENABLE (0) |
Define whether the CMCC (Cortex-M Cache Controller) is enabled or not.
Definition at line 55 of file conf_core.h.
#define CONF_CORE_DMA_ENABLE (0) |
Define whether the DMAC is enabled or not.
Definition at line 48 of file conf_core.h.
#define CONF_CORE_MCLK_CPUDIV 0x1 |
Define the master clock divisor.
Definition at line 38 of file conf_core.h.
#define CONF_CORE_PORT_EVCTRL_0_ENABLE (0) |
Currently Unused
Definition at line 58 of file conf_core.h.
#define CONF_CORE_PORT_EVCTRL_1_ENABLE (0) |
Currently Unused
Definition at line 60 of file conf_core.h.
#define CONF_CORE_PORT_EVCTRL_2_ENABLE (0) |
Currently Unused
Definition at line 62 of file conf_core.h.