1 /* 2 * Copyright (c) 2015, Freescale Semiconductor, Inc. 3 * Copyright 2016-2017,2019 ,2021 NXP 4 * All rights reserved. 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 9 /*********************************************************************************************************************** 10 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file 11 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file. 12 **********************************************************************************************************************/ 13 14 #ifndef _CLOCK_CONFIG_H_ 15 #define _CLOCK_CONFIG_H_ 16 17 #include "fsl_common.h" 18 19 /******************************************************************************* 20 * Definitions 21 ******************************************************************************/ 22 #define BOARD_XTAL0_CLK_HZ 12000000U /*!< Board xtal0 frequency in Hz */ 23 #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32K frequency in Hz */ 24 25 /******************************************************************************* 26 ************************ BOARD_InitBootClocks function ************************ 27 ******************************************************************************/ 28 29 #if defined(__cplusplus) 30 extern "C" { 31 #endif /* __cplusplus*/ 32 33 /*! 34 * @brief This function executes default configuration of clocks. 35 * 36 */ 37 void BOARD_InitBootClocks(void); 38 39 #if defined(__cplusplus) 40 } 41 #endif /* __cplusplus*/ 42 43 /******************************************************************************* 44 ******************** Configuration BOARD_BootClockFRO12M ********************** 45 ******************************************************************************/ 46 /******************************************************************************* 47 * Definitions for BOARD_BootClockFRO12M configuration 48 ******************************************************************************/ 49 #define BOARD_BOOTCLOCKFRO12M_CORE_CLOCK 12000000U /*!< Core clock frequency: 12000000Hz */ 50 51 52 /******************************************************************************* 53 * API for BOARD_BootClockFRO12M configuration 54 ******************************************************************************/ 55 #if defined(__cplusplus) 56 extern "C" { 57 #endif /* __cplusplus*/ 58 59 /*! 60 * @brief This function executes configuration of clocks. 61 * 62 */ 63 void BOARD_BootClockFRO12M(void); 64 65 #if defined(__cplusplus) 66 } 67 #endif /* __cplusplus*/ 68 69 /******************************************************************************* 70 ******************* Configuration BOARD_BootClockFROHF48M ********************* 71 ******************************************************************************/ 72 /******************************************************************************* 73 * Definitions for BOARD_BootClockFROHF48M configuration 74 ******************************************************************************/ 75 #define BOARD_BOOTCLOCKFROHF48M_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */ 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_BootClockFROHF96M ********************* 97 ******************************************************************************/ 98 /******************************************************************************* 99 * Definitions for BOARD_BootClockFROHF96M configuration 100 ******************************************************************************/ 101 #define BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK 96000000U /*!< Core clock frequency: 96000000Hz */ 102 103 104 /******************************************************************************* 105 * API for BOARD_BootClockFROHF96M configuration 106 ******************************************************************************/ 107 #if defined(__cplusplus) 108 extern "C" { 109 #endif /* __cplusplus*/ 110 111 /*! 112 * @brief This function executes configuration of clocks. 113 * 114 */ 115 void BOARD_BootClockFROHF96M(void); 116 117 #if defined(__cplusplus) 118 } 119 #endif /* __cplusplus*/ 120 121 /******************************************************************************* 122 ******************** Configuration BOARD_BootClockPLL150M ********************* 123 ******************************************************************************/ 124 /******************************************************************************* 125 * Definitions for BOARD_BootClockPLL150M configuration 126 ******************************************************************************/ 127 #define BOARD_BOOTCLOCKPLL150M_CORE_CLOCK 150000000U /*!< Core clock frequency: 150000000Hz */ 128 129 130 /******************************************************************************* 131 * API for BOARD_BootClockPLL150M configuration 132 ******************************************************************************/ 133 #if defined(__cplusplus) 134 extern "C" { 135 #endif /* __cplusplus*/ 136 137 /*! 138 * @brief This function executes configuration of clocks. 139 * 140 */ 141 void BOARD_BootClockPLL150M(void); 142 143 #if defined(__cplusplus) 144 } 145 #endif /* __cplusplus*/ 146 147 #endif /* _CLOCK_CONFIG_H_ */ 148 149