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 #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  ************************ BOARD_InitBootClocks function ************************
20  ******************************************************************************/
21 
22 #if defined(__cplusplus)
23 extern "C" {
24 #endif /* __cplusplus*/
25 
26 /*!
27  * @brief This function executes default configuration of clocks.
28  *
29  */
30 void BOARD_InitBootClocks(void);
31 
32 #if defined(__cplusplus)
33 }
34 #endif /* __cplusplus*/
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 #endif /* _CLOCK_CONFIG_H_ */
54 
void BOARD_BootClockRUN(void)
This function executes configuration of clocks.
Definition: clock_config.c:168
void BOARD_InitBootClocks(void)
This function executes default configuration of clocks.
Definition: clock_config.c:52