1 /* 2 * Copyright 2017-2018 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 16000000U /*!< Board xtal frequency in Hz */ 22 #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32K frequency in Hz */ 23 24 /******************************************************************************* 25 ************************ BOARD_InitBootClocks function ************************ 26 ******************************************************************************/ 27 28 #if defined(__cplusplus) 29 extern "C" { 30 #endif /* __cplusplus*/ 31 32 /*! 33 * @brief This function executes default configuration of clocks. 34 * 35 */ 36 void BOARD_InitBootClocks(void); 37 38 #if defined(__cplusplus) 39 } 40 #endif /* __cplusplus*/ 41 42 /******************************************************************************* 43 ******************** Configuration BOARD_BootClockFRO12M ********************** 44 ******************************************************************************/ 45 /******************************************************************************* 46 * Definitions for BOARD_BootClockFRO12M configuration 47 ******************************************************************************/ 48 #define BOARD_BOOTCLOCKFRO12M_CORE_CLOCK 12000000U /*!< Core clock frequency: 12000000Hz */ 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_BootClockFROHF96M ********************* 70 ******************************************************************************/ 71 /******************************************************************************* 72 * Definitions for BOARD_BootClockFROHF96M configuration 73 ******************************************************************************/ 74 #define BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK 96000000U /*!< Core clock frequency: 96000000Hz */ 75 76 77 /******************************************************************************* 78 * API for BOARD_BootClockFROHF96M configuration 79 ******************************************************************************/ 80 #if defined(__cplusplus) 81 extern "C" { 82 #endif /* __cplusplus*/ 83 84 /*! 85 * @brief This function executes configuration of clocks. 86 * 87 */ 88 void BOARD_BootClockFROHF96M(void); 89 90 #if defined(__cplusplus) 91 } 92 #endif /* __cplusplus*/ 93 94 /******************************************************************************* 95 ******************** Configuration BOARD_BootClockPLL100M ********************* 96 ******************************************************************************/ 97 /******************************************************************************* 98 * Definitions for BOARD_BootClockPLL100M configuration 99 ******************************************************************************/ 100 #define BOARD_BOOTCLOCKPLL100M_CORE_CLOCK 100000000U /*!< Core clock frequency: 100000000Hz */ 101 102 103 /******************************************************************************* 104 * API for BOARD_BootClockPLL100M configuration 105 ******************************************************************************/ 106 #if defined(__cplusplus) 107 extern "C" { 108 #endif /* __cplusplus*/ 109 110 /*! 111 * @brief This function executes configuration of clocks. 112 * 113 */ 114 void BOARD_BootClockPLL100M(void); 115 116 #if defined(__cplusplus) 117 } 118 #endif /* __cplusplus*/ 119 120 #endif /* _CLOCK_CONFIG_H_ */ 121 122