Home
last modified time | relevance | path

Searched refs:u32Hclk (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dclk.c309 uint32_t CLK_SetCoreClock(uint32_t u32Hclk) in CLK_SetCoreClock() argument
320 if((u32PLSTATUS == SYS_PLSTS_PLSTATUS_PL0) && (u32Hclk > FREQ_64MHZ)) in CLK_SetCoreClock()
322 u32Hclk = FREQ_64MHZ; in CLK_SetCoreClock()
324 else if((u32PLSTATUS == SYS_PLSTS_PLSTATUS_PL1) && (u32Hclk > FREQ_48MHZ)) in CLK_SetCoreClock()
326 u32Hclk = FREQ_48MHZ; in CLK_SetCoreClock()
328 else if(u32Hclk < FREQ_24MHZ) in CLK_SetCoreClock()
330 u32Hclk = FREQ_24MHZ; in CLK_SetCoreClock()
345 u32Hclk = CLK_EnablePLL(CLK_PLLCTL_PLLSRC_HXT, u32Hclk); in CLK_SetCoreClock()
350 u32Hclk = CLK_EnablePLL(CLK_PLLCTL_PLLSRC_HIRC, u32Hclk); in CLK_SetCoreClock()
369 return u32Hclk; in CLK_SetCoreClock()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dclk.c319 uint32_t CLK_SetCoreClock(uint32_t u32Hclk) in CLK_SetCoreClock() argument
327 if(u32Hclk > FREQ_96MHZ) in CLK_SetCoreClock()
329 u32Hclk = FREQ_96MHZ; in CLK_SetCoreClock()
331 else if(u32Hclk < FREQ_24MHZ) in CLK_SetCoreClock()
333 u32Hclk = FREQ_24MHZ; in CLK_SetCoreClock()
345 u32Hclk = CLK_EnablePLL(CLK_PLLCTL_PLLSRC_HXT, u32Hclk); in CLK_SetCoreClock()
350 u32Hclk = CLK_EnablePLL(CLK_PLLCTL_PLLSRC_HIRC, u32Hclk); in CLK_SetCoreClock()
369 return u32Hclk; in CLK_SetCoreClock()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Di2c.h509 void I2C_SMBusIdleTimeout(I2C_T *i2c, uint32_t u32Us, uint32_t u32Hclk);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Di2c.c555 void I2C_SMBusIdleTimeout(I2C_T *i2c, uint32_t u32Us, uint32_t u32Hclk) in I2C_SMBusIdleTimeout() argument
560 u32HclkKHz = u32Hclk / 1000U; in I2C_SMBusIdleTimeout()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dclk.h819 uint32_t CLK_SetCoreClock(uint32_t u32Hclk);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dclk.h1035 uint32_t CLK_SetCoreClock(uint32_t u32Hclk);