aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54114/project_template/clock_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54114/project_template/clock_config.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54114/project_template/clock_config.h117
1 files changed, 117 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54114/project_template/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54114/project_template/clock_config.h
new file mode 100644
index 000000000..55c569705
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso54114/project_template/clock_config.h
@@ -0,0 +1,117 @@
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#define BOARD_XTAL0_CLK_HZ 12000000U /*!< Board xtal0 frequency in Hz */
22#define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32K frequency in Hz */
23
24/*******************************************************************************
25 ************************ BOARD_InitBootClocks function ************************
26 ******************************************************************************/
27
28#if defined(__cplusplus)
29extern "C" {
30#endif /* __cplusplus*/
31
32/*!
33 * @brief This function executes default configuration of clocks.
34 *
35 */
36void BOARD_InitBootClocks(void);
37
38#if defined(__cplusplus)
39}
40#endif /* __cplusplus*/
41
42/*******************************************************************************
43 ********************* Configuration BOARD_BootClockVLPR ***********************
44 ******************************************************************************/
45/*******************************************************************************
46 * Definitions for BOARD_BootClockVLPR configuration
47 ******************************************************************************/
48#define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 12000000U /*!< Core clock frequency: 12000000Hz */
49
50/*******************************************************************************
51 * API for BOARD_BootClockVLPR configuration
52 ******************************************************************************/
53#if defined(__cplusplus)
54extern "C" {
55#endif /* __cplusplus*/
56
57/*!
58 * @brief This function executes configuration of clocks.
59 *
60 */
61void BOARD_BootClockVLPR(void);
62
63#if defined(__cplusplus)
64}
65#endif /* __cplusplus*/
66
67/*******************************************************************************
68 ********************** Configuration BOARD_BootClockRUN ***********************
69 ******************************************************************************/
70/*******************************************************************************
71 * Definitions for BOARD_BootClockRUN configuration
72 ******************************************************************************/
73#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */
74
75/*******************************************************************************
76 * API for BOARD_BootClockRUN configuration
77 ******************************************************************************/
78#if defined(__cplusplus)
79extern "C" {
80#endif /* __cplusplus*/
81
82/*!
83 * @brief This function executes configuration of clocks.
84 *
85 */
86void BOARD_BootClockRUN(void);
87
88#if defined(__cplusplus)
89}
90#endif /* __cplusplus*/
91
92/*******************************************************************************
93 ********************* Configuration BOARD_BootClockHSRUN **********************
94 ******************************************************************************/
95/*******************************************************************************
96 * Definitions for BOARD_BootClockHSRUN configuration
97 ******************************************************************************/
98#define BOARD_BOOTCLOCKHSRUN_CORE_CLOCK 96000000U /*!< Core clock frequency: 96000000Hz */
99
100/*******************************************************************************
101 * API for BOARD_BootClockHSRUN configuration
102 ******************************************************************************/
103#if defined(__cplusplus)
104extern "C" {
105#endif /* __cplusplus*/
106
107/*!
108 * @brief This function executes configuration of clocks.
109 *
110 */
111void BOARD_BootClockHSRUN(void);
112
113#if defined(__cplusplus)
114}
115#endif /* __cplusplus*/
116
117#endif /* _CLOCK_CONFIG_H_ */