12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- /*
- * Copyright 2017-2018 NXP
- * All rights reserved.
- *
- * SPDX-License-Identifier: BSD-3-Clause
- */
- #ifndef _CLOCK_CONFIG_H_
- #define _CLOCK_CONFIG_H_
- #include "fsl_common.h"
- /*******************************************************************************
- * Definitions
- ******************************************************************************/
- #define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */
- #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32k frequency in Hz */
- /*******************************************************************************
- ************************ BOARD_InitBootClocks function ************************
- ******************************************************************************/
- #if defined(__cplusplus)
- extern "C" {
- #endif /* __cplusplus*/
- /*!
- * @brief This function executes default configuration of clocks.
- *
- */
- void BOARD_InitBootClocks(void);
- #if defined(__cplusplus)
- }
- #endif /* __cplusplus*/
- /*******************************************************************************
- ********************** Configuration BOARD_BootClockRUN ***********************
- ******************************************************************************/
- /*******************************************************************************
- * Definitions for BOARD_BootClockRUN configuration
- ******************************************************************************/
- #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 600000000U /*!< Core clock frequency: 600000000Hz */
- /*! @brief Arm PLL set for BOARD_BootClockRUN configuration.
- */
- extern const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN;
- /*! @brief Usb1 PLL set for BOARD_BootClockRUN configuration.
- */
- extern const clock_usb_pll_config_t usb1PllConfig_BOARD_BootClockRUN;
- /*! @brief Sys PLL for BOARD_BootClockRUN configuration.
- */
- extern const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN;
- /*******************************************************************************
- * API for BOARD_BootClockRUN configuration
- ******************************************************************************/
- #if defined(__cplusplus)
- extern "C" {
- #endif /* __cplusplus*/
- /*!
- * @brief This function executes configuration of clocks.
- *
- */
- void BOARD_BootClockRUN(void);
- #if defined(__cplusplus)
- }
- #endif /* __cplusplus*/
- #endif /* _CLOCK_CONFIG_H_ */
|