1 #ifndef _CLOCK_CONFIG_H_ 2 #define _CLOCK_CONFIG_H_ 3 4 #include "fsl_common.h" 5 6 /******************************************************************************* 7 * Definitions 8 ******************************************************************************/ 9 #define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */ 10 11 #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32k frequency in Hz */ 12 /******************************************************************************* 13 ************************ BOARD_InitBootClocks function ************************ 14 ******************************************************************************/ 15 16 #if defined(__cplusplus) 17 extern "C" { 18 #endif /* __cplusplus*/ 19 20 /*! 21 * @brief This function executes default configuration of clocks. 22 * 23 */ 24 void BOARD_InitBootClocks(void); 25 26 #if defined(__cplusplus) 27 } 28 #endif /* __cplusplus*/ 29 30 /******************************************************************************* 31 ********************** Configuration BOARD_BootClockRUN *********************** 32 ******************************************************************************/ 33 /******************************************************************************* 34 * Definitions for BOARD_BootClockRUN configuration 35 ******************************************************************************/ 36 #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 600000000U /*!< Core clock frequency: 600000000Hz */ 37 38 /*! @brief Arm PLL set for BOARD_BootClockRUN configuration. 39 */ 40 extern const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN; 41 /*! @brief Usb1 PLL set for BOARD_BootClockRUN configuration. 42 */ 43 extern const clock_usb_pll_config_t usb1PllConfig_BOARD_BootClockRUN; 44 /*! @brief Sys PLL for BOARD_BootClockRUN configuration. 45 */ 46 extern const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN; 47 48 /******************************************************************************* 49 * API for BOARD_BootClockRUN configuration 50 ******************************************************************************/ 51 #if defined(__cplusplus) 52 extern "C" { 53 #endif /* __cplusplus*/ 54 55 /*! 56 * @brief This function executes configuration of clocks. 57 * 58 */ 59 void BOARD_BootClockRUN(void); 60 61 #if defined(__cplusplus) 62 } 63 #endif /* __cplusplus*/ 64 65 #endif /* _CLOCK_CONFIG_H_ */ 66 67