aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/hvpkv31f120m/project_template/clock_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/hvpkv31f120m/project_template/clock_config.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/hvpkv31f120m/project_template/clock_config.h145
1 files changed, 145 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/hvpkv31f120m/project_template/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/boards/hvpkv31f120m/project_template/clock_config.h
new file mode 100644
index 000000000..8e4cd9b8f
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/hvpkv31f120m/project_template/clock_config.h
@@ -0,0 +1,145 @@
1/*
2 * Copyright 2018 NXP.
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
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
22/*******************************************************************************
23 ************************ BOARD_InitBootClocks function ************************
24 ******************************************************************************/
25
26#if defined(__cplusplus)
27extern "C" {
28#endif /* __cplusplus*/
29
30/*!
31 * @brief This function executes default configuration of clocks.
32 *
33 */
34void BOARD_InitBootClocks(void);
35
36#if defined(__cplusplus)
37}
38#endif /* __cplusplus*/
39
40/*******************************************************************************
41 ********************** Configuration BOARD_BootClockRUN ***********************
42 ******************************************************************************/
43/*******************************************************************************
44 * Definitions for BOARD_BootClockRUN configuration
45 ******************************************************************************/
46#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 62914560U /*!< Core clock frequency: 62914560Hz */
47
48/*! @brief MCG set for BOARD_BootClockRUN configuration.
49 */
50extern const mcg_config_t mcgConfig_BOARD_BootClockRUN;
51/*! @brief SIM module set for BOARD_BootClockRUN configuration.
52 */
53extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
54/*! @brief OSC set for BOARD_BootClockRUN configuration.
55 */
56extern const osc_config_t oscConfig_BOARD_BootClockRUN;
57
58/*******************************************************************************
59 * API for BOARD_BootClockRUN configuration
60 ******************************************************************************/
61#if defined(__cplusplus)
62extern "C" {
63#endif /* __cplusplus*/
64
65/*!
66 * @brief This function executes configuration of clocks.
67 *
68 */
69void BOARD_BootClockRUN(void);
70
71#if defined(__cplusplus)
72}
73#endif /* __cplusplus*/
74
75/*******************************************************************************
76 ********************* Configuration BOARD_BootClockHSRUN **********************
77 ******************************************************************************/
78/*******************************************************************************
79 * Definitions for BOARD_BootClockHSRUN configuration
80 ******************************************************************************/
81#define BOARD_BOOTCLOCKHSRUN_CORE_CLOCK 83886080U /*!< Core clock frequency: 83886080Hz */
82
83/*! @brief MCG set for BOARD_BootClockHSRUN configuration.
84 */
85extern const mcg_config_t mcgConfig_BOARD_BootClockHSRUN;
86/*! @brief SIM module set for BOARD_BootClockHSRUN configuration.
87 */
88extern const sim_clock_config_t simConfig_BOARD_BootClockHSRUN;
89/*! @brief OSC set for BOARD_BootClockHSRUN configuration.
90 */
91extern const osc_config_t oscConfig_BOARD_BootClockHSRUN;
92
93/*******************************************************************************
94 * API for BOARD_BootClockHSRUN configuration
95 ******************************************************************************/
96#if defined(__cplusplus)
97extern "C" {
98#endif /* __cplusplus*/
99
100/*!
101 * @brief This function executes configuration of clocks.
102 *
103 */
104void BOARD_BootClockHSRUN(void);
105
106#if defined(__cplusplus)
107}
108#endif /* __cplusplus*/
109
110/*******************************************************************************
111 ********************* Configuration BOARD_BootClockVLPR ***********************
112 ******************************************************************************/
113/*******************************************************************************
114 * Definitions for BOARD_BootClockVLPR configuration
115 ******************************************************************************/
116#define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */
117
118/*! @brief MCG set for BOARD_BootClockVLPR configuration.
119 */
120extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR;
121/*! @brief SIM module set for BOARD_BootClockVLPR configuration.
122 */
123extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
124/*! @brief OSC set for BOARD_BootClockVLPR configuration.
125 */
126extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
127
128/*******************************************************************************
129 * API for BOARD_BootClockVLPR configuration
130 ******************************************************************************/
131#if defined(__cplusplus)
132extern "C" {
133#endif /* __cplusplus*/
134
135/*!
136 * @brief This function executes configuration of clocks.
137 *
138 */
139void BOARD_BootClockVLPR(void);
140
141#if defined(__cplusplus)
142}
143#endif /* __cplusplus*/
144
145#endif /* _CLOCK_CONFIG_H_ */