diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT633S/project_template/clock_config.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT633S/project_template/clock_config.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT633S/project_template/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT633S/project_template/clock_config.h new file mode 100644 index 000000000..16a15cb49 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/devices/MIMXRT633S/project_template/clock_config.h | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * Copyright 2019 NXP | ||
3 | * | ||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||
5 | */ | ||
6 | |||
7 | /*********************************************************************************************************************** | ||
8 | * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file | ||
9 | * will be overwritten if the respective MCUXpresso Config Tools is used to update this file. | ||
10 | **********************************************************************************************************************/ | ||
11 | |||
12 | #ifndef _CLOCK_CONFIG_H_ | ||
13 | #define _CLOCK_CONFIG_H_ | ||
14 | |||
15 | #include "fsl_common.h" | ||
16 | |||
17 | /******************************************************************************* | ||
18 | * Definitions | ||
19 | ******************************************************************************/ | ||
20 | #define BOARD_SYSOSC_SETTLING_US 260U /*!< Board System oscillator settling time in us */ | ||
21 | #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32K frequency in Hz */ | ||
22 | #define BOARD_XTAL_SYS_CLK_HZ 24000000U /*!< Board xtal frequency in Hz */ | ||
23 | |||
24 | /******************************************************************************* | ||
25 | ************************ BOARD_InitBootClocks function ************************ | ||
26 | ******************************************************************************/ | ||
27 | |||
28 | #if defined(__cplusplus) | ||
29 | extern "C" { | ||
30 | #endif /* __cplusplus*/ | ||
31 | |||
32 | /*! | ||
33 | * @brief This function executes default configuration of clocks. | ||
34 | * | ||
35 | */ | ||
36 | void BOARD_InitBootClocks(void); | ||
37 | |||
38 | #if defined(__cplusplus) | ||
39 | } | ||
40 | #endif /* __cplusplus*/ | ||
41 | |||
42 | /******************************************************************************* | ||
43 | ********************** Configuration BOARD_BootClockRUN *********************** | ||
44 | ******************************************************************************/ | ||
45 | /******************************************************************************* | ||
46 | * Definitions for BOARD_BootClockRUN configuration | ||
47 | ******************************************************************************/ | ||
48 | #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 250105263U /*!< Core clock frequency: 250105263Hz */ | ||
49 | |||
50 | /******************************************************************************* | ||
51 | * API for BOARD_BootClockRUN configuration | ||
52 | ******************************************************************************/ | ||
53 | #if defined(__cplusplus) | ||
54 | extern "C" { | ||
55 | #endif /* __cplusplus*/ | ||
56 | |||
57 | /*! | ||
58 | * @brief This function executes configuration of clocks. | ||
59 | * | ||
60 | */ | ||
61 | void BOARD_BootClockRUN(void); | ||
62 | |||
63 | #if defined(__cplusplus) | ||
64 | } | ||
65 | #endif /* __cplusplus*/ | ||
66 | |||
67 | #endif /* _CLOCK_CONFIG_H_ */ | ||