Home
last modified time | relevance | path

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

123

/hal_nuvoton-latest/m46x/StdDriver/src/
Dclk.c181 u32Freq = SystemCoreClock; in CLK_GetPCLK0Freq()
185 u32Freq = SystemCoreClock>>1; in CLK_GetPCLK0Freq()
189 u32Freq = SystemCoreClock>>2; in CLK_GetPCLK0Freq()
193 u32Freq = SystemCoreClock>>3; in CLK_GetPCLK0Freq()
197 u32Freq = SystemCoreClock>>4; in CLK_GetPCLK0Freq()
201 u32Freq = SystemCoreClock; in CLK_GetPCLK0Freq()
221 u32Freq = SystemCoreClock; in CLK_GetPCLK1Freq()
225 u32Freq = SystemCoreClock>>1; in CLK_GetPCLK1Freq()
229 u32Freq = SystemCoreClock>>2; in CLK_GetPCLK1Freq()
233 u32Freq = SystemCoreClock>>3; in CLK_GetPCLK1Freq()
[all …]
Dsys.c276 u32TimeOutCnt = SystemCoreClock; /* 1 second time-out */ in SYS_SetPowerLevel()
286 u32TimeOutCnt = SystemCoreClock; /* 1 second time-out */ in SYS_SetPowerLevel()
Dtimer.c146 for(u32Delay = (SystemCoreClock / u32Clk) + 1UL; u32Delay > 0UL; u32Delay--) in TIMER_Delay()
154 u32Delay = (SystemCoreClock / TIMER_GetModuleClock(timer)) * (u32Prescale + 1); in TIMER_Delay()
382 u32Delay = (SystemCoreClock / TIMER_GetModuleClock(timer)) * 3; in TIMER_ResetCounter()
Deadc.c40 uint32_t u32Delay = SystemCoreClock >> 4; in EADC_Open()
94 u32Delay = SystemCoreClock >> 4; in EADC_Open()
Dacmp.c53 for(delay = SystemCoreClock / 0x40000; delay > 0; delay--) {} in ACMP_Open()
/hal_nuvoton-latest/m2l31x/StdDriver/src/
Dclk.c177 u32Freq = SystemCoreClock; in CLK_GetPCLK0Freq()
181 u32Freq = SystemCoreClock / 2UL; in CLK_GetPCLK0Freq()
185 u32Freq = SystemCoreClock / 4UL; in CLK_GetPCLK0Freq()
189 u32Freq = SystemCoreClock / 8UL; in CLK_GetPCLK0Freq()
193 u32Freq = SystemCoreClock / 16UL; in CLK_GetPCLK0Freq()
197 u32Freq = SystemCoreClock; in CLK_GetPCLK0Freq()
217 u32Freq = SystemCoreClock; in CLK_GetPCLK1Freq()
221 u32Freq = SystemCoreClock / 2UL; in CLK_GetPCLK1Freq()
225 u32Freq = SystemCoreClock / 4UL; in CLK_GetPCLK1Freq()
229 u32Freq = SystemCoreClock / 8UL; in CLK_GetPCLK1Freq()
[all …]
Dacmp.c49 uint32_t u32Delay = SystemCoreClock; /* 1 second */ in ACMP_Open()
71 u32Delay = SystemCoreClock; in ACMP_Open()
90 u32Delay = SystemCoreClock; in ACMP_Open()
121 u32Delay = SystemCoreClock; in ACMP_Open()
Dtrng.c43 u32TimeOutCount = SystemCoreClock; in TRNG_Open()
53 u32TimeOutCount = SystemCoreClock; in TRNG_Open()
63 u32TimeOutCount = SystemCoreClock; in TRNG_Open()
88 for(timeout = SystemCoreClock; timeout > 0; timeout--) in TRNG_GenWord()
Dlpi2c.c504 u32TimeOutCount = SystemCoreClock; in LPI2C_WriteByte()
570 u32TimeOutCount = SystemCoreClock; in LPI2C_WriteMultiBytes()
642 u32TimeOutCount = SystemCoreClock; in LPI2C_WriteByteOneReg()
718 u32TimeOutCount = SystemCoreClock; in LPI2C_WriteMultiBytesOneReg()
793 u32TimeOutCount = SystemCoreClock; in LPI2C_WriteByteTwoRegs()
874 u32TimeOutCount = SystemCoreClock; in LPI2C_WriteMultiBytesTwoRegs()
948 u32TimeOutCount = SystemCoreClock; in LPI2C_ReadByte()
1019 u32TimeOutCount = SystemCoreClock; in LPI2C_ReadMultiBytes()
1095 u32TimeOutCount = SystemCoreClock; in LPI2C_ReadByteOneReg()
1181 u32TimeOutCount = SystemCoreClock; in LPI2C_ReadMultiBytesOneReg()
[all …]
Di2c.c747 u32TimeOutCount = SystemCoreClock; in I2C_WriteByte()
813 u32TimeOutCount = SystemCoreClock; in I2C_WriteMultiBytes()
885 u32TimeOutCount = SystemCoreClock; in I2C_WriteByteOneReg()
961 u32TimeOutCount = SystemCoreClock; in I2C_WriteMultiBytesOneReg()
1036 u32TimeOutCount = SystemCoreClock; in I2C_WriteByteTwoRegs()
1117 u32TimeOutCount = SystemCoreClock; in I2C_WriteMultiBytesTwoRegs()
1191 u32TimeOutCount = SystemCoreClock; in I2C_ReadByte()
1262 u32TimeOutCount = SystemCoreClock; in I2C_ReadMultiBytes()
1338 u32TimeOutCount = SystemCoreClock; in I2C_ReadByteOneReg()
1424 u32TimeOutCount = SystemCoreClock; in I2C_ReadMultiBytesOneReg()
[all …]
Dttmr.c147 for(u32Delay = (SystemCoreClock / u32Clk) + 1UL; u32Delay > 0UL; u32Delay--) in TTMR_Delay()
155 u32Delay = (SystemCoreClock / TTMR_GetModuleClock(ttmr)) * (u32Prescale + 1); in TTMR_Delay()
238 u32Delay = (SystemCoreClock / TTMR_GetModuleClock(ttmr)) * 3; in TTMR_ResetCounter()
Dlptmr.c151 for(u32Delay = (SystemCoreClock / u32Clk) + 1UL; u32Delay > 0UL; u32Delay--) in LPTMR_Delay()
159 u32Delay = (SystemCoreClock / LPTMR_GetModuleClock(lptmr)) * (u32Prescale + 1); in LPTMR_Delay()
367 u32Delay = (SystemCoreClock / LPTMR_GetModuleClock(lptmr)) * 3; in LPTMR_ResetCounter()
Dtimer.c150 for(u32Delay = (SystemCoreClock / u32Clk) + 1UL; u32Delay > 0UL; u32Delay--) in TIMER_Delay()
158 u32Delay = (SystemCoreClock / TIMER_GetModuleClock(timer)) * (u32Prescale + 1); in TIMER_Delay()
437 u32Delay = (SystemCoreClock / TIMER_GetModuleClock(timer)) * 3; in TIMER_ResetCounter()
Dlpadc.c49 uint32_t u32Delay = SystemCoreClock; /* 1 second */ in LPADC_Open()
83 u32Delay = SystemCoreClock; in LPADC_Open()
Drng.c144 timeout = SystemCoreClock; in RNG_EntropyPoll()
/hal_nuvoton-latest/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 …]
/hal_nuvoton-latest/m2l31x/Devices/M2L31/Source/
Dsystem_M2L31.c21 uint32_t SystemCoreClock = __HSI; /*!< System Clock Frequency (Core Clock) */ variable
61 SystemCoreClock = u32Freq / u32HclkDiv; in SystemCoreClockUpdate()
63 CyclesPerUs = (SystemCoreClock + 500000) / 1000000; in SystemCoreClockUpdate()
/hal_nuvoton-latest/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-latest/m46x/Devices/M460/Source/
Dsystem_M460.c20 uint32_t SystemCoreClock = __SYSTEM_CLOCK; /*!< System Clock Frequency (Core Clock)*/ variable
52 SystemCoreClock = u32Freq / u32HclkDiv; in SystemCoreClockUpdate()
58 CyclesPerUs = (SystemCoreClock + 500000UL) / 1000000UL; in SystemCoreClockUpdate()
/hal_nuvoton-latest/m46x/StdDriver/inc/
Dfmc.h106 #define FMC_TIMEOUT_READ (SystemCoreClock>>3) /*!< Read command time-out 125 ms \…
107 #define FMC_TIMEOUT_WRITE (SystemCoreClock>>3) /*!< Write command time-out 125 ms \…
108 #define FMC_TIMEOUT_ERASE (SystemCoreClock>>2) /*!< Erase command time-out 250 ms \…
109 #define FMC_TIMEOUT_CHKSUM (SystemCoreClock<<1) /*!< Get checksum command time-out 2 s \…
110 #define FMC_TIMEOUT_CHKALLONE (SystemCoreClock<<1) /*!< Check-all-one command time-out 2 s \…
Dwdt.h58 #define WDT_TIMEOUT SystemCoreClock /*!< WDT time-out counter (1 second time-out) \hide…
/hal_nuvoton-latest/m2l31x/StdDriver/inc/
Drmc.h101 #define RMC_TIMEOUT_READ ((SystemCoreClock/10)/4) /*!< Read command time-out 100 ms …
102 #define RMC_TIMEOUT_WRITE ((SystemCoreClock/10)/4) /*!< Write command time-out 100 ms …
103 #define RMC_TIMEOUT_ERASE ((SystemCoreClock/10)/2) /*!< Erase command time-out 200 ms …
104 #define RMC_TIMEOUT_CHKSUM (SystemCoreClock/2) /*!< Get checksum command time-out 2 s …
105 #define RMC_TIMEOUT_CHKALLONE (SystemCoreClock/2) /*!< Check-all-one command time-out 2 s …
/hal_nuvoton-latest/m48x/Devices/M480/Include/
Dsystem_M480.h37 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
/hal_nuvoton-latest/m2l31x/Devices/M2L31/Include/
Dsystem_M2L31.h38 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
/hal_nuvoton-latest/m46x/Devices/M460/Include/
Dsystem_m460.h48 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */

123