1 /*
2  * Copyright 2018 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 32768U /*!< 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 48000000U            /*!< Core clock frequency: 48000000Hz */
48 #define BOARD_BOOTCLOCKRUN_SIM_COP_CLK_SEL kCOP_OscErClock /*!< COP clock select: OSCERCLK clock */
49 
50 /*! @brief MCG lite set for BOARD_BootClockRUN configuration.
51  */
52 extern const mcglite_config_t mcgliteConfig_BOARD_BootClockRUN;
53 /*! @brief SIM module set for BOARD_BootClockRUN configuration.
54  */
55 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
56 /*! @brief OSC set for BOARD_BootClockRUN configuration.
57  */
58 extern const osc_config_t oscConfig_BOARD_BootClockRUN;
59 
60 /*******************************************************************************
61  * API for BOARD_BootClockRUN 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_BootClockRUN(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 2000000U /*!< Core clock frequency: 2000000Hz */
84 
85 /*! @brief MCG lite set for BOARD_BootClockVLPR configuration.
86  */
87 extern const mcglite_config_t mcgliteConfig_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 #endif /* _CLOCK_CONFIG_H_ */
113