1 /* 2 * Copyright 2019 ,2021 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /*********************************************************************************************************************** 8 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file 9 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file. 10 **********************************************************************************************************************/ 11 12 #ifndef _CLOCK_CONFIG_H_ 13 #define _CLOCK_CONFIG_H_ 14 15 #include "fsl_common.h" 16 17 /******************************************************************************* 18 * Definitions 19 ******************************************************************************/ 20 #define BOARD_XTAL0_CLK_HZ 8000000U /*!< Board xtal0 frequency in Hz */ 21 22 /******************************************************************************* 23 ************************ BOARD_InitBootClocks function ************************ 24 ******************************************************************************/ 25 26 #if defined(__cplusplus) 27 extern "C" { 28 #endif /* __cplusplus*/ 29 30 /*! 31 * @brief This function executes default configuration of clocks. 32 * 33 */ 34 void BOARD_InitBootClocks(void); 35 36 #if defined(__cplusplus) 37 } 38 #endif /* __cplusplus*/ 39 40 /******************************************************************************* 41 ********************** Configuration BOARD_BootClockRUN *********************** 42 ******************************************************************************/ 43 /******************************************************************************* 44 * Definitions for BOARD_BootClockRUN configuration 45 ******************************************************************************/ 46 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 71991296U /*!< Core clock frequency: 71991296Hz */ 47 48 /*! @brief MCG set for BOARD_BootClockRUN configuration. 49 */ 50 extern const mcg_config_t mcgConfig_BOARD_BootClockRUN; 51 /*! @brief SIM module set for BOARD_BootClockRUN configuration. 52 */ 53 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN; 54 /*! @brief OSC set for BOARD_BootClockRUN configuration. 55 */ 56 extern const osc_config_t oscConfig_BOARD_BootClockRUN; 57 58 /******************************************************************************* 59 * API for BOARD_BootClockRUN configuration 60 ******************************************************************************/ 61 #if defined(__cplusplus) 62 extern "C" { 63 #endif /* __cplusplus*/ 64 65 /*! 66 * @brief This function executes configuration of clocks. 67 * 68 */ 69 void BOARD_BootClockRUN(void); 70 71 #if defined(__cplusplus) 72 } 73 #endif /* __cplusplus*/ 74 75 /******************************************************************************* 76 ********************* Configuration BOARD_BootClockVLPR *********************** 77 ******************************************************************************/ 78 /******************************************************************************* 79 * Definitions for BOARD_BootClockVLPR configuration 80 ******************************************************************************/ 81 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */ 82 83 /*! @brief MCG set for BOARD_BootClockVLPR configuration. 84 */ 85 extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR; 86 /*! @brief SIM module set for BOARD_BootClockVLPR configuration. 87 */ 88 extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR; 89 /*! @brief OSC set for BOARD_BootClockVLPR configuration. 90 */ 91 extern const osc_config_t oscConfig_BOARD_BootClockVLPR; 92 93 /******************************************************************************* 94 * API for BOARD_BootClockVLPR configuration 95 ******************************************************************************/ 96 #if defined(__cplusplus) 97 extern "C" { 98 #endif /* __cplusplus*/ 99 100 /*! 101 * @brief This function executes configuration of clocks. 102 * 103 */ 104 void BOARD_BootClockVLPR(void); 105 106 #if defined(__cplusplus) 107 } 108 #endif /* __cplusplus*/ 109 110 #endif /* _CLOCK_CONFIG_H_ */ 111 112