Home
last modified time | relevance | path

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

/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Dclk.c171 u32Freq = SystemCoreClock; in CLK_GetPCLK0Freq()
175 u32Freq = SystemCoreClock / 2UL; in CLK_GetPCLK0Freq()
179 u32Freq = SystemCoreClock / 4UL; in CLK_GetPCLK0Freq()
183 u32Freq = SystemCoreClock / 8UL; in CLK_GetPCLK0Freq()
187 u32Freq = SystemCoreClock / 16UL; in CLK_GetPCLK0Freq()
191 u32Freq = SystemCoreClock; in CLK_GetPCLK0Freq()
211 u32Freq = SystemCoreClock; in CLK_GetPCLK1Freq()
215 u32Freq = SystemCoreClock / 2UL; in CLK_GetPCLK1Freq()
219 u32Freq = SystemCoreClock / 4UL; in CLK_GetPCLK1Freq()
223 u32Freq = SystemCoreClock / 8UL; in CLK_GetPCLK1Freq()
[all …]
Dtimer.c95 uint32_t u32Prescale = 0UL, delay = (SystemCoreClock / u32Clk) + 1UL; in TIMER_Delay()
Dspim.c440 for (count = 0UL; count < SystemCoreClock/1000UL; count++) in spim_wait_write_done()
483 return clkDiv ? SystemCoreClock / (clkDiv * 2U) : SystemCoreClock; in SPIM_GetSClkFreq()
Dcan.c325 return (SystemCoreClock / (u32Bpr + 1ul) / (u32Tseg1 + u32Tseg2 + 3ul)); in CAN_GetCANBitRate()
772 clock_freq = SystemCoreClock / u64PCLK_DIV; in CAN_SetBaudRate()
/hal_nuvoton-3.4.0/m48x/Devices/M480/Source/
Dsystem_M480.c21 uint32_t SystemCoreClock = __SYSTEM_CLOCK; /*!< System Clock Frequency (Core Clock)*/ variable
53 SystemCoreClock = u32Freq / u32HclkDiv; in SystemCoreClockUpdate()
59 CyclesPerUs = (SystemCoreClock + 500000UL) / 1000000UL; in SystemCoreClockUpdate()
/hal_nuvoton-3.4.0/m48x/Devices/M480/Include/
Dsystem_M480.h37 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */