Home
last modified time | relevance | path

Searched refs:u32HclkSrc (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dclk.c210 uint32_t u32Freq, u32HclkSrc, u32HclkDiv; in CLK_GetCPUFreq() local
254 u32HclkSrc = CLK->CLKSEL0 & CLK_CLKSEL0_HCLKSEL_Msk; in CLK_GetCPUFreq()
256 if(u32HclkSrc == CLK_CLKSEL0_HCLKSEL_LXT) in CLK_GetCPUFreq()
279 else if(u32HclkSrc == CLK_CLKSEL0_HCLKSEL_PLL) in CLK_GetCPUFreq()
285 u32Freq = au32ClkTbl[u32HclkSrc]; /* Use the clock sources directly */ in CLK_GetCPUFreq()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dclk.c220 uint32_t u32Freq, u32HclkSrc, u32HclkDiv; in CLK_GetCPUFreq() local
264 u32HclkSrc = CLK->CLKSEL0 & CLK_CLKSEL0_HCLKSEL_Msk; in CLK_GetCPUFreq()
266 if(u32HclkSrc == CLK_CLKSEL0_HCLKSEL_LXT) in CLK_GetCPUFreq()
289 else if(u32HclkSrc == CLK_CLKSEL0_HCLKSEL_PLL) in CLK_GetCPUFreq()
295 u32Freq = au32ClkTbl[u32HclkSrc]; /* Use the clock sources directly */ in CLK_GetCPUFreq()