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