35 uint32_t u32Freq, u32ClkSrc;
84 if((
SYS->PDID >> 12) == 0x945)
89 CLK->PWRCTL &= ~CLK_PWRCTL_HXTSELTYP_Msk;
94 extern void SYS_Init();
95 extern void EBI_Init();
104#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
105 SCB->CPACR |= ((3UL << 10 * 2) |
#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.