system_NUC1xx.c 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*---------------------------------------------------------------------------------------------------------*/
  2. /* */
  3. /* Copyright(c) 2009 Nuvoton Technology Corp. All rights reserved. */
  4. /* */
  5. /*---------------------------------------------------------------------------------------------------------*/
  6. #include <stdint.h>
  7. #include "NUC1xx.h"
  8. /*----------------------------------------------------------------------------
  9. Define SYSCLK
  10. *----------------------------------------------------------------------------*/
  11. #define __HSI (50000000UL)
  12. /*----------------------------------------------------------------------------
  13. Clock Definitions
  14. *----------------------------------------------------------------------------*/
  15. uint32_t SystemFrequency = __HSI; /*!< System Clock Frequency (Core Clock) */
  16. /*---------------------------------------------------------------------------------------------------------*/
  17. /* Function: SystemInit */
  18. /* */
  19. /* Parameters: */
  20. /* None */
  21. /* */
  22. /* Returns: */
  23. /* None */
  24. /* */
  25. /* Description: */
  26. /* The necessary initializaiton of systerm. */
  27. /* */
  28. /*---------------------------------------------------------------------------------------------------------*/
  29. void SystemInit (void)
  30. {
  31. }