aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/frdmk28fa/clock_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/frdmk28fa/clock_config.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/frdmk28fa/clock_config.h146
1 files changed, 146 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/frdmk28fa/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/boards/frdmk28fa/clock_config.h
new file mode 100644
index 000000000..f9e7087b0
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/frdmk28fa/clock_config.h
@@ -0,0 +1,146 @@
1/*
2 * Copyright (c) 2015, Freescale Semiconductor, Inc.
3 * Copyright 2016-2017,2019 NXP
4 * All rights reserved.
5 *
6 * SPDX-License-Identifier: BSD-3-Clause
7 */
8/***********************************************************************************************************************
9 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
10 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
11 **********************************************************************************************************************/
12
13#ifndef _CLOCK_CONFIG_H_
14#define _CLOCK_CONFIG_H_
15
16#include "fsl_common.h"
17
18/*******************************************************************************
19 * Definitions
20 ******************************************************************************/
21#define BOARD_XTAL0_CLK_HZ 12000000U /*!< Board xtal0 frequency in Hz */
22
23/*******************************************************************************
24 ************************ BOARD_InitBootClocks function ************************
25 ******************************************************************************/
26
27#if defined(__cplusplus)
28extern "C" {
29#endif /* __cplusplus*/
30
31/*!
32 * @brief This function executes default configuration of clocks.
33 *
34 */
35void BOARD_InitBootClocks(void);
36
37#if defined(__cplusplus)
38}
39#endif /* __cplusplus*/
40
41/*******************************************************************************
42 ********************** Configuration BOARD_BootClockRUN ***********************
43 ******************************************************************************/
44/*******************************************************************************
45 * Definitions for BOARD_BootClockRUN configuration
46 ******************************************************************************/
47#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 120000000U /*!< Core clock frequency: 120000000Hz */
48
49/*! @brief MCG set for BOARD_BootClockRUN configuration.
50 */
51extern const mcg_config_t mcgConfig_BOARD_BootClockRUN;
52/*! @brief SIM module set for BOARD_BootClockRUN configuration.
53 */
54extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
55/*! @brief OSC set for BOARD_BootClockRUN configuration.
56 */
57extern const osc_config_t oscConfig_BOARD_BootClockRUN;
58
59/*******************************************************************************
60 * API for BOARD_BootClockRUN configuration
61 ******************************************************************************/
62#if defined(__cplusplus)
63extern "C" {
64#endif /* __cplusplus*/
65
66/*!
67 * @brief This function executes configuration of clocks.
68 *
69 */
70void BOARD_BootClockRUN(void);
71
72#if defined(__cplusplus)
73}
74#endif /* __cplusplus*/
75
76/*******************************************************************************
77 ********************* Configuration BOARD_BootClockVLPR ***********************
78 ******************************************************************************/
79/*******************************************************************************
80 * Definitions for BOARD_BootClockVLPR configuration
81 ******************************************************************************/
82#define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */
83
84/*! @brief MCG set for BOARD_BootClockVLPR configuration.
85 */
86extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR;
87/*! @brief SIM module set for BOARD_BootClockVLPR configuration.
88 */
89extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
90/*! @brief OSC set for BOARD_BootClockVLPR configuration.
91 */
92extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
93
94/*******************************************************************************
95 * API for BOARD_BootClockVLPR configuration
96 ******************************************************************************/
97#if defined(__cplusplus)
98extern "C" {
99#endif /* __cplusplus*/
100
101/*!
102 * @brief This function executes configuration of clocks.
103 *
104 */
105void BOARD_BootClockVLPR(void);
106
107#if defined(__cplusplus)
108}
109#endif /* __cplusplus*/
110
111/*******************************************************************************
112 ********************* Configuration BOARD_BootClockHSRUN **********************
113 ******************************************************************************/
114/*******************************************************************************
115 * Definitions for BOARD_BootClockHSRUN configuration
116 ******************************************************************************/
117#define BOARD_BOOTCLOCKHSRUN_CORE_CLOCK 150000000U /*!< Core clock frequency: 150000000Hz */
118
119/*! @brief MCG set for BOARD_BootClockHSRUN configuration.
120 */
121extern const mcg_config_t mcgConfig_BOARD_BootClockHSRUN;
122/*! @brief SIM module set for BOARD_BootClockHSRUN configuration.
123 */
124extern const sim_clock_config_t simConfig_BOARD_BootClockHSRUN;
125/*! @brief OSC set for BOARD_BootClockHSRUN configuration.
126 */
127extern const osc_config_t oscConfig_BOARD_BootClockHSRUN;
128
129/*******************************************************************************
130 * API for BOARD_BootClockHSRUN configuration
131 ******************************************************************************/
132#if defined(__cplusplus)
133extern "C" {
134#endif /* __cplusplus*/
135
136/*!
137 * @brief This function executes configuration of clocks.
138 *
139 */
140void BOARD_BootClockHSRUN(void);
141
142#if defined(__cplusplus)
143}
144#endif /* __cplusplus*/
145
146#endif /* _CLOCK_CONFIG_H_ */