NANO102/112 BSP
V3.03.003
The Board Support Package for Nano102/112 Series
Device
Nuvoton
Nano1X2Series
Include
system_Nano1X2Series.h
Go to the documentation of this file.
1
/**************************************************************************/
14
#ifndef __SYSTEM_NANO1X2SERIES_H__
15
#define __SYSTEM_NANO1X2SERIES_H__
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
22
/*----------------------------------------------------------------------------
23
Define SYSCLK
24
*----------------------------------------------------------------------------*/
25
26
#define __HXT (12000000UL)
27
#define __LXT (32768UL)
28
#define __HIRC12M (12000000UL)
29
#define __HIRC16M (16000000UL)
30
#define __LIRC (10000UL)
31
#define __HIRC __HIRC12M
32
#define __HSI (__HIRC12M)
/* Factory Default is internal 12MHz */
33
34
35
extern
uint32_t
SystemCoreClock
;
36
extern
uint32_t
CyclesPerUs
;
48
extern
void
SystemCoreClockUpdate
(
void
);
49
extern
uint32_t
SysGet_PLLClockFreq
(
void
);
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
//__SYSTEM_NANO1X2SERIES_H__
56
57
58
/*** (C) COPYRIGHT 2013 Nuvoton Technology Corp. ***/
CyclesPerUs
uint32_t CyclesPerUs
Definition:
system_Nano1X2Series.c:21
SystemCoreClock
uint32_t SystemCoreClock
Definition:
system_Nano1X2Series.c:20
SysGet_PLLClockFreq
uint32_t SysGet_PLLClockFreq(void)
Calculate current PLL clock frequency.
Definition:
system_Nano1X2Series.c:28
SystemCoreClockUpdate
void SystemCoreClockUpdate(void)
Updates the SystemCoreClock with current core Clock retrieved from CPU registers.
Definition:
system_Nano1X2Series.c:106
Generated on Wed Mar 8 2023 11:33:51 for NANO102/112 BSP by
1.9.3