RTEMS 6.1-rc6
Loading...
Searching...
No Matches
fsl_clock_config.h
1/*
2 * Copyright 2017-2019 NXP
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
8#ifndef _CLOCK_CONFIG_H_
9#define _CLOCK_CONFIG_H_
10
11#include <bspopts.h>
12#include "fsl_common.h"
13
14/*******************************************************************************
15 * Definitions
16 ******************************************************************************/
17#define BOARD_XTAL0_CLK_HZ 24000000U
19#define BOARD_XTAL32K_CLK_HZ 32768U
20/*******************************************************************************
21 ************************ BOARD_InitBootClocks function ************************
22 ******************************************************************************/
23
24#if defined(__cplusplus)
25extern "C" {
26#endif /* __cplusplus*/
27
32void BOARD_InitBootClocks(void);
33
34#if defined(__cplusplus)
35}
36#endif /* __cplusplus*/
37
38#if IMXRT_IS_MIMXRT10xx
41extern const clock_arm_pll_config_t armPllConfig_BOARD_BootClockRUN;
44extern const clock_usb_pll_config_t usb1PllConfig_BOARD_BootClockRUN;
47extern const clock_sys_pll_config_t sysPllConfig_BOARD_BootClockRUN;
48#endif
49
50/*******************************************************************************
51 * API for BOARD_BootClockRUN configuration
52 ******************************************************************************/
53#if defined(__cplusplus)
54extern "C" {
55#endif /* __cplusplus*/
56
61void BOARD_BootClockRUN(void);
62
63#if defined(__cplusplus)
64}
65#endif /* __cplusplus*/
66
67#endif /* _CLOCK_CONFIG_H_ */
PLL configuration for ARM.
Definition: fsl_clock.h:1194
PLL configuration for System.
Definition: fsl_clock.h:1211
PLL configuration for USB.
Definition: fsl_clock.h:1201