33 uint32_t u32CoreFreq, u32ClkSrc;
39 else if (u32ClkSrc == 3)
41 else if (u32ClkSrc == 7)
63 void AssertError(uint8_t * file, uint32_t line)
66 printf(
"[%s] line %d : wrong parameters.\r\n", file, line);
#define CLK_CLKSEL0_HCLK_S_Msk
Mini51 series peripheral access layer header file. This file contains all the peripheral register's d...
#define CLK_CLKDIV_HCLK_N_Msk
#define CLK
Pointer to CLK register structure.
void SystemCoreClockUpdate(void)
This function is used to update the variable SystemCoreClock and must be called whenever the core clo...