45 uint32_t u32CoreFreq, u32ClkSrc;
54 else if (u32ClkSrc ==2)
56 else if (u32ClkSrc == 3)
58 else if (u32ClkSrc == 7)
80void AssertError(uint8_t * file, uint32_t line)
83 printf(
"[%s] line %d : wrong parameters.\r\n", file, line);
Mini58 series peripheral access layer header file. This file contains all the peripheral register's d...
__STATIC_INLINE uint32_t CLK_GetPLLClockFreq(void)
Get PLL clock frequency.
#define CLK_CLKSEL0_HCLKSEL_Msk
#define CLK_CLKDIV_HCLKDIV_Msk
#define CLK
Pointer to CLK register structure.
void SystemInit(void)
Check HIRC clock rate feed to HCLK.
void SystemCoreClockUpdate(void)
This function is used to update the variable SystemCoreClock and must be called whenever the core clo...