1 /* 2 * Copyright 2022-2023 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_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 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 #define BOARD_BOOTCLOCKFRO12M_ROSC_CLOCK 0U /*!< ROSC clock frequency: 0Hz */ 49 50 51 /******************************************************************************* 52 * API for BOARD_BootClockFRO12M configuration 53 ******************************************************************************/ 54 #if defined(__cplusplus) 55 extern "C" { 56 #endif /* __cplusplus*/ 57 58 /*! 59 * @brief This function executes configuration of clocks. 60 * 61 */ 62 void BOARD_BootClockFRO12M(void); 63 64 #if defined(__cplusplus) 65 } 66 #endif /* __cplusplus*/ 67 68 /******************************************************************************* 69 ******************* Configuration BOARD_BootClockFROHF48M ********************* 70 ******************************************************************************/ 71 /******************************************************************************* 72 * Definitions for BOARD_BootClockFROHF48M configuration 73 ******************************************************************************/ 74 #define BOARD_BOOTCLOCKFROHF48M_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */ 75 #define BOARD_BOOTCLOCKFROHF48M_ROSC_CLOCK 0U /*!< ROSC clock frequency: 0Hz */ 76 77 78 /******************************************************************************* 79 * API for BOARD_BootClockFROHF48M configuration 80 ******************************************************************************/ 81 #if defined(__cplusplus) 82 extern "C" { 83 #endif /* __cplusplus*/ 84 85 /*! 86 * @brief This function executes configuration of clocks. 87 * 88 */ 89 void BOARD_BootClockFROHF48M(void); 90 91 #if defined(__cplusplus) 92 } 93 #endif /* __cplusplus*/ 94 95 /******************************************************************************* 96 ******************* Configuration BOARD_BootClockFROHF144M ******************** 97 ******************************************************************************/ 98 /******************************************************************************* 99 * Definitions for BOARD_BootClockFROHF144M configuration 100 ******************************************************************************/ 101 #define BOARD_BOOTCLOCKFROHF144M_CORE_CLOCK 144000000U /*!< Core clock frequency: 144000000Hz */ 102 #define BOARD_BOOTCLOCKFROHF144M_ROSC_CLOCK 0U /*!< ROSC clock frequency: 0Hz */ 103 104 105 /******************************************************************************* 106 * API for BOARD_BootClockFROHF144M configuration 107 ******************************************************************************/ 108 #if defined(__cplusplus) 109 extern "C" { 110 #endif /* __cplusplus*/ 111 112 /*! 113 * @brief This function executes configuration of clocks. 114 * 115 */ 116 void BOARD_BootClockFROHF144M(void); 117 118 #if defined(__cplusplus) 119 } 120 #endif /* __cplusplus*/ 121 122 /******************************************************************************* 123 ******************** Configuration BOARD_BootClockPLL150M ********************* 124 ******************************************************************************/ 125 /******************************************************************************* 126 * Definitions for BOARD_BootClockPLL150M configuration 127 ******************************************************************************/ 128 #define BOARD_BOOTCLOCKPLL150M_CORE_CLOCK 150000000U /*!< Core clock frequency: 150000000Hz */ 129 #define BOARD_BOOTCLOCKPLL150M_ROSC_CLOCK 0U /*!< ROSC clock frequency: 0Hz */ 130 131 132 /******************************************************************************* 133 * API for BOARD_BootClockPLL150M configuration 134 ******************************************************************************/ 135 #if defined(__cplusplus) 136 extern "C" { 137 #endif /* __cplusplus*/ 138 139 /*! 140 * @brief This function executes configuration of clocks. 141 * 142 */ 143 void BOARD_BootClockPLL150M(void); 144 145 #if defined(__cplusplus) 146 } 147 #endif /* __cplusplus*/ 148 149 /******************************************************************************* 150 ******************** Configuration BOARD_BootClockPLL100M ********************* 151 ******************************************************************************/ 152 /******************************************************************************* 153 * Definitions for BOARD_BootClockPLL100M configuration 154 ******************************************************************************/ 155 #define BOARD_BOOTCLOCKPLL100M_CORE_CLOCK 100000000U /*!< Core clock frequency: 100000000Hz */ 156 #define BOARD_BOOTCLOCKPLL100M_ROSC_CLOCK 0U /*!< ROSC clock frequency: 0Hz */ 157 158 159 /******************************************************************************* 160 * API for BOARD_BootClockPLL100M configuration 161 ******************************************************************************/ 162 #if defined(__cplusplus) 163 extern "C" { 164 #endif /* __cplusplus*/ 165 166 /*! 167 * @brief This function executes configuration of clocks. 168 * 169 */ 170 void BOARD_BootClockPLL100M(void); 171 172 #if defined(__cplusplus) 173 } 174 #endif /* __cplusplus*/ 175 176 #endif /* _CLOCK_CONFIG_H_ */ 177 178