![]() |
|
|||
File indexing completed on 2025-05-11 08:22:50
0001 /* 0002 * Copyright 2017-2019 NXP 0003 * All rights reserved. 0004 * 0005 * SPDX-License-Identifier: BSD-3-Clause 0006 */ 0007 0008 #ifndef _CLOCK_CONFIG_H_ 0009 #define _CLOCK_CONFIG_H_ 0010 0011 #include <bspopts.h> 0012 #include "fsl_common.h" 0013 0014 /******************************************************************************* 0015 * Definitions 0016 ******************************************************************************/ 0017 #define BOARD_XTAL0_CLK_HZ 24000000U /*!< Board xtal0 frequency in Hz */ 0018 0019 #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32k frequency in Hz */ 0020 /******************************************************************************* 0021 ************************ BOARD_InitBootClocks function ************************ 0022 ******************************************************************************/ 0023 0024 #if defined(__cplusplus) 0025 extern "C" { 0026 #endif /* __cplusplus*/ 0027 0028 /*! 0029 * @brief This function executes default configuration of clocks. 0030 * 0031 */ 0032 void BOARD_InitBootClocks(void); 0033 0034 #if defined(__cplusplus) 0035 } 0036 #endif /* __cplusplus*/ 0037 0038 #if IMXRT_IS_MIMXRT10xx 0039 /*! @brief Arm PLL set for BOARD_BootClockRUN configuration. 0040 */ 0041 extern const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN; 0042 /*! @brief Usb1 PLL set for BOARD_BootClockRUN configuration. 0043 */ 0044 extern const clock_usb_pll_config_t usb1PllConfig_BOARD_BootClockRUN; 0045 /*! @brief Sys PLL for BOARD_BootClockRUN configuration. 0046 */ 0047 extern const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN; 0048 #endif 0049 0050 /******************************************************************************* 0051 * API for BOARD_BootClockRUN configuration 0052 ******************************************************************************/ 0053 #if defined(__cplusplus) 0054 extern "C" { 0055 #endif /* __cplusplus*/ 0056 0057 /*! 0058 * @brief This function executes configuration of clocks. 0059 * 0060 */ 0061 void BOARD_BootClockRUN(void); 0062 0063 #if defined(__cplusplus) 0064 } 0065 #endif /* __cplusplus*/ 0066 0067 #endif /* _CLOCK_CONFIG_H_ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |