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