MINI58_BSP V3.01.005
The Board Support Package for Mini58 Series MCU
system_Mini58Series.h
Go to the documentation of this file.
1/**************************************************************************/
14#ifndef __SYSTEM_MINI58SERIES_H__
15#define __SYSTEM_MINI58SERIES_H__
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21/*---------------------------------------------------------------------------------------------------------*/
22/* Macro Definition */
23/*---------------------------------------------------------------------------------------------------------*/
24
25/*----------------------------------------------------------------------------
26 Define SYSCLK
27 *----------------------------------------------------------------------------*/
28#define __XTAL12M (12000000UL)
29#define __XTAL32K (32768UL)
30#define __IRC10K (10000UL)
31#define __XTAL __XTAL12M
32#define __HXT __XTAL
33#define __HIRC (22118400UL) /* Clock output of Internal high speed RC 22.1184M */
34
35extern uint32_t __HSI;
36extern uint32_t SystemCoreClock;
37extern uint32_t CyclesPerUs;
38extern uint32_t PllClock;
49extern void SystemCoreClockUpdate (void);
50extern void SystemInit (void);
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif //__SYSTEM_MINI58SERIES_H__
57
58
59/*** (C) COPYRIGHT 2015 Nuvoton Technology Corp. ***/
uint32_t __HSI
uint32_t CyclesPerUs
void SystemInit(void)
Check HIRC clock rate feed to HCLK.
uint32_t PllClock
uint32_t SystemCoreClock
void SystemCoreClockUpdate(void)
Updates the SystemCoreClock with current core Clock retrieved from CPU registers.