31 uint32_t u32Freq, u32ClkSrc;
80 if((
SYS->PDID >> 12) == 0x945)
85 CLK->PWRCTL &= ~CLK_PWRCTL_HXTSELTYP_Msk;
90 extern void SYS_Init();
91 extern void EBI_Init();
100#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
101 SCB->CPACR |= ((3UL << 10 * 2) |
NuMicro peripheral access layer header file.
#define CLK_CLKSEL0_HCLKSEL_PLL
__STATIC_INLINE uint32_t CLK_GetPLLClockFreq(void)
Get PLL clock frequency.
#define CLK_CLKDIV0_HCLKDIV_Msk
#define CLK_CLKSEL0_HCLKSEL_Msk
__STATIC_INLINE void SYS_LockReg(void)
Enable register write-protection function.
__STATIC_INLINE void SYS_UnlockReg(void)
Disable register write-protection function.
uint32_t gau32ClkSrcTbl[]
void SystemInit(void)
Setup the microcontroller system. Initialize the System.
void SystemCoreClockUpdate(void)
Updates the SystemCoreClock with current core Clock retrieved from cpu registers.