ISSDK  1.8
IoT Sensing Software Development Kit
clock_config.h
Go to the documentation of this file.
1 /*
2  * Copyright 2017 NXP
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 #ifndef _CLOCK_CONFIG_H_
9 #define _CLOCK_CONFIG_H_
10 
11 #include "fsl_common.h"
12 
13 /*******************************************************************************
14  * Definitions
15  ******************************************************************************/
16 
17 /*******************************************************************************
18  ************************ BOARD_InitBootClocks function ************************
19  ******************************************************************************/
20 
21 #if defined(__cplusplus)
22 extern "C" {
23 #endif /* __cplusplus*/
24 
25 /*!
26  * @brief This function executes default configuration of clocks.
27  *
28  */
29 void BOARD_InitBootClocks(void);
30 
31 #if defined(__cplusplus)
32 }
33 #endif /* __cplusplus*/
34 
35 /*******************************************************************************
36  ********************** Configuration BOARD_BootClockRUN ***********************
37  ******************************************************************************/
38 /*******************************************************************************
39  * Definitions for BOARD_BootClockRUN configuration
40  ******************************************************************************/
41 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */
42 
43 /*! @brief SCG set for BOARD_BootClockRUN configuration.
44  */
45 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN;
46 /*! @brief System OSC set for BOARD_BootClockRUN configuration.
47  */
48 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN;
49 /*! @brief SIRC set for BOARD_BootClockRUN configuration.
50  */
51 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN;
52 /*! @brief FIRC set for BOARD_BootClockRUN configuration.
53  */
54 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockRUN;
55 /*! @brief Low Power FLL set for BOARD_BootClockRUN configuration.
56  */
57 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_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 #endif /* _CLOCK_CONFIG_H_ */
void BOARD_BootClockRUN(void)
This function executes configuration of clocks.
Definition: clock_config.c:168
const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN
System OSC set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:147
const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN
SIRC set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:155
const scg_firc_config_t g_scgFircConfigBOARD_BootClockRUN
FIRC set for BOARD_BootClockRUN configuration.
void BOARD_InitBootClocks(void)
This function executes default configuration of clocks.
Definition: clock_config.c:52
const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN
SCG set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:141
const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockRUN
Low Power FLL set for BOARD_BootClockRUN configuration.