diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/frdmk32l3a6/project_template/clock_config.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/boards/frdmk32l3a6/project_template/clock_config.h | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/frdmk32l3a6/project_template/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/boards/frdmk32l3a6/project_template/clock_config.h new file mode 100644 index 000000000..480578b8b --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/boards/frdmk32l3a6/project_template/clock_config.h | |||
@@ -0,0 +1,154 @@ | |||
1 | /* | ||
2 | * Copyright 2019 NXP | ||
3 | * All rights reserved. | ||
4 | * | ||
5 | * SPDX-License-Identifier: BSD-3-Clause | ||
6 | */ | ||
7 | |||
8 | /*********************************************************************************************************************** | ||
9 | * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file | ||
10 | * will be overwritten if the respective MCUXpresso Config Tools is used to update this file. | ||
11 | **********************************************************************************************************************/ | ||
12 | |||
13 | #ifndef _CLOCK_CONFIG_H_ | ||
14 | #define _CLOCK_CONFIG_H_ | ||
15 | |||
16 | #include "fsl_common.h" | ||
17 | |||
18 | /******************************************************************************* | ||
19 | * Definitions | ||
20 | ******************************************************************************/ | ||
21 | |||
22 | /******************************************************************************* | ||
23 | ************************ BOARD_InitBootClocks function ************************ | ||
24 | ******************************************************************************/ | ||
25 | |||
26 | #if defined(__cplusplus) | ||
27 | extern "C" { | ||
28 | #endif /* __cplusplus*/ | ||
29 | |||
30 | /*! | ||
31 | * @brief This function executes default configuration of clocks. | ||
32 | * | ||
33 | */ | ||
34 | void BOARD_InitBootClocks(void); | ||
35 | |||
36 | #if defined(__cplusplus) | ||
37 | } | ||
38 | #endif /* __cplusplus*/ | ||
39 | |||
40 | /******************************************************************************* | ||
41 | ********************** Configuration BOARD_BootClockRUN *********************** | ||
42 | ******************************************************************************/ | ||
43 | /******************************************************************************* | ||
44 | * Definitions for BOARD_BootClockRUN configuration | ||
45 | ******************************************************************************/ | ||
46 | #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */ | ||
47 | |||
48 | /*! @brief SCG set for BOARD_BootClockRUN configuration. | ||
49 | */ | ||
50 | extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN; | ||
51 | /*! @brief SIRC set for BOARD_BootClockRUN configuration. | ||
52 | */ | ||
53 | extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN; | ||
54 | /*! @brief FIRC set for BOARD_BootClockRUN configuration. | ||
55 | */ | ||
56 | extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockRUN; | ||
57 | /*! @brief Low Power FLL set for BOARD_BootClockRUN configuration. | ||
58 | */ | ||
59 | extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockRUN; | ||
60 | |||
61 | /******************************************************************************* | ||
62 | * API for BOARD_BootClockRUN configuration | ||
63 | ******************************************************************************/ | ||
64 | #if defined(__cplusplus) | ||
65 | extern "C" { | ||
66 | #endif /* __cplusplus*/ | ||
67 | |||
68 | /*! | ||
69 | * @brief This function executes configuration of clocks. | ||
70 | * | ||
71 | */ | ||
72 | void BOARD_BootClockRUN(void); | ||
73 | |||
74 | #if defined(__cplusplus) | ||
75 | } | ||
76 | #endif /* __cplusplus*/ | ||
77 | |||
78 | /******************************************************************************* | ||
79 | ********************* Configuration BOARD_BootClockHSRUN ********************** | ||
80 | ******************************************************************************/ | ||
81 | /******************************************************************************* | ||
82 | * Definitions for BOARD_BootClockHSRUN configuration | ||
83 | ******************************************************************************/ | ||
84 | #define BOARD_BOOTCLOCKHSRUN_CORE_CLOCK 72000000U /*!< Core clock frequency: 72000000Hz */ | ||
85 | |||
86 | /*! @brief SCG set for BOARD_BootClockHSRUN configuration. | ||
87 | */ | ||
88 | extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockHSRUN; | ||
89 | /*! @brief SIRC set for BOARD_BootClockHSRUN configuration. | ||
90 | */ | ||
91 | extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockHSRUN; | ||
92 | /*! @brief FIRC set for BOARD_BootClockHSRUN configuration. | ||
93 | */ | ||
94 | extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockHSRUN; | ||
95 | /*! @brief Low Power FLL set for BOARD_BootClockHSRUN configuration. | ||
96 | */ | ||
97 | extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockHSRUN; | ||
98 | |||
99 | /******************************************************************************* | ||
100 | * API for BOARD_BootClockHSRUN configuration | ||
101 | ******************************************************************************/ | ||
102 | #if defined(__cplusplus) | ||
103 | extern "C" { | ||
104 | #endif /* __cplusplus*/ | ||
105 | |||
106 | /*! | ||
107 | * @brief This function executes configuration of clocks. | ||
108 | * | ||
109 | */ | ||
110 | void BOARD_BootClockHSRUN(void); | ||
111 | |||
112 | #if defined(__cplusplus) | ||
113 | } | ||
114 | #endif /* __cplusplus*/ | ||
115 | |||
116 | /******************************************************************************* | ||
117 | ********************* Configuration BOARD_BootClockVLPR *********************** | ||
118 | ******************************************************************************/ | ||
119 | /******************************************************************************* | ||
120 | * Definitions for BOARD_BootClockVLPR configuration | ||
121 | ******************************************************************************/ | ||
122 | #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */ | ||
123 | |||
124 | /*! @brief SCG set for BOARD_BootClockVLPR configuration. | ||
125 | */ | ||
126 | extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockVLPR; | ||
127 | /*! @brief SIRC set for BOARD_BootClockVLPR configuration. | ||
128 | */ | ||
129 | extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockVLPR; | ||
130 | /*! @brief FIRC set for BOARD_BootClockVLPR configuration. | ||
131 | */ | ||
132 | extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockVLPR; | ||
133 | /*! @brief Low Power FLL set for BOARD_BootClockVLPR configuration. | ||
134 | */ | ||
135 | extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockVLPR; | ||
136 | |||
137 | /******************************************************************************* | ||
138 | * API for BOARD_BootClockVLPR configuration | ||
139 | ******************************************************************************/ | ||
140 | #if defined(__cplusplus) | ||
141 | extern "C" { | ||
142 | #endif /* __cplusplus*/ | ||
143 | |||
144 | /*! | ||
145 | * @brief This function executes configuration of clocks. | ||
146 | * | ||
147 | */ | ||
148 | void BOARD_BootClockVLPR(void); | ||
149 | |||
150 | #if defined(__cplusplus) | ||
151 | } | ||
152 | #endif /* __cplusplus*/ | ||
153 | |||
154 | #endif /* _CLOCK_CONFIG_H_ */ | ||