mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/TARGET_NUC472/device/system_NUC472_442.h
- Revision:
- 153:9398a535854b
- Parent:
- 152:9a67f0b066fc
diff -r 9a67f0b066fc -r 9398a535854b targets/TARGET_NUVOTON/TARGET_NUC472/device/system_NUC472_442.h --- a/targets/TARGET_NUVOTON/TARGET_NUC472/device/system_NUC472_442.h Thu Dec 15 11:48:27 2016 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,60 +0,0 @@ -/**************************************************************************//** - * @file system_NUC472_442.h - * @version V1.00 - * $Revision: 5 $ - * $Date: 14/05/29 1:13p $ - * @brief NUC472/NUC442 system clock definition file - * - * @note - * Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved. - *****************************************************************************/ -#ifndef __SYSTEM_NUC472_442_H__ -#define __SYSTEM_NUC472_442_H__ - -#ifdef __cplusplus -extern "C" { -#endif - -#include <stdint.h> - - -/*---------------------------------------------------------------------------- - Define clocks - *----------------------------------------------------------------------------*/ -#define __HXT (12000000UL) /*!< High Speed External Crystal Clock Frequency 12MHz */ -#define __LXT (32768UL) /*!< Low Speed External Crystal Clock Frequency 32.768kHz */ -#define __HIRC (22118400UL) /*!< High Speed Internal 22MHz RC Oscillator Frequency */ -#define __LIRC (10000UL) /*!< Low Speed Internal 10kHz RC Oscillator Frequency */ -#define __HSI (__HIRC) /* Factory Default is internal 12MHz */ - - -extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ -extern uint32_t CyclesPerUs; /*!< Cycles per micro second */ -extern uint32_t PllClock; /*!< PLL Output Clock Frequency */ - - -/** - * Initialize the system - * - * @return none - * - * @brief Setup the microcontroller system. - */ -extern void SystemInit (void); - -/** - * Update SystemCoreClock variable - * - * @return none - * - * @brief Updates the SystemCoreClock with current core Clock - * retrieved from CPU registers. - */ -extern void SystemCoreClockUpdate (void); - -#ifdef __cplusplus -} -#endif - -#endif /* __SYSTEM_NUC472_442_H__ */ -/*** (C) COPYRIGHT 2013 Nuvoton Technology Corp. ***/