Home
last modified time | relevance | path

Searched refs:HAL_GetTick (Results 1 – 25 of 37) sorted by relevance

12

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_rcc.c375 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
383 if ((HAL_GetTick() - tickstart) > MSI_TIMEOUT_VALUE) in HAL_RCC_DeInit()
401 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
410 if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE) in HAL_RCC_DeInit()
424 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
432 if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) in HAL_RCC_DeInit()
438 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
446 if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) in HAL_RCC_DeInit()
452 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
460 if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) in HAL_RCC_DeInit()
[all …]
Dstm32u5xx_hal_cryp_ex.c146 tickstart = HAL_GetTick(); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
152 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
247 tickstart = HAL_GetTick(); in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
253 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
559 tickstart = HAL_GetTick(); in CRYPEx_KeyDecrypt()
565 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in CRYPEx_KeyDecrypt()
616 tickstart = HAL_GetTick(); in CRYPEx_KeyDecrypt()
622 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in CRYPEx_KeyDecrypt()
679 tickstart = HAL_GetTick(); in CRYPEx_KeyEncrypt()
687 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in CRYPEx_KeyEncrypt()
[all …]
Dstm32u5xx_hal.c312 __weak uint32_t HAL_GetTick(void) in HAL_GetTick() function
371 uint32_t tickstart = HAL_GetTick(); in HAL_Delay()
380 while ((HAL_GetTick() - tickstart) < wait) in HAL_Delay()
581 tickstart = HAL_GetTick(); in HAL_SYSCFG_EnableVREFBUF()
586 if ((HAL_GetTick() - tickstart) > VREFBUF_TIMEOUT_VALUE) in HAL_SYSCFG_EnableVREFBUF()
Dstm32u5xx_hal_rng.c209 tickstart = HAL_GetTick(); in HAL_RNG_Init()
214 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_Init()
236 tickstart = HAL_GetTick(); in HAL_RNG_Init()
240 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_Init()
285 tickstart = HAL_GetTick(); in HAL_RNG_DeInit()
290 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_DeInit()
659 tickstart = HAL_GetTick(); in HAL_RNG_GenerateRandomNumber()
664 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_GenerateRandomNumber()
Dstm32u5xx_hal_rcc_ex.c712 tickstart = HAL_GetTick(); in HAL_RCCEx_PeriphCLKConfig()
716 if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) in HAL_RCCEx_PeriphCLKConfig()
743 tickstart = HAL_GetTick(); in HAL_RCCEx_PeriphCLKConfig()
748 if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) in HAL_RCCEx_PeriphCLKConfig()
2428 tickstart = HAL_GetTick(); in HAL_RCCEx_EnablePLL2()
2433 if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE) in HAL_RCCEx_EnablePLL2()
2471 tickstart = HAL_GetTick(); in HAL_RCCEx_EnablePLL2()
2476 if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE) in HAL_RCCEx_EnablePLL2()
2500 tickstart = HAL_GetTick(); in HAL_RCCEx_DisablePLL2()
2505 if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE) in HAL_RCCEx_DisablePLL2()
[all …]
Dstm32u5xx_hal_rtc_ex.c482 uint32_t tickstart = HAL_GetTick(); in HAL_RTCEx_PollForTimeStampEvent()
499 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_RTCEx_PollForTimeStampEvent()
562 tickstart = HAL_GetTick(); in HAL_RTCEx_SetWakeUpTimer()
565 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in HAL_RTCEx_SetWakeUpTimer()
641 tickstart = HAL_GetTick(); in HAL_RTCEx_SetWakeUpTimer_IT()
644 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in HAL_RTCEx_SetWakeUpTimer_IT()
700 tickstart = HAL_GetTick(); in HAL_RTCEx_DeactivateWakeUpTimer()
704 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in HAL_RTCEx_DeactivateWakeUpTimer()
818 uint32_t tickstart = HAL_GetTick(); in HAL_RTCEx_PollForWakeUpTimerEvent()
824 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_RTCEx_PollForWakeUpTimerEvent()
[all …]
Dstm32u5xx_hal_icache.c244 tickstart = HAL_GetTick(); in HAL_ICACHE_Disable()
249 if ((HAL_GetTick() - tickstart) > ICACHE_DISABLE_TIMEOUT_VALUE) in HAL_ICACHE_Disable()
338 tickstart = HAL_GetTick(); in HAL_ICACHE_WaitForInvalidateComplete()
343 if ((HAL_GetTick() - tickstart) > ICACHE_INVALIDATE_TIMEOUT_VALUE) in HAL_ICACHE_WaitForInvalidateComplete()
Dstm32u5xx_ll_dlyb.c170 tickstart = HAL_GetTick(); in LL_DLYB_GetClockPeriod()
173 if ((HAL_GetTick() - tickstart) >= DLYB_TIMEOUT) in LL_DLYB_GetClockPeriod()
Dstm32u5xx_hal_dma.c242 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_Init()
286 if ((HAL_GetTick() - tickstart) > HAL_TIMEOUT_DMA_ABORT) in HAL_DMA_Init()
322 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_DeInit()
343 if ((HAL_GetTick() - tickstart) > HAL_TIMEOUT_DMA_ABORT) in HAL_DMA_DeInit()
587 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_Abort()
618 if ((HAL_GetTick() - tickstart) > HAL_TIMEOUT_DMA_ABORT) in HAL_DMA_Abort()
717 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_PollForTransfer()
762 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_DMA_PollForTransfer()
Dstm32u5xx_hal_rng_ex.c136 tickstart = HAL_GetTick(); in HAL_RNGEx_SetConfig()
141 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNGEx_SetConfig()
Dstm32u5xx_hal_ospi.c321 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Init()
783 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command()
914 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command_IT()
1005 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCfg()
1051 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCmd()
1113 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Transmit()
1187 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Receive()
1780 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_AutoPolling()
1858 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_AutoPolling_IT()
1933 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_MemoryMapped()
[all …]
Dstm32u5xx_hal_uart_ex.c434 tickstart = HAL_GetTick(); in HAL_UARTEx_StopModeWakeUpSourceConfig()
713 tickstart = HAL_GetTick(); in HAL_UARTEx_ReceiveToIdle()
779 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_UARTEx_ReceiveToIdle()
Dstm32u5xx_hal_flash.c630 uint32_t timeout = HAL_GetTick() + Timeout; in FLASH_WaitForLastOperation()
641 if (HAL_GetTick() >= timeout) in FLASH_WaitForLastOperation()
Dstm32u5xx_hal_flash_ex.c755 tickstart = HAL_GetTick(); in HAL_FLASHEx_EnablePowerDown()
758 if ((HAL_GetTick() - tickstart) > FLASH_TIMEOUT_VALUE) in HAL_FLASHEx_EnablePowerDown()
789 tickstart = HAL_GetTick(); in HAL_FLASHEx_EnablePowerDown()
792 if ((HAL_GetTick() - tickstart) > FLASH_TIMEOUT_VALUE) in HAL_FLASHEx_EnablePowerDown()
Dstm32u5xx_hal_rtc.c1966 uint32_t tickstart = HAL_GetTick(); in HAL_RTC_PollForAlarmAEvent()
1972 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_RTC_PollForAlarmAEvent()
2030 tickstart = HAL_GetTick(); in HAL_RTC_WaitForSynchro()
2035 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in HAL_RTC_WaitForSynchro()
2102 tickstart = HAL_GetTick(); in RTC_EnterInitMode()
2106 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in RTC_EnterInitMode()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_rcc.c251 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
256 if ((HAL_GetTick() - tickstart) > MSI_TIMEOUT_VALUE) in HAL_RCC_DeInit()
274 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
288 if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE) in HAL_RCC_DeInit()
304 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
310 if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) in HAL_RCC_DeInit()
324 if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) in HAL_RCC_DeInit()
353 tickstart = HAL_GetTick(); in HAL_RCC_DeInit()
358 if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE) in HAL_RCC_DeInit()
523 tickstart = HAL_GetTick(); in HAL_RCC_OscConfig()
[all …]
Dstm32l5xx_hal_rcc_ex.c273 tickstart = HAL_GetTick(); in HAL_RCCEx_PeriphCLKConfig()
277 if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) in HAL_RCCEx_PeriphCLKConfig()
308 tickstart = HAL_GetTick(); in HAL_RCCEx_PeriphCLKConfig()
313 if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) in HAL_RCCEx_PeriphCLKConfig()
1646 tickstart = HAL_GetTick(); in HAL_RCCEx_EnablePLLSAI1()
1651 if ((HAL_GetTick() - tickstart) > PLLSAI1_TIMEOUT_VALUE) in HAL_RCCEx_EnablePLLSAI1()
1680 tickstart = HAL_GetTick(); in HAL_RCCEx_EnablePLLSAI1()
1685 if ((HAL_GetTick() - tickstart) > PLLSAI1_TIMEOUT_VALUE) in HAL_RCCEx_EnablePLLSAI1()
1714 tickstart = HAL_GetTick(); in HAL_RCCEx_DisablePLLSAI1()
1719 if ((HAL_GetTick() - tickstart) > PLLSAI1_TIMEOUT_VALUE) in HAL_RCCEx_DisablePLLSAI1()
[all …]
Dstm32l5xx_hal_rng.c223 tickstart = HAL_GetTick(); in HAL_RNG_Init()
228 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_Init()
250 tickstart = HAL_GetTick(); in HAL_RNG_Init()
254 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_Init()
299 tickstart = HAL_GetTick(); in HAL_RNG_DeInit()
304 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_DeInit()
673 tickstart = HAL_GetTick(); in HAL_RNG_GenerateRandomNumber()
678 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_GenerateRandomNumber()
Dstm32l5xx_hal.c311 __weak uint32_t HAL_GetTick(void) in HAL_GetTick() function
377 uint32_t tickstart = HAL_GetTick(); in HAL_Delay()
386 while ((HAL_GetTick() - tickstart) < wait) in HAL_Delay()
644 tickstart = HAL_GetTick(); in HAL_SYSCFG_EnableVREFBUF()
649 if ((HAL_GetTick() - tickstart) > VREFBUF_TIMEOUT_VALUE) in HAL_SYSCFG_EnableVREFBUF()
Dstm32l5xx_hal_cryp_ex.c159 tickstart = HAL_GetTick(); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
165 if (((HAL_GetTick() - tickstart) > Timeout)||(Timeout == 0U)) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
265 tickstart = HAL_GetTick(); in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
271 if (((HAL_GetTick() - tickstart) > Timeout) ||(Timeout == 0U)) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
Dstm32l5xx_hal_rng_ex.c148 tickstart = HAL_GetTick(); in HAL_RNGEx_SetConfig()
153 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNGEx_SetConfig()
Dstm32l5xx_hal_uart_ex.c455 tickstart = HAL_GetTick(); in HAL_UARTEx_StopModeWakeUpSourceConfig()
731 tickstart = HAL_GetTick(); in HAL_UARTEx_ReceiveToIdle()
797 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_UARTEx_ReceiveToIdle()
Dstm32l5xx_hal_ospi.c311 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Init()
768 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command()
897 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command_IT()
988 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCfg()
1034 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCmd()
1096 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Transmit()
1170 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Receive()
1647 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_AutoPolling()
1725 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_AutoPolling_IT()
1800 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_MemoryMapped()
[all …]
Dstm32l5xx_hal_flash.c602 uint32_t timeout = HAL_GetTick() + Timeout; in FLASH_WaitForLastOperation()
610 if(HAL_GetTick() >= timeout) in FLASH_WaitForLastOperation()
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/hal/Native_Driver/
Dtick.c47 uint32_t HAL_GetTick(void) in HAL_GetTick() function

12