2 * Copyright (c) 2015, Freescale Semiconductor, Inc.
\r
3 * Copyright 2016-2017,2019 NXP
\r
4 * All rights reserved.
\r
6 * SPDX-License-Identifier: BSD-3-Clause
\r
8 /***********************************************************************************************************************
\r
9 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
\r
10 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
\r
11 **********************************************************************************************************************/
\r
13 #ifndef _CLOCK_CONFIG_H_
\r
14 #define _CLOCK_CONFIG_H_
\r
16 #include "fsl_common.h"
\r
18 /*******************************************************************************
\r
20 ******************************************************************************/
\r
21 #define BOARD_XTAL0_CLK_HZ 12000000U /*!< Board xtal0 frequency in Hz */
\r
22 #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32K frequency in Hz */
\r
24 /*******************************************************************************
\r
25 ************************ BOARD_InitBootClocks function ************************
\r
26 ******************************************************************************/
\r
28 #if defined(__cplusplus)
\r
30 #endif /* __cplusplus*/
\r
33 * @brief This function executes default configuration of clocks.
\r
36 void BOARD_InitBootClocks(void);
\r
38 #if defined(__cplusplus)
\r
40 #endif /* __cplusplus*/
\r
42 /*******************************************************************************
\r
43 ******************** Configuration BOARD_BootClockFRO12M **********************
\r
44 ******************************************************************************/
\r
45 /*******************************************************************************
\r
46 * Definitions for BOARD_BootClockFRO12M configuration
\r
47 ******************************************************************************/
\r
48 #define BOARD_BOOTCLOCKFRO12M_CORE_CLOCK 12000000U /*!< Core clock frequency:12000000Hz */
\r
50 /*******************************************************************************
\r
51 * API for BOARD_BootClockFRO12M configuration
\r
52 ******************************************************************************/
\r
53 #if defined(__cplusplus)
\r
55 #endif /* __cplusplus*/
\r
58 * @brief This function executes configuration of clocks.
\r
61 void BOARD_BootClockFRO12M(void);
\r
63 #if defined(__cplusplus)
\r
65 #endif /* __cplusplus*/
\r
67 /*******************************************************************************
\r
68 ******************* Configuration BOARD_BootClockFROHF48M *********************
\r
69 ******************************************************************************/
\r
70 /*******************************************************************************
\r
71 * Definitions for BOARD_BootClockFROHF48M configuration
\r
72 ******************************************************************************/
\r
73 #define BOARD_BOOTCLOCKFROHF48M_CORE_CLOCK 48000000U /*!< Core clock frequency:48000000Hz */
\r
75 /*******************************************************************************
\r
76 * API for BOARD_BootClockFROHF48M configuration
\r
77 ******************************************************************************/
\r
78 #if defined(__cplusplus)
\r
80 #endif /* __cplusplus*/
\r
83 * @brief This function executes configuration of clocks.
\r
86 void BOARD_BootClockFROHF48M(void);
\r
88 #if defined(__cplusplus)
\r
90 #endif /* __cplusplus*/
\r
92 /*******************************************************************************
\r
93 ******************* Configuration BOARD_BootClockFROHF96M *********************
\r
94 ******************************************************************************/
\r
95 /*******************************************************************************
\r
96 * Definitions for BOARD_BootClockFROHF96M configuration
\r
97 ******************************************************************************/
\r
98 #define BOARD_BOOTCLOCKFROHF96M_CORE_CLOCK 96000000U /*!< Core clock frequency:96000000Hz */
\r
100 /*******************************************************************************
\r
101 * API for BOARD_BootClockFROHF96M configuration
\r
102 ******************************************************************************/
\r
103 #if defined(__cplusplus)
\r
105 #endif /* __cplusplus*/
\r
108 * @brief This function executes configuration of clocks.
\r
111 void BOARD_BootClockFROHF96M(void);
\r
113 #if defined(__cplusplus)
\r
115 #endif /* __cplusplus*/
\r
117 /*******************************************************************************
\r
118 ******************** Configuration BOARD_BootClockPLL180M *********************
\r
119 ******************************************************************************/
\r
120 /*******************************************************************************
\r
121 * Definitions for BOARD_BootClockPLL180M configuration
\r
122 ******************************************************************************/
\r
123 #define BOARD_BOOTCLOCKPLL180M_CORE_CLOCK 180000000U /*!< Core clock frequency:180000000Hz */
\r
125 /*******************************************************************************
\r
126 * API for BOARD_BootClockPLL180M configuration
\r
127 ******************************************************************************/
\r
128 #if defined(__cplusplus)
\r
130 #endif /* __cplusplus*/
\r
133 * @brief This function executes configuration of clocks.
\r
136 void BOARD_BootClockPLL180M(void);
\r
138 #if defined(__cplusplus)
\r
140 #endif /* __cplusplus*/
\r
142 #endif /* _CLOCK_CONFIG_H_ */
\r