1 /*
2  * Copyright 2017-2020 NXP
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 /***********************************************************************************************************************
9  * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
10  * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
11  **********************************************************************************************************************/
12 
13 #ifndef _CLOCK_CONFIG_H_
14 #define _CLOCK_CONFIG_H_
15 
16 #include "fsl_common.h"
17 
18 /*******************************************************************************
19  * Definitions
20  ******************************************************************************/
21 #define BOARD_XTAL0_CLK_HZ                          8000000U  /*!< Board xtal0 frequency in Hz */
22 
23 /*******************************************************************************
24  ************************ BOARD_InitBootClocks function ************************
25  ******************************************************************************/
26 
27 #if defined(__cplusplus)
28 extern "C" {
29 #endif /* __cplusplus*/
30 
31 /*!
32  * @brief This function executes default configuration of clocks.
33  *
34  */
35 void BOARD_InitBootClocks(void);
36 
37 #if defined(__cplusplus)
38 }
39 #endif /* __cplusplus*/
40 
41 /*******************************************************************************
42  ********************** Configuration BOARD_BootClockRUN ***********************
43  ******************************************************************************/
44 /*******************************************************************************
45  * Definitions for BOARD_BootClockRUN configuration
46  ******************************************************************************/
47 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK              47972352U  /*!< Core clock frequency: 47972352Hz */
48 
49 /*! @brief MCG set for BOARD_BootClockRUN configuration.
50  */
51 extern const mcg_config_t mcgConfig_BOARD_BootClockRUN;
52 /*! @brief SIM module set for BOARD_BootClockRUN configuration.
53  */
54 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
55 /*! @brief OSC set for BOARD_BootClockRUN configuration.
56  */
57 extern const osc_config_t oscConfig_BOARD_BootClockRUN;
58 
59 /*******************************************************************************
60  * API for BOARD_BootClockRUN configuration
61  ******************************************************************************/
62 #if defined(__cplusplus)
63 extern "C" {
64 #endif /* __cplusplus*/
65 
66 /*!
67  * @brief This function executes configuration of clocks.
68  *
69  */
70 void BOARD_BootClockRUN(void);
71 
72 #if defined(__cplusplus)
73 }
74 #endif /* __cplusplus*/
75 
76 /*******************************************************************************
77  ********************* Configuration BOARD_BootClockVLPR ***********************
78  ******************************************************************************/
79 /*******************************************************************************
80  * Definitions for BOARD_BootClockVLPR configuration
81  ******************************************************************************/
82 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK              2000000U  /*!< Core clock frequency: 2000000Hz */
83 
84 /*! @brief MCG set for BOARD_BootClockVLPR configuration.
85  */
86 extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR;
87 /*! @brief SIM module set for BOARD_BootClockVLPR configuration.
88  */
89 extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
90 /*! @brief OSC set for BOARD_BootClockVLPR configuration.
91  */
92 extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
93 
94 /*******************************************************************************
95  * API for BOARD_BootClockVLPR configuration
96  ******************************************************************************/
97 #if defined(__cplusplus)
98 extern "C" {
99 #endif /* __cplusplus*/
100 
101 /*!
102  * @brief This function executes configuration of clocks.
103  *
104  */
105 void BOARD_BootClockVLPR(void);
106 
107 #if defined(__cplusplus)
108 }
109 #endif /* __cplusplus*/
110 
111 #endif /* _CLOCK_CONFIG_H_ */
112 
113