clock_config.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /***********************************************************************************************************************
  2. * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
  3. * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
  4. **********************************************************************************************************************/
  5. #ifndef _CLOCK_CONFIG_H_
  6. #define _CLOCK_CONFIG_H_
  7. #include "fsl_common.h"
  8. /*******************************************************************************
  9. * Definitions
  10. ******************************************************************************/
  11. #define BOARD_XTAL0_CLK_HZ 7370000U /*!< Board xtal0 frequency in Hz */
  12. /*******************************************************************************
  13. ************************ BOARD_InitBootClocks function ************************
  14. ******************************************************************************/
  15. #if defined(__cplusplus)
  16. extern "C" {
  17. #endif /* __cplusplus*/
  18. /*!
  19. * @brief This function executes default configuration of clocks.
  20. *
  21. */
  22. void BOARD_InitBootClocks(void);
  23. #if defined(__cplusplus)
  24. }
  25. #endif /* __cplusplus*/
  26. /*******************************************************************************
  27. ********************** Configuration BOARD_BootClockRUN ***********************
  28. ******************************************************************************/
  29. /*******************************************************************************
  30. * Definitions for BOARD_BootClockRUN configuration
  31. ******************************************************************************/
  32. #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 7370000U /*!< Core clock frequency: 7370000Hz */
  33. /*! @brief MCG set for BOARD_BootClockRUN configuration.
  34. */
  35. extern const mcg_config_t mcgConfig_BOARD_BootClockRUN;
  36. /*! @brief SIM module set for BOARD_BootClockRUN configuration.
  37. */
  38. extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
  39. /*! @brief OSC set for BOARD_BootClockRUN configuration.
  40. */
  41. extern const osc_config_t oscConfig_BOARD_BootClockRUN;
  42. /*******************************************************************************
  43. * API for BOARD_BootClockRUN configuration
  44. ******************************************************************************/
  45. #if defined(__cplusplus)
  46. extern "C" {
  47. #endif /* __cplusplus*/
  48. /*!
  49. * @brief This function executes configuration of clocks.
  50. *
  51. */
  52. void BOARD_BootClockRUN(void);
  53. #if defined(__cplusplus)
  54. }
  55. #endif /* __cplusplus*/
  56. #endif /* _CLOCK_CONFIG_H_ */