clock_config.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. /*******************************************************************************
  12. ************************ BOARD_InitBootClocks function ************************
  13. ******************************************************************************/
  14. #if defined(__cplusplus)
  15. extern "C" {
  16. #endif /* __cplusplus*/
  17. /*!
  18. * @brief This function executes default configuration of clocks.
  19. *
  20. */
  21. void BOARD_InitBootClocks(void);
  22. #if defined(__cplusplus)
  23. }
  24. #endif /* __cplusplus*/
  25. /*******************************************************************************
  26. ********************** Configuration BOARD_BootClockRUN ***********************
  27. ******************************************************************************/
  28. /*******************************************************************************
  29. * Definitions for BOARD_BootClockRUN configuration
  30. ******************************************************************************/
  31. #define BOARD_BOOTCLOCKRUN_CORE_CLOCK 2000000U /*!< Core clock frequency: 2000000Hz */
  32. /*! @brief MCG set for BOARD_BootClockRUN configuration.
  33. */
  34. extern const mcg_config_t mcgConfig_BOARD_BootClockRUN;
  35. /*! @brief SIM module set for BOARD_BootClockRUN configuration.
  36. */
  37. extern const sim_clock_config_t simConfig_BOARD_BootClockRUN;
  38. /*! @brief OSC set for BOARD_BootClockRUN configuration.
  39. */
  40. extern const osc_config_t oscConfig_BOARD_BootClockRUN;
  41. /*******************************************************************************
  42. * API for BOARD_BootClockRUN configuration
  43. ******************************************************************************/
  44. #if defined(__cplusplus)
  45. extern "C" {
  46. #endif /* __cplusplus*/
  47. /*!
  48. * @brief This function executes configuration of clocks.
  49. *
  50. */
  51. void BOARD_BootClockRUN(void);
  52. #if defined(__cplusplus)
  53. }
  54. #endif /* __cplusplus*/
  55. /*******************************************************************************
  56. ********************* Configuration BOARD_BootClockVLPR ***********************
  57. ******************************************************************************/
  58. /*******************************************************************************
  59. * Definitions for BOARD_BootClockVLPR configuration
  60. ******************************************************************************/
  61. #define BOARD_BOOTCLOCKVLPR_CORE_CLOCK 4000000U /*!< Core clock frequency: 4000000Hz */
  62. /*! @brief MCG set for BOARD_BootClockVLPR configuration.
  63. */
  64. extern const mcg_config_t mcgConfig_BOARD_BootClockVLPR;
  65. /*! @brief SIM module set for BOARD_BootClockVLPR configuration.
  66. */
  67. extern const sim_clock_config_t simConfig_BOARD_BootClockVLPR;
  68. /*! @brief OSC set for BOARD_BootClockVLPR configuration.
  69. */
  70. extern const osc_config_t oscConfig_BOARD_BootClockVLPR;
  71. /*******************************************************************************
  72. * API for BOARD_BootClockVLPR configuration
  73. ******************************************************************************/
  74. #if defined(__cplusplus)
  75. extern "C" {
  76. #endif /* __cplusplus*/
  77. /*!
  78. * @brief This function executes configuration of clocks.
  79. *
  80. */
  81. void BOARD_BootClockVLPR(void);
  82. #if defined(__cplusplus)
  83. }
  84. #endif /* __cplusplus*/
  85. #endif /* _CLOCK_CONFIG_H_ */