Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Hobbyking_Cheetah_Compact Hobbyking_Cheetah_Compact_DRV8323_14bit Hobbyking_Cheetah_Compact_DRV8323_V51_201907 HKC_MiniCheetah ... more
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/TARGET_NANO100/device/system_Nano100Series.h
- Revision:
- 174:b96e65c34a4d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/targets/TARGET_NUVOTON/TARGET_NANO100/device/system_Nano100Series.h Mon Oct 02 15:33:19 2017 +0100
@@ -0,0 +1,56 @@
+/**************************************************************************//**
+ * @file system_Nano100Series.h
+ * @version V1.00
+ * $Revision: 2 $
+ * $Date: 14/01/07 7:35p $
+ * @brief Nano100 series system clock definition file
+ *
+ * @note
+ * Copyright (C) 2014 Nuvoton Technology Corp. All rights reserved.
+*****************************************************************************/
+
+
+#ifndef __SYSTEM_NANO100SERIES_H__
+#define __SYSTEM_NANO100SERIES_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/*----------------------------------------------------------------------------
+ Define SYSCLK
+ *----------------------------------------------------------------------------*/
+
+#define __HXT (12000000UL)
+#define __LXT (32768UL)
+#define __HIRC12M (12000000UL)
+#define __LIRC (10000UL)
+#define __HIRC __HIRC12M
+#define __HSI (__HIRC12M) /* Factory Default is internal 12MHz */
+
+
+extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
+extern uint32_t CyclesPerUs; /*!< Cycles per micro second */
+
+/**
+ * Update SystemCoreClock variable
+ *
+ * @param None
+ * @return None
+ *
+ * @brief Updates the SystemCoreClock with current core Clock
+ * retrieved from CPU registers.
+ */
+
+extern void SystemCoreClockUpdate (void);
+extern uint32_t SysGet_PLLClockFreq(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //__SYSTEM_NANO100SERIES_H__
+
+
+/*** (C) COPYRIGHT 2014 Nuvoton Technology Corp. ***/
