1 /*
2  * Copyright (c) 2015, Freescale Semiconductor, Inc.
3  * Copyright 2016-2017,2019 ,2021 NXP
4  * All rights reserved.
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 
24 /*******************************************************************************
25  ************************ BOARD_InitBootClocks function ************************
26  ******************************************************************************/
27 
28 #if defined(__cplusplus)
29 extern "C" {
30 #endif /* __cplusplus*/
31 
32 /*!
33  * @brief This function executes default configuration of clocks.
34  *
35  */
36 void BOARD_InitBootClocks(void);
37 
38 #if defined(__cplusplus)
39 }
40 #endif /* __cplusplus*/
41 
42 /*******************************************************************************
43  ********************* Configuration BOARD_BootClockHSRUN **********************
44  ******************************************************************************/
45 /*******************************************************************************
46  * Definitions for BOARD_BootClockHSRUN configuration
47  ******************************************************************************/
48 #define BOARD_BOOTCLOCKHSRUN_CORE_CLOCK           180000000U  /*!< Core clock frequency: 180000000Hz */
49 
50 /*! @brief MCG set for BOARD_BootClockHSRUN configuration.
51  */
52 extern const mcg_config_t mcgConfig_BOARD_BootClockHSRUN;
53 /*! @brief SIM module set for BOARD_BootClockHSRUN configuration.
54  */
55 extern const sim_clock_config_t simConfig_BOARD_BootClockHSRUN;
56 /*! @brief OSC set for BOARD_BootClockHSRUN configuration.
57  */
58 extern const osc_config_t oscConfig_BOARD_BootClockHSRUN;
59 
60 /*******************************************************************************
61  * API for BOARD_BootClockHSRUN 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_BootClockHSRUN(void);
72 
73 #if defined(__cplusplus)
74 }
75 #endif /* __cplusplus*/
76 
77 /*******************************************************************************
78  ********************* Configuration BOARD_BootClockVLPR ***********************
79  ******************************************************************************/
80 /*******************************************************************************
81  * Definitions for BOARD_BootClockVLPR configuration
82  ******************************************************************************/
83 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK              4000000U  /*!< Core clock frequency: 4000000Hz */
84 
85 /*! @brief MCG set for BOARD_BootClockVLPR configuration.
86  */
87 extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR;
88 /*! @brief SIM module set for BOARD_BootClockVLPR configuration.
89  */
90 extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
91 /*! @brief OSC set for BOARD_BootClockVLPR configuration.
92  */
93 extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
94 
95 /*******************************************************************************
96  * API for BOARD_BootClockVLPR configuration
97  ******************************************************************************/
98 #if defined(__cplusplus)
99 extern "C" {
100 #endif /* __cplusplus*/
101 
102 /*!
103  * @brief This function executes configuration of clocks.
104  *
105  */
106 void BOARD_BootClockVLPR(void);
107 
108 #if defined(__cplusplus)
109 }
110 #endif /* __cplusplus*/
111 
112 /*******************************************************************************
113  ********************** Configuration BOARD_BootClockRUN ***********************
114  ******************************************************************************/
115 /*******************************************************************************
116  * Definitions for BOARD_BootClockRUN configuration
117  ******************************************************************************/
118 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK             120000000U  /*!< Core clock frequency: 120000000Hz */
119 
120 /*! @brief MCG set for BOARD_BootClockRUN configuration.
121  */
122 extern const mcg_config_t mcgConfig_BOARD_BootClockRUN;
123 /*! @brief SIM module set for BOARD_BootClockRUN configuration.
124  */
125 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
126 /*! @brief OSC set for BOARD_BootClockRUN configuration.
127  */
128 extern const osc_config_t oscConfig_BOARD_BootClockRUN;
129 
130 /*******************************************************************************
131  * API for BOARD_BootClockRUN 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_BootClockRUN(void);
142 
143 #if defined(__cplusplus)
144 }
145 #endif /* __cplusplus*/
146 
147 #endif /* _CLOCK_CONFIG_H_ */
148 
149