]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_MPU_M33F_NXP_LPC55S69_MCUXpresso/NXP_Code/board/clock_config.h
2f082ce4152095c8a9867d40754450e8ac561cff
[freertos] / FreeRTOS / Demo / CORTEX_MPU_M33F_NXP_LPC55S69_MCUXpresso / NXP_Code / board / clock_config.h
1 /*\r
2  * Copyright 2017-2018 NXP\r
3  * All rights reserved.\r
4  *\r
5  * SPDX-License-Identifier: BSD-3-Clause\r
6  */\r
7 \r
8 /***********************************************************************************************************************\r
9  * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file\r
10  * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.\r
11  **********************************************************************************************************************/\r
12 \r
13 #ifndef _CLOCK_CONFIG_H_\r
14 #define _CLOCK_CONFIG_H_\r
15 \r
16 #include "fsl_common.h"\r
17 \r
18 /*******************************************************************************\r
19  * Definitions\r
20  ******************************************************************************/\r
21 #define BOARD_XTAL0_CLK_HZ                         16000000U  /*!< Board xtal frequency in Hz */\r
22 #define BOARD_XTAL32K_CLK_HZ                          32768U  /*!< Board xtal32K frequency in Hz */\r
23 \r
24 /*******************************************************************************\r
25  ************************ BOARD_InitBootClocks function ************************\r
26  ******************************************************************************/\r
27 \r
28 #if defined(__cplusplus)\r
29 extern "C" {\r
30 #endif /* __cplusplus*/\r
31 \r
32 /*!\r
33  * @brief This function executes default configuration of clocks.\r
34  *\r
35  */\r
36 void BOARD_InitBootClocks(void);\r
37 \r
38 #if defined(__cplusplus)\r
39 }\r
40 #endif /* __cplusplus*/\r
41 \r
42 /*******************************************************************************\r
43  ******************** Configuration BOARD_BootClockFRO12M **********************\r
44  ******************************************************************************/\r
45 /*******************************************************************************\r
46  * Definitions for BOARD_BootClockFRO12M configuration\r
47  ******************************************************************************/\r
48 #define BOARD_BOOTCLOCKFRO12M_CORE_CLOCK           12000000U  /*!< Core clock frequency: 12000000Hz */\r
49 \r
50 \r
51 /*******************************************************************************\r
52  * API for BOARD_BootClockFRO12M configuration\r
53  ******************************************************************************/\r
54 #if defined(__cplusplus)\r
55 extern "C" {\r
56 #endif /* __cplusplus*/\r
57 \r
58 /*!\r
59  * @brief This function executes configuration of clocks.\r
60  *\r
61  */\r
62 void BOARD_BootClockFRO12M(void);\r
63 \r
64 #if defined(__cplusplus)\r
65 }\r
66 #endif /* __cplusplus*/\r
67 \r
68 /*******************************************************************************\r
69  ******************* Configuration BOARD_BootClockFROHF96M *********************\r
70  ******************************************************************************/\r
71 /*******************************************************************************\r
72  * Definitions for BOARD_BootClockFROHF96M configuration\r
73  ******************************************************************************/\r
74 #define BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK         96000000U  /*!< Core clock frequency: 96000000Hz */\r
75 \r
76 \r
77 /*******************************************************************************\r
78  * API for BOARD_BootClockFROHF96M configuration\r
79  ******************************************************************************/\r
80 #if defined(__cplusplus)\r
81 extern "C" {\r
82 #endif /* __cplusplus*/\r
83 \r
84 /*!\r
85  * @brief This function executes configuration of clocks.\r
86  *\r
87  */\r
88 void BOARD_BootClockFROHF96M(void);\r
89 \r
90 #if defined(__cplusplus)\r
91 }\r
92 #endif /* __cplusplus*/\r
93 \r
94 /*******************************************************************************\r
95  ******************** Configuration BOARD_BootClockPLL100M *********************\r
96  ******************************************************************************/\r
97 /*******************************************************************************\r
98  * Definitions for BOARD_BootClockPLL100M configuration\r
99  ******************************************************************************/\r
100 #define BOARD_BOOTCLOCKPLL100M_CORE_CLOCK         100000000U  /*!< Core clock frequency: 100000000Hz */\r
101 \r
102 \r
103 /*******************************************************************************\r
104  * API for BOARD_BootClockPLL100M configuration\r
105  ******************************************************************************/\r
106 #if defined(__cplusplus)\r
107 extern "C" {\r
108 #endif /* __cplusplus*/\r
109 \r
110 /*!\r
111  * @brief This function executes configuration of clocks.\r
112  *\r
113  */\r
114 void BOARD_BootClockPLL100M(void);\r
115 \r
116 #if defined(__cplusplus)\r
117 }\r
118 #endif /* __cplusplus*/\r
119 \r
120 #endif /* _CLOCK_CONFIG_H_ */\r
121 \r