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 #ifndef _CLOCK_CONFIG_H_
8 #define _CLOCK_CONFIG_H_
9 
10 #include "fsl_common.h"
11 
12 /*******************************************************************************
13  * Definitions
14  ******************************************************************************/
15 #define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */
16 
17 #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32k frequency in Hz */
18 
19 /*! @brief Usb1 PLL set for BOARD_BootClockRUN configuration.
20  */
21 extern const clock_usb_pll_config_t usb1PllConfig_BOARD_BootClockRUN;
22 /*! @brief Sys PLL for BOARD_BootClockRUN configuration.
23  */
24 extern const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN;
25 /*******************************************************************************
26  ************************ BOARD_InitBootClocks function ************************
27  ******************************************************************************/
28 
29 #if defined(__cplusplus)
30 extern "C" {
31 #endif /* __cplusplus*/
32 
33 /*!
34  * @brief This function executes default configuration of clocks.
35  *
36  */
37 void BOARD_InitBootClocks(void);
38 
39 #if defined(__cplusplus)
40 }
41 #endif /* __cplusplus*/
42 
43 /*******************************************************************************
44  * API for BOARD_BootClockRUN configuration
45  ******************************************************************************/
46 #if defined(__cplusplus)
47 extern "C" {
48 #endif /* __cplusplus*/
49 
50 /*!
51  * @brief This function executes configuration of clocks.
52  *
53  */
54 void BOARD_BootClockRUN(void);
55 
56 #if defined(__cplusplus)
57 }
58 #endif /* __cplusplus*/
59 
60 #endif /* _CLOCK_CONFIG_H_ */
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
void BOARD_InitBootClocks(void)
This function executes default configuration of clocks.
Definition: clock_config.c:52