1 /* 2 * Copyright 2021-2023 NXP 3 * All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 * 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 32000000U /*!< 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 96000000U /*!< Core clock frequency: 96000000Hz */ 49 #define BOARD_BOOTCLOCKRUN_ROSC_CLOCK 32768U /*!< ROSC clock frequency: 32768Hz */ 50 51 /*! @brief SCG set for BOARD_BootClockRUN configuration. 52 */ 53 extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN; 54 /*! @brief System OSC set for BOARD_BootClockRUN configuration. 55 */ 56 extern const scg_sosc_config_t g_scgSysOscConfig_BOARD_BootClockRUN; 57 /*! @brief SIRC set for BOARD_BootClockRUN configuration. 58 */ 59 extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN; 60 /*! @brief FIRC set for BOARD_BootClockRUN configuration. 61 */ 62 extern const scg_firc_config_t g_scgFircConfig_BOARD_BootClockRUN; 63 64 /******************************************************************************* 65 * API for BOARD_BootClockRUN configuration 66 ******************************************************************************/ 67 #if defined(__cplusplus) 68 extern "C" { 69 #endif /* __cplusplus*/ 70 71 /*! 72 * @brief This function executes configuration of clocks. 73 * 74 */ 75 void BOARD_BootClockRUN(void); 76 77 #if defined(__cplusplus) 78 } 79 #endif /* __cplusplus*/ 80 81 #endif /* _CLOCK_CONFIG_H_ */ 82