aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/clock_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/clock_config.h')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/clock_config.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/clock_config.h b/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/clock_config.h
new file mode 100644
index 000000000..090d0f703
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/boards/evkmcimx7ulp/clock_config.h
@@ -0,0 +1,37 @@
1/*
2 * Copyright (c) 2016, Freescale Semiconductor, Inc.
3 * Copyright 2016-2017 NXP
4 * All rights reserved.
5 *
6 * SPDX-License-Identifier: BSD-3-Clause
7 */
8#ifndef _CLOCK_CONFIG_H_
9#define _CLOCK_CONFIG_H_
10
11#include "fsl_common.h"
12
13/*******************************************************************************
14 * DEFINITION
15 ******************************************************************************/
16#define BOARD_XTAL0_CLK_HZ 24000000U
17#define BOARD_XTAL32K_CLK_HZ 32768U
18
19typedef void (*BOARD_SetRunModeFunc)(
20 SCG_Type *scg, uint32_t scgRunConfig, QuadSPI_Type *qspi, clock_ip_name_t qspiClock, uint32_t qspiClockConfig);
21
22/*******************************************************************************
23 * API
24 ******************************************************************************/
25#if defined(__cplusplus)
26extern "C" {
27#endif /* __cplusplus*/
28
29void BOARD_BootClockVLPR(void);
30void BOARD_BootClockRUN(void);
31void BOARD_BootClockHSRUN(void);
32
33#if defined(__cplusplus)
34}
35#endif /* __cplusplus*/
36
37#endif /* _CLOCK_CONFIG_H_ */