1 /* 2 * Copyright (c) 2015, Freescale Semiconductor, Inc. 3 * Copyright 2016-2017 ,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 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_BootClockRUN *********************** 43 ******************************************************************************/ 44 /******************************************************************************* 45 * Definitions for BOARD_BootClockRUN configuration 46 ******************************************************************************/ 47 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 62914560U /*!< Core clock frequency: 62914560Hz */ 48 49 /*! @brief MCG set for BOARD_BootClockRUN configuration. 50 */ 51 extern const mcg_config_t mcgConfig_BOARD_BootClockRUN; 52 /*! @brief SIM module set for BOARD_BootClockRUN configuration. 53 */ 54 extern const sim_clock_config_t simConfig_BOARD_BootClockRUN; 55 /*! @brief OSC set for BOARD_BootClockRUN configuration. 56 */ 57 extern const osc_config_t oscConfig_BOARD_BootClockRUN; 58 59 /******************************************************************************* 60 * API for BOARD_BootClockRUN configuration 61 ******************************************************************************/ 62 #if defined(__cplusplus) 63 extern "C" { 64 #endif /* __cplusplus*/ 65 66 /*! 67 * @brief This function executes configuration of clocks. 68 * 69 */ 70 void BOARD_BootClockRUN(void); 71 72 #if defined(__cplusplus) 73 } 74 #endif /* __cplusplus*/ 75 76 /******************************************************************************* 77 ********************* Configuration BOARD_BootClockVLPR *********************** 78 ******************************************************************************/ 79 /******************************************************************************* 80 * Definitions for BOARD_BootClockVLPR configuration 81 ******************************************************************************/ 82 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */ 83 84 /*! @brief MCG set for BOARD_BootClockVLPR configuration. 85 */ 86 extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR; 87 /*! @brief SIM module set for BOARD_BootClockVLPR configuration. 88 */ 89 extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR; 90 /*! @brief OSC set for BOARD_BootClockVLPR configuration. 91 */ 92 extern const osc_config_t oscConfig_BOARD_BootClockVLPR; 93 94 /******************************************************************************* 95 * API for BOARD_BootClockVLPR configuration 96 ******************************************************************************/ 97 #if defined(__cplusplus) 98 extern "C" { 99 #endif /* __cplusplus*/ 100 101 /*! 102 * @brief This function executes configuration of clocks. 103 * 104 */ 105 void BOARD_BootClockVLPR(void); 106 107 #if defined(__cplusplus) 108 } 109 #endif /* __cplusplus*/ 110 111 #endif /* _CLOCK_CONFIG_H_ */ 112 113