1 /*
2  * Copyright 2021 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 #define BOARD_XTAL0_CLK_HZ 8000000U /*!< Board xtal0 frequency in Hz */
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 72000000U /*!< Core clock frequency: 72000000Hz */
47 
48 /*! @brief SCG set for BOARD_BootClockRUN configuration.
49  */
50 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN;
51 /*! @brief System OSC set for BOARD_BootClockRUN configuration.
52  */
53 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN;
54 /*! @brief SIRC set for BOARD_BootClockRUN configuration.
55  */
56 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN;
57 /*! @brief FIRC set for BOARD_BootClockRUN configuration.
58  */
59 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockRUN;
60 /*! @brief Low Power FLL set for BOARD_BootClockRUN configuration.
61  */
62 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockRUN;
63 
64 /*******************************************************************************
65  * API for BOARD_BootClockRUN configuration
66  ******************************************************************************/
67 #if defined(__cplusplus)
68 extern "C" {
69 #endif /* __cplusplus*/
70 
71 /*!
72  * @brief This function executes configuration of clocks.
73  *
74  */
75 void BOARD_BootClockRUN(void);
76 
77 #if defined(__cplusplus)
78 }
79 #endif /* __cplusplus*/
80 
81 /*******************************************************************************
82  ********************* Configuration BOARD_BootClockVLPR ***********************
83  ******************************************************************************/
84 /*******************************************************************************
85  * Definitions for BOARD_BootClockVLPR configuration
86  ******************************************************************************/
87 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */
88 
89 /*! @brief SCG set for BOARD_BootClockVLPR configuration.
90  */
91 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockVLPR;
92 /*! @brief System OSC set for BOARD_BootClockVLPR configuration.
93  */
94 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockVLPR;
95 /*! @brief SIRC set for BOARD_BootClockVLPR configuration.
96  */
97 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockVLPR;
98 /*! @brief FIRC set for BOARD_BootClockVLPR configuration.
99  */
100 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockVLPR;
101 /*! @brief Low Power FLL set for BOARD_BootClockVLPR configuration.
102  */
103 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockVLPR;
104 
105 /*******************************************************************************
106  * API for BOARD_BootClockVLPR configuration
107  ******************************************************************************/
108 #if defined(__cplusplus)
109 extern "C" {
110 #endif /* __cplusplus*/
111 
112 /*!
113  * @brief This function executes configuration of clocks.
114  *
115  */
116 void BOARD_BootClockVLPR(void);
117 
118 #if defined(__cplusplus)
119 }
120 #endif /* __cplusplus*/
121 
122 #endif /* _CLOCK_CONFIG_H_ */
123