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