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