clock_config.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 16000000U /*!< Board xtal frequency in Hz */
  12. #define BOARD_XTAL32K_CLK_HZ 32768U /*!< Board xtal32K frequency in Hz */
  13. /*******************************************************************************
  14. ************************ BOARD_InitBootClocks function ************************
  15. ******************************************************************************/
  16. #if defined(__cplusplus)
  17. extern "C" {
  18. #endif /* __cplusplus*/
  19. /*!
  20. * @brief This function executes default configuration of clocks.
  21. *
  22. */
  23. void BOARD_InitBootClocks(void);
  24. #if defined(__cplusplus)
  25. }
  26. #endif /* __cplusplus*/
  27. /*******************************************************************************
  28. ********************** Configuration BOARD_BootClockRUN ***********************
  29. ******************************************************************************/
  30. /*******************************************************************************
  31. * Definitions for BOARD_BootClockRUN configuration
  32. ******************************************************************************/
  33. #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 150000000U /*!< Core clock frequency: 150000000Hz */
  34. /*******************************************************************************
  35. * API for BOARD_BootClockRUN configuration
  36. ******************************************************************************/
  37. #if defined(__cplusplus)
  38. extern "C" {
  39. #endif /* __cplusplus*/
  40. /*!
  41. * @brief This function executes configuration of clocks.
  42. *
  43. */
  44. void BOARD_BootClockRUN(void);
  45. #if defined(__cplusplus)
  46. }
  47. #endif /* __cplusplus*/
  48. #endif /* _CLOCK_CONFIG_H_ */