ISSDK  1.7
IoT Sensing Software Development Kit
clock_config.h
Go to the documentation of this file.
1 /*
2  * The Clear BSD License
3  * Copyright (c) 2015, Freescale Semiconductor, Inc.
4  * Copyright 2016-2017 NXP
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without modification,
8  * are permitted (subject to the limitations in the disclaimer below) provided
9  * that the following conditions are met:
10  *
11  * o Redistributions of source code must retain the above copyright notice, this list
12  * of conditions and the following disclaimer.
13  *
14  * o Redistributions in binary form must reproduce the above copyright notice, this
15  * list of conditions and the following disclaimer in the documentation and/or
16  * other materials provided with the distribution.
17  *
18  * o Neither the name of the copyright holder nor the names of its
19  * contributors may be used to endorse or promote products derived from this
20  * software without specific prior written permission.
21  *
22  * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE.
23  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
24  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
27  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
30  * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33  */
34 
35 #ifndef _CLOCK_CONFIG_H_
36 #define _CLOCK_CONFIG_H_
37 
38 #include "fsl_common.h"
39 
40 /*******************************************************************************
41  * Definitions
42  ******************************************************************************/
43 
44 /*******************************************************************************
45  ********************** Configuration BOARD_BootClockRUN ***********************
46  ******************************************************************************/
47 /*******************************************************************************
48  * Definitions for BOARD_BootClockRUN configuration
49  ******************************************************************************/
50 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */
51 
52 /*! @brief MCG lite set for BOARD_BootClockRUN configuration.
53  */
54 extern const mcglite_config_t mcgliteConfig_BOARD_BootClockRUN;
55 /*! @brief SIM module set for BOARD_BootClockRUN configuration.
56  */
57 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
58 /*! @brief OSC set for BOARD_BootClockRUN configuration.
59  */
60 extern const osc_config_t oscConfig_BOARD_BootClockRUN;
61 
62 /*******************************************************************************
63  * API for BOARD_BootClockRUN configuration
64  ******************************************************************************/
65 #if defined(__cplusplus)
66 extern "C" {
67 #endif /* __cplusplus*/
68 
69 /*!
70  * @brief This function executes configuration of clocks.
71  *
72  */
73 void BOARD_BootClockRUN(void);
74 
75 #if defined(__cplusplus)
76 }
77 #endif /* __cplusplus*/
78 
79 /*******************************************************************************
80  ********************* Configuration BOARD_BootClockVLPR ***********************
81  ******************************************************************************/
82 /*******************************************************************************
83  * Definitions for BOARD_BootClockVLPR configuration
84  ******************************************************************************/
85 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 2000000U /*!< Core clock frequency: 2000000Hz */
86 
87 /*! @brief MCG lite set for BOARD_BootClockVLPR configuration.
88  */
89 extern const mcglite_config_t mcgliteConfig_BOARD_BootClockVLPR;
90 /*! @brief SIM module set for BOARD_BootClockVLPR configuration.
91  */
92 extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
93 /*! @brief OSC set for BOARD_BootClockVLPR configuration.
94  */
95 extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
96 
97 /*******************************************************************************
98  * API for BOARD_BootClockVLPR configuration
99  ******************************************************************************/
100 #if defined(__cplusplus)
101 extern "C" {
102 #endif /* __cplusplus*/
103 
104 /*!
105  * @brief This function executes configuration of clocks.
106  *
107  */
108 void BOARD_BootClockVLPR(void);
109 
110 #if defined(__cplusplus)
111 }
112 #endif /* __cplusplus*/
113 
114 #endif /* _CLOCK_CONFIG_H_ */
115 
const osc_config_t oscConfig_BOARD_BootClockRUN
OSC set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:180
const osc_config_t oscConfig_BOARD_BootClockVLPR
OSC set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:278
const sim_clock_config_t simConfig_BOARD_BootClockRUN
SIM module set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:174
void BOARD_BootClockVLPR(void)
This function executes configuration of clocks.
Definition: clock_config.c:292
const mcglite_config_t mcgliteConfig_BOARD_BootClockVLPR
MCG lite set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:182
const sim_clock_config_t simConfig_BOARD_BootClockVLPR
SIM module set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:272
const mcglite_config_t mcgliteConfig_BOARD_BootClockRUN
MCG lite set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:110
void BOARD_BootClockRUN(void)
This function executes configuration of clocks.
Definition: clock_config.c:194