1 /* 2 * Copyright (c) 2016, 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 8000000U /*!< Board xtal0 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_BootClockRUN *********************** 44 ******************************************************************************/ 45 /******************************************************************************* 46 * Definitions for BOARD_BootClockRUN configuration 47 ******************************************************************************/ 48 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 72000000U /*!< Core clock frequency: 72000000Hz */ 49 50 /*! @brief SCG set for BOARD_BootClockRUN configuration. 51 */ 52 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN; 53 /*! @brief System OSC set for BOARD_BootClockRUN configuration. 54 */ 55 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN; 56 /*! @brief SIRC set for BOARD_BootClockRUN configuration. 57 */ 58 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN; 59 /*! @brief FIRC set for BOARD_BootClockRUN configuration. 60 */ 61 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockRUN; 62 /*! @brief Low Power FLL set for BOARD_BootClockRUN configuration. 63 */ 64 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockRUN; 65 66 /******************************************************************************* 67 * API for BOARD_BootClockRUN configuration 68 ******************************************************************************/ 69 #if defined(__cplusplus) 70 extern "C" { 71 #endif /* __cplusplus*/ 72 73 /*! 74 * @brief This function executes configuration of clocks. 75 * 76 */ 77 void BOARD_BootClockRUN(void); 78 79 #if defined(__cplusplus) 80 } 81 #endif /* __cplusplus*/ 82 83 /******************************************************************************* 84 ********************* Configuration BOARD_BootClockVLPR *********************** 85 ******************************************************************************/ 86 /******************************************************************************* 87 * Definitions for BOARD_BootClockVLPR configuration 88 ******************************************************************************/ 89 #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */ 90 91 /*! @brief SCG set for BOARD_BootClockVLPR configuration. 92 */ 93 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockVLPR; 94 /*! @brief System OSC set for BOARD_BootClockVLPR configuration. 95 */ 96 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockVLPR; 97 /*! @brief SIRC set for BOARD_BootClockVLPR configuration. 98 */ 99 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockVLPR; 100 /*! @brief FIRC set for BOARD_BootClockVLPR configuration. 101 */ 102 extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockVLPR; 103 /*! @brief Low Power FLL set for BOARD_BootClockVLPR configuration. 104 */ 105 extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockVLPR; 106 107 /******************************************************************************* 108 * API for BOARD_BootClockVLPR configuration 109 ******************************************************************************/ 110 #if defined(__cplusplus) 111 extern "C" { 112 #endif /* __cplusplus*/ 113 114 /*! 115 * @brief This function executes configuration of clocks. 116 * 117 */ 118 void BOARD_BootClockVLPR(void); 119 120 #if defined(__cplusplus) 121 } 122 #endif /* __cplusplus*/ 123 124 #endif /* _CLOCK_CONFIG_H_ */ 125 126