/***********************************************************************************************************************
 * 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   180000000U    /*!< Core clock frequency:180000000Hz */


/* Clock outputs (values are in Hz): */
#define BOARD_BOOTCLOCKRUN_ADC_CLOCK                  0UL            /* Clock consumers of ADC_clock output : ADC0 */
#define BOARD_BOOTCLOCKRUN_ARMTRACE_CLOCK             0UL            /* Clock consumers of ARMTRACE_clock output : SWD */
#define BOARD_BOOTCLOCKRUN_ASYNCAPB_CLOCK             0UL            /* Clock consumers of ASYNCAPB_clock output : CTIMER3, CTIMER4 */
#define BOARD_BOOTCLOCKRUN_AUDPLL_CLOCK               0UL            /* Clock consumers of AUDPLL_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_CLKOUT_CLOCK               0UL            /* Clock consumers of CLKOUT_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_DMIC_CLOCK                 0UL            /* Clock consumers of DMIC_clock output : DMIC0 */
#define BOARD_BOOTCLOCKRUN_EMC_CLOCK                  0UL            /* Clock consumers of EMC_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_FRG_CLOCK                  0UL            /* Clock consumers of FRG_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_FRO12M_CLOCK               12000000UL     /* Clock consumers of FRO12M_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_FROHF_CLOCK                48000000UL     /* Clock consumers of FROHF_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_FXCOM0_CLOCK               12000000UL     /* Clock consumers of FXCOM0_clock output : FLEXCOMM0 */
#define BOARD_BOOTCLOCKRUN_FXCOM1_CLOCK               12000000UL     /* Clock consumers of FXCOM1_clock output : FLEXCOMM1 */
#define BOARD_BOOTCLOCKRUN_FXCOM2_CLOCK               48000000UL     /* Clock consumers of FXCOM2_clock output : FLEXCOMM2 */
#define BOARD_BOOTCLOCKRUN_FXCOM3_CLOCK               0UL            /* Clock consumers of FXCOM3_clock output : FLEXCOMM3 */
#define BOARD_BOOTCLOCKRUN_FXCOM4_CLOCK               0UL            /* Clock consumers of FXCOM4_clock output : FLEXCOMM4 */
#define BOARD_BOOTCLOCKRUN_FXCOM5_CLOCK               0UL            /* Clock consumers of FXCOM5_clock output : FLEXCOMM5 */
#define BOARD_BOOTCLOCKRUN_FXCOM6_CLOCK               0UL            /* Clock consumers of FXCOM6_clock output : FLEXCOMM6 */
#define BOARD_BOOTCLOCKRUN_FXCOM7_CLOCK               0UL            /* Clock consumers of FXCOM7_clock output : FLEXCOMM7 */
#define BOARD_BOOTCLOCKRUN_FXCOM8_CLOCK               0UL            /* Clock consumers of FXCOM8_clock output : FLEXCOMM8 */
#define BOARD_BOOTCLOCKRUN_FXCOM9_CLOCK               0UL            /* Clock consumers of FXCOM9_clock output : FLEXCOMM9 */
#define BOARD_BOOTCLOCKRUN_FXCOMS_CLK32K_CLOCK        0UL            /* Clock consumers of FXCOMs_CLK32K_clock output : FLEXCOMM0, FLEXCOMM1, FLEXCOMM2, FLEXCOMM3, FLEXCOMM4, FLEXCOMM5, FLEXCOMM6, FLEXCOMM7, FLEXCOMM8, FLEXCOMM9 */
#define BOARD_BOOTCLOCKRUN_MAIN_CLOCK                 180000000UL    /* Clock consumers of MAIN_clock output : RIT */
#define BOARD_BOOTCLOCKRUN_MCAN0_CLOCK                60000000UL     /* Clock consumers of MCAN0_clock output : CAN0 */
#define BOARD_BOOTCLOCKRUN_MCAN1_CLOCK                60000000UL     /* Clock consumers of MCAN1_clock output : CAN1 */
#define BOARD_BOOTCLOCKRUN_MASTER_CLOCK               0UL            /* Clock consumers of Master_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_SC0_CLOCK                  0UL            /* Clock consumers of SC0_clock output : SMARTCARD0 */
#define BOARD_BOOTCLOCKRUN_SC1_CLOCK                  0UL            /* Clock consumers of SC1_clock output : SMARTCARD1 */
#define BOARD_BOOTCLOCKRUN_SCT_CLOCK                  0UL            /* Clock consumers of SCT_clock output : SCT0 */
#define BOARD_BOOTCLOCKRUN_SDIO_CLOCK                 0UL            /* Clock consumers of SDIO_clock output : SDIF */
#define BOARD_BOOTCLOCKRUN_SPIFI_CLOCK                0UL            /* Clock consumers of SPIFI_clock output : SPIFI0 */
#define BOARD_BOOTCLOCKRUN_SYSPLL_CLOCK               180000000UL    /* Clock consumers of SYSPLL_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_SYSTICK_CLOCK              0UL            /* Clock consumers of SYSTICK_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_SYSTEM_CLOCK               180000000UL    /* Clock consumers of System_clock output : ADC0, CAN0, CAN1, CTIMER0, CTIMER1, CTIMER2, DMA0, DMIC0, EEPROM, ENET, FLEXCOMM0, FLEXCOMM1, FLEXCOMM2, FLEXCOMM3, FLEXCOMM4, FLEXCOMM5, FLEXCOMM6, FLEXCOMM7, FLEXCOMM8, FLEXCOMM9, GINT0, GINT1, GPIO, INPUTMUX, IOCON, MRT0, NVIC, PINT, RIT, SCT0, SDIF, SMARTCARD0, SMARTCARD1, SPIFI0, SWD, USB0, USBFSH, USBHSD, USBHSH, UTICK0, WWDT */
#define BOARD_BOOTCLOCKRUN_USB0_CLOCK                 0UL            /* Clock consumers of USB0_clock output : USB0, USBFSH */
#define BOARD_BOOTCLOCKRUN_USB1_CLOCK                 0UL            /* Clock consumers of USB1_clock output : USBHSD, USBHSH */
#define BOARD_BOOTCLOCKRUN_USBPLL_CLOCK               0UL            /* Clock consumers of USBPLL_clock output : N/A */
#define BOARD_BOOTCLOCKRUN_WDT_CLOCK                  0UL            /* Clock consumers of WDT_clock output : UTICK0, WWDT */

/*******************************************************************************
 * 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_ */

