ISSDK  1.8
IoT Sensing Software Development Kit
clock_config.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015, Freescale Semiconductor, Inc.
3  * Copyright 2016-2017 NXP
4  * All rights reserved.
5  *
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef _CLOCK_CONFIG_H_
10 #define _CLOCK_CONFIG_H_
11 
12 #include "fsl_common.h"
13 
14 /*******************************************************************************
15  * Definitions
16  ******************************************************************************/
17 
18 /*******************************************************************************
19  ********************** Configuration BOARD_BootClockRUN ***********************
20  ******************************************************************************/
21 /*******************************************************************************
22  * Definitions for BOARD_BootClockRUN configuration
23  ******************************************************************************/
24 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */
25 
26 /*! @brief MCG lite set for BOARD_BootClockRUN configuration.
27  */
28 extern const mcglite_config_t mcgliteConfig_BOARD_BootClockRUN;
29 /*! @brief SIM module set for BOARD_BootClockRUN configuration.
30  */
31 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
32 /*! @brief OSC set for BOARD_BootClockRUN configuration.
33  */
34 extern const osc_config_t oscConfig_BOARD_BootClockRUN;
35 
36 /*******************************************************************************
37  * API for BOARD_BootClockRUN configuration
38  ******************************************************************************/
39 #if defined(__cplusplus)
40 extern "C" {
41 #endif /* __cplusplus*/
42 
43 /*!
44  * @brief This function executes configuration of clocks.
45  *
46  */
47 void BOARD_BootClockRUN(void);
48 
49 #if defined(__cplusplus)
50 }
51 #endif /* __cplusplus*/
52 
53 /*******************************************************************************
54  ********************* Configuration BOARD_BootClockVLPR ***********************
55  ******************************************************************************/
56 /*******************************************************************************
57  * Definitions for BOARD_BootClockVLPR configuration
58  ******************************************************************************/
59 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 2000000U /*!< Core clock frequency: 2000000Hz */
60 
61 /*! @brief MCG lite set for BOARD_BootClockVLPR configuration.
62  */
63 extern const mcglite_config_t mcgliteConfig_BOARD_BootClockVLPR;
64 /*! @brief SIM module set for BOARD_BootClockVLPR configuration.
65  */
66 extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
67 /*! @brief OSC set for BOARD_BootClockVLPR configuration.
68  */
69 extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
70 
71 /*******************************************************************************
72  * API for BOARD_BootClockVLPR configuration
73  ******************************************************************************/
74 #if defined(__cplusplus)
75 extern "C" {
76 #endif /* __cplusplus*/
77 
78 /*!
79  * @brief This function executes configuration of clocks.
80  *
81  */
82 void BOARD_BootClockVLPR(void);
83 
84 #if defined(__cplusplus)
85 }
86 #endif /* __cplusplus*/
87 
88 #endif /* _CLOCK_CONFIG_H_ */
89 
const osc_config_t oscConfig_BOARD_BootClockVLPR
OSC set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:252
const mcglite_config_t mcgliteConfig_BOARD_BootClockVLPR
MCG lite set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:156
void BOARD_BootClockRUN(void)
This function executes configuration of clocks.
Definition: clock_config.c:168
const mcglite_config_t mcgliteConfig_BOARD_BootClockRUN
MCG lite set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:84
const sim_clock_config_t simConfig_BOARD_BootClockVLPR
SIM module set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:246
const osc_config_t oscConfig_BOARD_BootClockRUN
OSC set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:154
const sim_clock_config_t simConfig_BOARD_BootClockRUN
SIM module set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:148
void BOARD_BootClockVLPR(void)
This function executes configuration of clocks.
Definition: clock_config.c:266