1 /*
2  * Copyright 2023 NXP
3  * All rights reserved.
4  *
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 /***********************************************************************************************************************
10  * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
11  * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
12  **********************************************************************************************************************/
13 
14 #ifndef _CLOCK_CONFIG_H_
15 #define _CLOCK_CONFIG_H_
16 
17 #include "fsl_common.h"
18 
19 /*******************************************************************************
20  * Definitions
21  ******************************************************************************/
22 #define BOARD_XTAL0_CLK_HZ                         12000000U  /*!< Board xtal0 frequency in Hz */
23 #define BOARD_XTAL32K_CLK_HZ                          32768U  /*!< Board xtal32K frequency in Hz */
24 
25 /*******************************************************************************
26  ************************ BOARD_InitBootClocks function ************************
27  ******************************************************************************/
28 
29 #if defined(__cplusplus)
30 extern "C" {
31 #endif /* __cplusplus*/
32 
33 /*!
34  * @brief This function executes default configuration of clocks.
35  *
36  */
37 void BOARD_InitBootClocks(void);
38 
39 #if defined(__cplusplus)
40 }
41 #endif /* __cplusplus*/
42 
43 /*******************************************************************************
44  ******************** Configuration BOARD_BootClockFRO18M **********************
45  ******************************************************************************/
46 /*******************************************************************************
47  * Definitions for BOARD_BootClockFRO18M configuration
48  ******************************************************************************/
49 #define BOARD_BOOTCLOCKFRO18M_CORE_CLOCK           18000000U  /*!< Core clock frequency: 18000000Hz */
50 
51 
52 /*******************************************************************************
53  * API for BOARD_BootClockFRO18M configuration
54  ******************************************************************************/
55 #if defined(__cplusplus)
56 extern "C" {
57 #endif /* __cplusplus*/
58 
59 /*!
60  * @brief This function executes configuration of clocks.
61  *
62  */
63 void BOARD_BootClockFRO18M(void);
64 
65 #if defined(__cplusplus)
66 }
67 #endif /* __cplusplus*/
68 
69 /*******************************************************************************
70  ******************** Configuration BOARD_BootClockFRO24M **********************
71  ******************************************************************************/
72 /*******************************************************************************
73  * Definitions for BOARD_BootClockFRO24M configuration
74  ******************************************************************************/
75 #define BOARD_BOOTCLOCKFRO24M_CORE_CLOCK           24000000U  /*!< Core clock frequency: 24000000Hz */
76 
77 
78 /*******************************************************************************
79  * API for BOARD_BootClockFRO24M configuration
80  ******************************************************************************/
81 #if defined(__cplusplus)
82 extern "C" {
83 #endif /* __cplusplus*/
84 
85 /*!
86  * @brief This function executes configuration of clocks.
87  *
88  */
89 void BOARD_BootClockFRO24M(void);
90 
91 #if defined(__cplusplus)
92 }
93 #endif /* __cplusplus*/
94 
95 /*******************************************************************************
96  ******************** Configuration BOARD_BootClockFRO30M **********************
97  ******************************************************************************/
98 /*******************************************************************************
99  * Definitions for BOARD_BootClockFRO30M configuration
100  ******************************************************************************/
101 #define BOARD_BOOTCLOCKFRO30M_CORE_CLOCK           30000000U  /*!< Core clock frequency: 30000000Hz */
102 
103 
104 /*******************************************************************************
105  * API for BOARD_BootClockFRO30M configuration
106  ******************************************************************************/
107 #if defined(__cplusplus)
108 extern "C" {
109 #endif /* __cplusplus*/
110 
111 /*!
112  * @brief This function executes configuration of clocks.
113  *
114  */
115 void BOARD_BootClockFRO30M(void);
116 
117 #if defined(__cplusplus)
118 }
119 #endif /* __cplusplus*/
120 
121 /*******************************************************************************
122  ******************** Configuration BOARD_BootClockFRO36M **********************
123  ******************************************************************************/
124 /*******************************************************************************
125  * Definitions for BOARD_BootClockFRO36M configuration
126  ******************************************************************************/
127 #define BOARD_BOOTCLOCKFRO36M_CORE_CLOCK           36000000U  /*!< Core clock frequency: 36000000Hz */
128 
129 
130 /*******************************************************************************
131  * API for BOARD_BootClockFRO36M configuration
132  ******************************************************************************/
133 #if defined(__cplusplus)
134 extern "C" {
135 #endif /* __cplusplus*/
136 
137 /*!
138  * @brief This function executes configuration of clocks.
139  *
140  */
141 void BOARD_BootClockFRO36M(void);
142 
143 #if defined(__cplusplus)
144 }
145 #endif /* __cplusplus*/
146 
147 /*******************************************************************************
148  ******************** Configuration BOARD_BootClockFRO48M **********************
149  ******************************************************************************/
150 /*******************************************************************************
151  * Definitions for BOARD_BootClockFRO48M configuration
152  ******************************************************************************/
153 #define BOARD_BOOTCLOCKFRO48M_CORE_CLOCK           48000000U  /*!< Core clock frequency: 48000000Hz */
154 
155 
156 /*******************************************************************************
157  * API for BOARD_BootClockFRO48M configuration
158  ******************************************************************************/
159 #if defined(__cplusplus)
160 extern "C" {
161 #endif /* __cplusplus*/
162 
163 /*!
164  * @brief This function executes configuration of clocks.
165  *
166  */
167 void BOARD_BootClockFRO48M(void);
168 
169 #if defined(__cplusplus)
170 }
171 #endif /* __cplusplus*/
172 
173 /*******************************************************************************
174  ******************** Configuration BOARD_BootClockFRO60M **********************
175  ******************************************************************************/
176 /*******************************************************************************
177  * Definitions for BOARD_BootClockFRO60M configuration
178  ******************************************************************************/
179 #define BOARD_BOOTCLOCKFRO60M_CORE_CLOCK           60000000U  /*!< Core clock frequency: 60000000Hz */
180 
181 
182 /*******************************************************************************
183  * API for BOARD_BootClockFRO60M configuration
184  ******************************************************************************/
185 #if defined(__cplusplus)
186 extern "C" {
187 #endif /* __cplusplus*/
188 
189 /*!
190  * @brief This function executes configuration of clocks.
191  *
192  */
193 void BOARD_BootClockFRO60M(void);
194 
195 #if defined(__cplusplus)
196 }
197 #endif /* __cplusplus*/
198 
199 /*******************************************************************************
200  ******************** Configuration BOARD_BootClockPll48M **********************
201  ******************************************************************************/
202 /*******************************************************************************
203  * Definitions for BOARD_BootClockPll48M configuration
204  ******************************************************************************/
205 #define BOARD_BOOTCLOCKPLL48M_CORE_CLOCK           48000000U  /*!< Core clock frequency: 48000000Hz */
206 
207 
208 /*******************************************************************************
209  * API for BOARD_BootClockPll48M configuration
210  ******************************************************************************/
211 #if defined(__cplusplus)
212 extern "C" {
213 #endif /* __cplusplus*/
214 
215 /*!
216  * @brief This function executes configuration of clocks.
217  *
218  */
219 void BOARD_BootClockPll48M(void);
220 
221 #if defined(__cplusplus)
222 }
223 #endif /* __cplusplus*/
224 
225 #endif /* _CLOCK_CONFIG_H_ */
226 
227