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 #define BOARD_XTAL0_CLK_HZ 50000000U /*!< Board xtal0 frequency in Hz */
18 
19 /*******************************************************************************
20  ********************** Configuration BOARD_BootClockRUN ***********************
21  ******************************************************************************/
22 /*******************************************************************************
23  * Definitions for BOARD_BootClockRUN configuration
24  ******************************************************************************/
25 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 120000000U /*!< Core clock frequency: 120000000Hz */
26 
27 /*! @brief MCG set for BOARD_BootClockRUN configuration.
28  */
29 extern const mcg_config_t mcgConfig_BOARD_BootClockRUN;
30 /*! @brief SIM module set for BOARD_BootClockRUN configuration.
31  */
32 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
33 /*! @brief OSC set for BOARD_BootClockRUN configuration.
34  */
35 extern const osc_config_t oscConfig_BOARD_BootClockRUN;
36 
37 /*******************************************************************************
38  * API for BOARD_BootClockRUN configuration
39  ******************************************************************************/
40 #if defined(__cplusplus)
41 extern "C" {
42 #endif /* __cplusplus*/
43 
44 /*!
45  * @brief This function executes configuration of clocks.
46  *
47  */
48 void BOARD_BootClockRUN(void);
49 
50 #if defined(__cplusplus)
51 }
52 #endif /* __cplusplus*/
53 
54 /*******************************************************************************
55  ********************* Configuration BOARD_BootClockVLPR ***********************
56  ******************************************************************************/
57 /*******************************************************************************
58  * Definitions for BOARD_BootClockVLPR configuration
59  ******************************************************************************/
60 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */
61 
62 /*! @brief MCG set for BOARD_BootClockVLPR configuration.
63  */
64 extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR;
65 /*! @brief SIM module set for BOARD_BootClockVLPR configuration.
66  */
67 extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
68 /*! @brief OSC set for BOARD_BootClockVLPR configuration.
69  */
70 extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
71 
72 /*******************************************************************************
73  * API for BOARD_BootClockVLPR configuration
74  ******************************************************************************/
75 #if defined(__cplusplus)
76 extern "C" {
77 #endif /* __cplusplus*/
78 
79 /*!
80  * @brief This function executes configuration of clocks.
81  *
82  */
83 void BOARD_BootClockVLPR(void);
84 
85 #if defined(__cplusplus)
86 }
87 #endif /* __cplusplus*/
88 
89 #endif /* _CLOCK_CONFIG_H_ */
90 
const osc_config_t oscConfig_BOARD_BootClockVLPR
OSC set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:252
void BOARD_BootClockRUN(void)
This function executes configuration of clocks.
Definition: clock_config.c:168
const mcg_config_t mcgConfig_BOARD_BootClockVLPR
MCG set for BOARD_BootClockVLPR configuration.
Definition: clock_config.c:229
const mcg_config_t mcgConfig_BOARD_BootClockRUN
MCG set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:131
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