diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/frdmke02z40m/project_template/clock_config.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/boards/frdmke02z40m/project_template/clock_config.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/frdmke02z40m/project_template/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/boards/frdmke02z40m/project_template/clock_config.h new file mode 100644 index 000000000..82c558133 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/boards/frdmke02z40m/project_template/clock_config.h | |||
@@ -0,0 +1,76 @@ | |||
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 10000000U /*!< Board xtal0 frequency in Hz */ | ||
22 | |||
23 | /******************************************************************************* | ||
24 | ************************ BOARD_InitBootClocks function ************************ | ||
25 | ******************************************************************************/ | ||
26 | |||
27 | #if defined(__cplusplus) | ||
28 | extern "C" { | ||
29 | #endif /* __cplusplus*/ | ||
30 | |||
31 | /*! | ||
32 | * @brief This function executes default configuration of clocks. | ||
33 | * | ||
34 | */ | ||
35 | void 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 40000000U /*!< Core clock frequency: 40000000Hz */ | ||
48 | |||
49 | /*! @brief ICS set for BOARD_BootClockRUN configuration. | ||
50 | */ | ||
51 | extern const ics_config_t icsConfig_BOARD_BootClockRUN; | ||
52 | /*! @brief SIM module set for BOARD_BootClockRUN configuration. | ||
53 | */ | ||
54 | extern const sim_clock_config_t simConfig_BOARD_BootClockRUN; | ||
55 | /*! @brief OSC set for BOARD_BootClockRUN configuration. | ||
56 | */ | ||
57 | extern const osc_config_t oscConfig_BOARD_BootClockRUN; | ||
58 | |||
59 | /******************************************************************************* | ||
60 | * API for BOARD_BootClockRUN configuration | ||
61 | ******************************************************************************/ | ||
62 | #if defined(__cplusplus) | ||
63 | extern "C" { | ||
64 | #endif /* __cplusplus*/ | ||
65 | |||
66 | /*! | ||
67 | * @brief This function executes configuration of clocks. | ||
68 | * | ||
69 | */ | ||
70 | void BOARD_BootClockRUN(void); | ||
71 | |||
72 | #if defined(__cplusplus) | ||
73 | } | ||
74 | #endif /* __cplusplus*/ | ||
75 | |||
76 | #endif /* _CLOCK_CONFIG_H_ */ | ||