5 * SPDX-License-Identifier: BSD-3-Clause
8 #ifndef _CLOCK_CONFIG_H_
9 #define _CLOCK_CONFIG_H_
11 #include "fsl_common.h"
13 /*******************************************************************************
15 ******************************************************************************/
17 /*******************************************************************************
18 ************************ BOARD_InitBootClocks function ************************
19 ******************************************************************************/
21 #if defined(__cplusplus)
23 #endif /* __cplusplus*/
26 * @brief This function executes default configuration of clocks.
29 void BOARD_InitBootClocks(void);
31 #if defined(__cplusplus)
33 #endif /* __cplusplus*/
35 /*******************************************************************************
36 ********************** Configuration BOARD_BootClockRUN ***********************
37 ******************************************************************************/
38 /*******************************************************************************
39 * Definitions for BOARD_BootClockRUN configuration
40 ******************************************************************************/
41 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */
43 /*! @brief SCG set for BOARD_BootClockRUN configuration.
45 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN;
46 /*! @brief System OSC set for BOARD_BootClockRUN configuration.
48 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN;
49 /*! @brief SIRC set for BOARD_BootClockRUN configuration.
51 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN;
52 /*! @brief FIRC set for BOARD_BootClockRUN configuration.
54 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockRUN;
55 /*! @brief Low Power FLL set for BOARD_BootClockRUN configuration.
57 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockRUN;
59 /*******************************************************************************
60 * API for BOARD_BootClockRUN configuration
61 ******************************************************************************/
62 #if defined(__cplusplus)
64 #endif /* __cplusplus*/
67 * @brief This function executes configuration of clocks.
70 void BOARD_BootClockRUN(void);
72 #if defined(__cplusplus)
74 #endif /* __cplusplus*/
76 /*******************************************************************************
77 ********************* Configuration BOARD_BootClockHSRUN **********************
78 ******************************************************************************/
79 /*******************************************************************************
80 * Definitions for BOARD_BootClockHSRUN configuration
81 ******************************************************************************/
82 #define BOARD_BOOTCLOCKHSRUN_CORE_CLOCK 72000000U /*!< Core clock frequency: 72000000Hz */
84 /*! @brief SCG set for BOARD_BootClockHSRUN configuration.
86 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockHSRUN;
87 /*! @brief System OSC set for BOARD_BootClockHSRUN configuration.
89 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockHSRUN;
90 /*! @brief SIRC set for BOARD_BootClockHSRUN configuration.
92 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockHSRUN;
93 /*! @brief FIRC set for BOARD_BootClockHSRUN configuration.
95 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockHSRUN;
96 /*! @brief Low Power FLL set for BOARD_BootClockHSRUN configuration.
98 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockHSRUN;
100 /*******************************************************************************
101 * API for BOARD_BootClockHSRUN configuration
102 ******************************************************************************/
103 #if defined(__cplusplus)
105 #endif /* __cplusplus*/
108 * @brief This function executes configuration of clocks.
111 void BOARD_BootClockHSRUN(void);
113 #if defined(__cplusplus)
115 #endif /* __cplusplus*/
117 /*******************************************************************************
118 ********************* Configuration BOARD_BootClockVLPR ***********************
119 ******************************************************************************/
120 /*******************************************************************************
121 * Definitions for BOARD_BootClockVLPR configuration
122 ******************************************************************************/
123 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */
125 /*! @brief SCG set for BOARD_BootClockVLPR configuration.
127 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockVLPR;
128 /*! @brief System OSC set for BOARD_BootClockVLPR configuration.
130 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockVLPR;
131 /*! @brief SIRC set for BOARD_BootClockVLPR configuration.
133 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockVLPR;
134 /*! @brief FIRC set for BOARD_BootClockVLPR configuration.
136 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockVLPR;
137 /*! @brief Low Power FLL set for BOARD_BootClockVLPR configuration.
139 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockVLPR;
141 /*******************************************************************************
142 * API for BOARD_BootClockVLPR configuration
143 ******************************************************************************/
144 #if defined(__cplusplus)
146 #endif /* __cplusplus*/
149 * @brief This function executes configuration of clocks.
152 void BOARD_BootClockVLPR(void);
154 #if defined(__cplusplus)
156 #endif /* __cplusplus*/
158 #endif /* _CLOCK_CONFIG_H_ */