diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/project_template/clock_config.h |
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/project_template/clock_config.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/project_template/clock_config.h | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/project_template/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/project_template/clock_config.h new file mode 100644 index 000000000..5a8461370 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/devices/K32L3A60/project_template/clock_config.h | |||
@@ -0,0 +1,79 @@ | |||
1 | /* | ||
2 | * Copyright 2019 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) | ||
27 | extern "C" { | ||
28 | #endif /* __cplusplus*/ | ||
29 | |||
30 | /*! | ||
31 | * @brief This function executes default configuration of clocks. | ||
32 | * | ||
33 | */ | ||
34 | void 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 48000000U /*!< Core clock frequency: 48000000Hz */ | ||
47 | |||
48 | /*! @brief SCG set for BOARD_BootClockRUN configuration. | ||
49 | */ | ||
50 | extern const scg_sys_clk_config_t g_sysClkConfig_BOARD_BootClockRUN; | ||
51 | /*! @brief SIRC set for BOARD_BootClockRUN configuration. | ||
52 | */ | ||
53 | extern const scg_sirc_config_t g_scgSircConfig_BOARD_BootClockRUN; | ||
54 | /*! @brief FIRC set for BOARD_BootClockRUN configuration. | ||
55 | */ | ||
56 | extern const scg_firc_config_t g_scgFircConfigBOARD_BootClockRUN; | ||
57 | /*! @brief Low Power FLL set for BOARD_BootClockRUN configuration. | ||
58 | */ | ||
59 | extern const scg_lpfll_config_t g_scgLpFllConfigBOARD_BootClockRUN; | ||
60 | |||
61 | /******************************************************************************* | ||
62 | * API for BOARD_BootClockRUN configuration | ||
63 | ******************************************************************************/ | ||
64 | #if defined(__cplusplus) | ||
65 | extern "C" { | ||
66 | #endif /* __cplusplus*/ | ||
67 | |||
68 | /*! | ||
69 | * @brief This function executes configuration of clocks. | ||
70 | * | ||
71 | */ | ||
72 | void BOARD_BootClockRUN(void); | ||
73 | |||
74 | #if defined(__cplusplus) | ||
75 | } | ||
76 | #endif /* __cplusplus*/ | ||
77 | |||
78 | #endif /* _CLOCK_CONFIG_H_ */ | ||
79 | |||