mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 21:41:09 +00:00
171 lines
6.1 KiB
C
171 lines
6.1 KiB
C
/*
|
|
* Copyright 2023 NXP
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/***********************************************************************************************************************
|
|
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
|
|
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
|
|
**********************************************************************************************************************/
|
|
|
|
#ifndef _CLOCK_CONFIG_H_
|
|
#define _CLOCK_CONFIG_H_
|
|
|
|
#include "fsl_common.h"
|
|
|
|
/*******************************************************************************
|
|
* Definitions
|
|
******************************************************************************/
|
|
|
|
/*******************************************************************************
|
|
************************ BOARD_InitBootClocks function ************************
|
|
******************************************************************************/
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif /* __cplusplus*/
|
|
|
|
/*!
|
|
* @brief This function executes default configuration of clocks.
|
|
*
|
|
*/
|
|
void BOARD_InitBootClocks(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif /* __cplusplus*/
|
|
|
|
/*******************************************************************************
|
|
******************** Configuration BOARD_BootClockFRO12M **********************
|
|
******************************************************************************/
|
|
/*******************************************************************************
|
|
* Definitions for BOARD_BootClockFRO12M configuration
|
|
******************************************************************************/
|
|
#define BOARD_BOOTCLOCKFRO12M_CORE_CLOCK 12000000U /*!< Core clock frequency: 12000000Hz */
|
|
|
|
|
|
/*******************************************************************************
|
|
* API for BOARD_BootClockFRO12M configuration
|
|
******************************************************************************/
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif /* __cplusplus*/
|
|
|
|
/*!
|
|
* @brief This function executes configuration of clocks.
|
|
*
|
|
*/
|
|
void BOARD_BootClockFRO12M(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif /* __cplusplus*/
|
|
|
|
/*******************************************************************************
|
|
******************** Configuration BOARD_BootClockFRO24M **********************
|
|
******************************************************************************/
|
|
/*******************************************************************************
|
|
* Definitions for BOARD_BootClockFRO24M configuration
|
|
******************************************************************************/
|
|
#define BOARD_BOOTCLOCKFRO24M_CORE_CLOCK 24000000U /*!< Core clock frequency: 24000000Hz */
|
|
|
|
|
|
/*******************************************************************************
|
|
* API for BOARD_BootClockFRO24M configuration
|
|
******************************************************************************/
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif /* __cplusplus*/
|
|
|
|
/*!
|
|
* @brief This function executes configuration of clocks.
|
|
*
|
|
*/
|
|
void BOARD_BootClockFRO24M(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif /* __cplusplus*/
|
|
|
|
/*******************************************************************************
|
|
******************** Configuration BOARD_BootClockFRO48M **********************
|
|
******************************************************************************/
|
|
/*******************************************************************************
|
|
* Definitions for BOARD_BootClockFRO48M configuration
|
|
******************************************************************************/
|
|
#define BOARD_BOOTCLOCKFRO48M_CORE_CLOCK 48000000U /*!< Core clock frequency: 48000000Hz */
|
|
|
|
|
|
/*******************************************************************************
|
|
* API for BOARD_BootClockFRO48M configuration
|
|
******************************************************************************/
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif /* __cplusplus*/
|
|
|
|
/*!
|
|
* @brief This function executes configuration of clocks.
|
|
*
|
|
*/
|
|
void BOARD_BootClockFRO48M(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif /* __cplusplus*/
|
|
|
|
/*******************************************************************************
|
|
******************** Configuration BOARD_BootClockFRO64M **********************
|
|
******************************************************************************/
|
|
/*******************************************************************************
|
|
* Definitions for BOARD_BootClockFRO64M configuration
|
|
******************************************************************************/
|
|
#define BOARD_BOOTCLOCKFRO64M_CORE_CLOCK 64000000U /*!< Core clock frequency: 64000000Hz */
|
|
|
|
|
|
/*******************************************************************************
|
|
* API for BOARD_BootClockFRO64M configuration
|
|
******************************************************************************/
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif /* __cplusplus*/
|
|
|
|
/*!
|
|
* @brief This function executes configuration of clocks.
|
|
*
|
|
*/
|
|
void BOARD_BootClockFRO64M(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif /* __cplusplus*/
|
|
|
|
/*******************************************************************************
|
|
******************** Configuration BOARD_BootClockFRO96M **********************
|
|
******************************************************************************/
|
|
/*******************************************************************************
|
|
* Definitions for BOARD_BootClockFRO96M configuration
|
|
******************************************************************************/
|
|
#define BOARD_BOOTCLOCKFRO96M_CORE_CLOCK 96000000U /*!< Core clock frequency: 96000000Hz */
|
|
|
|
|
|
/*******************************************************************************
|
|
* API for BOARD_BootClockFRO96M configuration
|
|
******************************************************************************/
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|
|
#endif /* __cplusplus*/
|
|
|
|
/*!
|
|
* @brief This function executes configuration of clocks.
|
|
*
|
|
*/
|
|
void BOARD_BootClockFRO96M(void);
|
|
|
|
#if defined(__cplusplus)
|
|
}
|
|
#endif /* __cplusplus*/
|
|
|
|
#endif /* _CLOCK_CONFIG_H_ */
|