33 uint32_t u32CoreFreq, u32ClkSrc;
35 u32ClkSrc =
CLK->CLKSEL0 & CLK_CLKSEL0_HCLK_S_Msk;
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);
NUC029FAE peripheral access layer header file. This file contains all the peripheral register's defin...
void SystemCoreClockUpdate(void)
This function is used to update the variable SystemCoreClock and must be called whenever the core clo...
#define CLK
Pointer to CLK register structure.