ISSDK  1.8
IoT Sensing Software Development Kit
clock_config.h
Go to the documentation of this file.
1 /*
2  * Copyright 2018 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 #define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */
17 
18 #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32k frequency in Hz */
19 /*******************************************************************************
20  ************************ BOARD_InitBootClocks function ************************
21  ******************************************************************************/
22 
23 #if defined(__cplusplus)
24 extern "C" {
25 #endif /* __cplusplus*/
26 
27 /*!
28  * @brief This function executes default configuration of clocks.
29  *
30  */
31 void BOARD_InitBootClocks(void);
32 
33 #if defined(__cplusplus)
34 }
35 #endif /* __cplusplus*/
36 
37 /*******************************************************************************
38  ********************** Configuration BOARD_BootClockRUN ***********************
39  ******************************************************************************/
40 /*******************************************************************************
41  * Definitions for BOARD_BootClockRUN configuration
42  ******************************************************************************/
43 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 600000000U /*!< Core clock frequency: 600000000Hz */
44 
45 /*! @brief Arm PLL set for BOARD_BootClockRUN configuration.
46  */
47 extern const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN;
48 /*! @brief Usb1 PLL set for BOARD_BootClockRUN configuration.
49  */
50 extern const clock_usb_pll_config_t usb1PllConfig_BOARD_BootClockRUN;
51 /*! @brief Sys PLL for BOARD_BootClockRUN configuration.
52  */
53 extern const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN;
54 
55 /*******************************************************************************
56  * API for BOARD_BootClockRUN configuration
57  ******************************************************************************/
58 #if defined(__cplusplus)
59 extern "C" {
60 #endif /* __cplusplus*/
61 
62 /*!
63  * @brief This function executes configuration of clocks.
64  *
65  */
66 void BOARD_BootClockRUN(void);
67 
68 #if defined(__cplusplus)
69 }
70 #endif /* __cplusplus*/
71 
72 #endif /* _CLOCK_CONFIG_H_ */
73 
const clock_usb_pll_config_t usb1PllConfig_BOARD_BootClockRUN
Usb1 PLL set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:126
void BOARD_BootClockRUN(void)
This function executes configuration of clocks.
Definition: clock_config.c:168
const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN
Sys PLL for BOARD_BootClockRUN configuration.
Definition: clock_config.c:120
const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN
Arm PLL set for BOARD_BootClockRUN configuration.
Definition: clock_config.c:133
void BOARD_InitBootClocks(void)
This function executes default configuration of clocks.
Definition: clock_config.c:52