MPyATE_Firmware/board/clock_config.h

79 lines
4.1 KiB
C

/***********************************************************************************************************************
* 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
******************************************************************************/
#define BOARD_XTAL0_CLK_HZ 12000000U /*!< Board xtal0 frequency in Hz */
#define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32K frequency in Hz */
/*******************************************************************************
************************ 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_BootClockRUN ***********************
******************************************************************************/
/*******************************************************************************
* Definitions for BOARD_BootClockRUN configuration
******************************************************************************/
#define BOARD_BOOTCLOCKRUN_CORE_CLOCK 15000000U /*!< Core clock frequency: 15000000Hz */
/* Clock outputs (values are in Hz): */
#define BOARD_BOOTCLOCKRUN_ADC_CLOCK 0UL /* Clock consumers of ADC_clock output : ADC */
#define BOARD_BOOTCLOCKRUN_CAPT_CLOCK 0UL /* Clock consumers of CAPT_clock output : CAPT */
#define BOARD_BOOTCLOCKRUN_CLKOUT_CLOCK 0UL /* Clock consumers of CLKOUT_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_FROHF_CLOCK 30000000UL /* Clock consumers of FROHF_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_I2C0_CLOCK 0UL /* Clock consumers of I2C0_clock output : I2C0 */
#define BOARD_BOOTCLOCKRUN_I2C1_CLOCK 0UL /* Clock consumers of I2C1_clock output : I2C1 */
#define BOARD_BOOTCLOCKRUN_LOWPOWER_CLOCK 1000000UL /* Clock consumers of LowPower_clock output : WKT */
#define BOARD_BOOTCLOCKRUN_PLUCLKIN_CLOCK 0UL /* Clock consumers of PLUCLKIN_clock output : PLU */
#define BOARD_BOOTCLOCKRUN_SPI0_CLOCK 0UL /* Clock consumers of SPI0_clock output : SPI0 */
#define BOARD_BOOTCLOCKRUN_SYSTEM_CLOCK 15000000UL /* Clock consumers of System_clock output : ACOMP, ADC, CAPT, CRC, CTIMER0, DAC0, GPIO, I2C0, I2C1, IOCON, MRT0, PINT, PLU, SPI0, SWM0, USART0, USART1, WKT, WWDT */
#define BOARD_BOOTCLOCKRUN_UART0_CLOCK 0UL /* Clock consumers of UART0_clock output : USART0 */
#define BOARD_BOOTCLOCKRUN_UART1_CLOCK 0UL /* Clock consumers of UART1_clock output : USART1 */
#define BOARD_BOOTCLOCKRUN_WWDT_CLOCK 1000000UL /* Clock consumers of WWDT_clock output : WWDT */
#define BOARD_BOOTCLOCKRUN_DIVTO750K_CLOCK 750000UL /* Clock consumers of divto750k_clock output : WKT */
/*******************************************************************************
* API for BOARD_BootClockRUN configuration
******************************************************************************/
#if defined(__cplusplus)
extern "C" {
#endif /* __cplusplus*/
/*!
* @brief This function executes configuration of clocks.
*
*/
void BOARD_BootClockRUN(void);
#if defined(__cplusplus)
}
#endif /* __cplusplus*/
#endif /* _CLOCK_CONFIG_H_ */