1 /* 2 * Copyright 2018,2019 ,2021 NXP 3 * All rights reserved. 4 * 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_BootClockIRC12M ********************** 45 ******************************************************************************/ 46 /******************************************************************************* 47 * Definitions for BOARD_BootClockIRC12M configuration 48 ******************************************************************************/ 49 #define BOARD_BOOTCLOCKIRC12M_CORE_CLOCK 12000000U /*!< Core clock frequency: 12000000Hz */ 50 51 52 /******************************************************************************* 53 * API for BOARD_BootClockIRC12M 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_BootClockIRC12M(void); 64 65 #if defined(__cplusplus) 66 } 67 #endif /* __cplusplus*/ 68 69 /******************************************************************************* 70 ******************** Configuration BOARD_BootClockPll24M ********************** 71 ******************************************************************************/ 72 /******************************************************************************* 73 * Definitions for BOARD_BootClockPll24M configuration 74 ******************************************************************************/ 75 #define BOARD_BOOTCLOCKPLL24M_CORE_CLOCK 24000000U /*!< Core clock frequency: 24000000Hz */ 76 77 78 /******************************************************************************* 79 * API for BOARD_BootClockPll24M 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_BootClockPll24M(void); 90 91 #if defined(__cplusplus) 92 } 93 #endif /* __cplusplus*/ 94 95 #endif /* _CLOCK_CONFIG_H_ */ 96 97