aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/clock_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/clock_config.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/clock_config.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/clock_config.h
new file mode 100644
index 000000000..278971b9d
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/project_template/clock_config.h
@@ -0,0 +1,36 @@
1/*
2 * Copyright (c) 2016, Freescale Semiconductor, Inc.
3 * Copyright 2016-2017 NXP
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7#ifndef _CLOCK_CONFIG_H_
8#define _CLOCK_CONFIG_H_
9
10/*******************************************************************************
11 * DEFINITION
12 ******************************************************************************/
13#define BOARD_XTAL0_CLK_HZ 24000000U
14#define BOARD_XTAL32K_CLK_HZ 32768U
15
16/*******************************************************************************
17 * API
18 ******************************************************************************/
19#if defined(__cplusplus)
20extern "C" {
21#endif /* __cplusplus*/
22/*!
23 * @brief This function executes default configuration of clocks.
24 *
25 */
26void BOARD_InitBootClocks(void);
27
28void BOARD_BootClockVLPR(void);
29void BOARD_BootClockRUN(void);
30void BOARD_BootClockHSRUN(void);
31
32#if defined(__cplusplus)
33}
34#endif /* __cplusplus*/
35
36#endif /* _CLOCK_CONFIG_H_ */