Home
last modified time | relevance | path

Searched refs:tickstart (Results 1 – 25 of 32) sorted by relevance

12

/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/hal/Src/
Dstm32u5xx_hal_rcc.c359 uint32_t tickstart; in HAL_RCC_DeInit() local
375 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()
[all …]
Dstm32u5xx_hal_cryp_ex.c111 uint32_t tickstart; in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
146 tickstart = HAL_GetTick(); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
152 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
222 uint32_t tickstart; in HAL_CRYPEx_AESCCM_GenerateAuthTAG() local
247 tickstart = HAL_GetTick(); in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
253 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_CRYPEx_AESCCM_GenerateAuthTAG()
544 uint32_t tickstart; in CRYPEx_KeyDecrypt() local
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()
[all …]
Dstm32u5xx_hal_rng.c157 uint32_t tickstart; in HAL_RNG_Init() local
209 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()
270 uint32_t tickstart; in HAL_RNG_DeInit() local
285 tickstart = HAL_GetTick(); in HAL_RNG_DeInit()
290 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_DeInit()
634 uint32_t tickstart; in HAL_RNG_GenerateRandomNumber() local
659 tickstart = HAL_GetTick(); in HAL_RNG_GenerateRandomNumber()
[all …]
Dstm32u5xx_hal_icache.c235 uint32_t tickstart; in HAL_ICACHE_Disable() local
244 tickstart = HAL_GetTick(); in HAL_ICACHE_Disable()
249 if ((HAL_GetTick() - tickstart) > ICACHE_DISABLE_TIMEOUT_VALUE) in HAL_ICACHE_Disable()
332 uint32_t tickstart; in HAL_ICACHE_WaitForInvalidateComplete() local
338 tickstart = HAL_GetTick(); in HAL_ICACHE_WaitForInvalidateComplete()
343 if ((HAL_GetTick() - tickstart) > ICACHE_INVALIDATE_TIMEOUT_VALUE) in HAL_ICACHE_WaitForInvalidateComplete()
Dstm32u5xx_hal_rcc_ex.c352 uint32_t tickstart; in HAL_RCCEx_PeriphCLKConfig() local
712 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()
2412 uint32_t tickstart; in HAL_RCCEx_EnablePLL2() local
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()
[all …]
Dstm32u5xx_ll_dlyb.c155 uint32_t tickstart; in LL_DLYB_GetClockPeriod() local
170 tickstart = HAL_GetTick(); in LL_DLYB_GetClockPeriod()
173 if ((HAL_GetTick() - tickstart) >= DLYB_TIMEOUT) in LL_DLYB_GetClockPeriod()
Dstm32u5xx_hal.c371 uint32_t tickstart = HAL_GetTick(); in HAL_Delay() local
380 while ((HAL_GetTick() - tickstart) < wait) in HAL_Delay()
576 uint32_t tickstart; in HAL_SYSCFG_EnableVREFBUF() local
581 tickstart = HAL_GetTick(); in HAL_SYSCFG_EnableVREFBUF()
586 if ((HAL_GetTick() - tickstart) > VREFBUF_TIMEOUT_VALUE) in HAL_SYSCFG_EnableVREFBUF()
Dstm32u5xx_hal_rtc_ex.c482 uint32_t tickstart = HAL_GetTick(); in HAL_RTCEx_PollForTimeStampEvent() local
499 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_RTCEx_PollForTimeStampEvent()
540 uint32_t tickstart; in HAL_RTCEx_SetWakeUpTimer() local
562 tickstart = HAL_GetTick(); in HAL_RTCEx_SetWakeUpTimer()
565 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in HAL_RTCEx_SetWakeUpTimer()
614 uint32_t tickstart; in HAL_RTCEx_SetWakeUpTimer_IT() local
641 tickstart = HAL_GetTick(); in HAL_RTCEx_SetWakeUpTimer_IT()
644 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in HAL_RTCEx_SetWakeUpTimer_IT()
686 uint32_t tickstart; in HAL_RTCEx_DeactivateWakeUpTimer() local
700 tickstart = HAL_GetTick(); in HAL_RTCEx_DeactivateWakeUpTimer()
[all …]
Dstm32u5xx_hal_ospi.c321 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Init() local
404 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Init()
783 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command() local
837 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_Command()
853 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Command()
914 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command_IT() local
961 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Command_IT()
1005 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCfg() local
1018 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCfg()
1051 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCmd() local
[all …]
Dstm32u5xx_hal_rng_ex.c88 uint32_t tickstart; in HAL_RNGEx_SetConfig() local
136 tickstart = HAL_GetTick(); in HAL_RNGEx_SetConfig()
141 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNGEx_SetConfig()
Dstm32u5xx_hal_uart_ex.c409 uint32_t tickstart; in HAL_UARTEx_StopModeWakeUpSourceConfig() local
434 tickstart = HAL_GetTick(); in HAL_UARTEx_StopModeWakeUpSourceConfig()
437 …if (UART_WaitOnFlagUntilTimeout(huart, USART_ISR_REACK, RESET, tickstart, HAL_UART_TIMEOUT_VALUE) … in HAL_UARTEx_StopModeWakeUpSourceConfig()
696 uint32_t tickstart; in HAL_UARTEx_ReceiveToIdle() local
713 tickstart = HAL_GetTick(); in HAL_UARTEx_ReceiveToIdle()
779 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_UARTEx_ReceiveToIdle()
Dstm32u5xx_hal_dma.c242 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_Init() local
286 if ((HAL_GetTick() - tickstart) > HAL_TIMEOUT_DMA_ABORT) in HAL_DMA_Init()
322 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_DeInit() local
343 if ((HAL_GetTick() - tickstart) > HAL_TIMEOUT_DMA_ABORT) in HAL_DMA_DeInit()
587 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_Abort() local
618 if ((HAL_GetTick() - tickstart) > HAL_TIMEOUT_DMA_ABORT) in HAL_DMA_Abort()
717 uint32_t tickstart = HAL_GetTick(); in HAL_DMA_PollForTransfer() local
762 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_DMA_PollForTransfer()
Dstm32u5xx_hal_rtc.c1966 uint32_t tickstart = HAL_GetTick(); in HAL_RTC_PollForAlarmAEvent() local
1972 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_RTC_PollForAlarmAEvent()
2024 uint32_t tickstart; in HAL_RTC_WaitForSynchro() local
2030 tickstart = HAL_GetTick(); in HAL_RTC_WaitForSynchro()
2035 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in HAL_RTC_WaitForSynchro()
2092 uint32_t tickstart; in RTC_EnterInitMode() local
2102 tickstart = HAL_GetTick(); in RTC_EnterInitMode()
2106 if ((HAL_GetTick() - tickstart) > RTC_TIMEOUT_VALUE) in RTC_EnterInitMode()
Dstm32u5xx_hal_flash_ex.c727 uint32_t tickstart; in HAL_FLASHEx_EnablePowerDown() local
755 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_uart.c1117 uint32_t tickstart; in HAL_UART_Transmit() local
1133 tickstart = HAL_GetTick(); in HAL_UART_Transmit()
1154 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Transmit()
1171 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Transmit()
1207 uint32_t tickstart; in HAL_UART_Receive() local
1224 tickstart = HAL_GetTick(); in HAL_UART_Receive()
1250 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Receive()
3257 uint32_t tickstart; in UART_CheckIdleState() local
3263 tickstart = HAL_GetTick(); in UART_CheckIdleState()
3269 …if (UART_WaitOnFlagUntilTimeout(huart, USART_ISR_TEACK, RESET, tickstart, HAL_UART_TIMEOUT_VALUE) … in UART_CheckIdleState()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32l5xx/hal/Src/
Dstm32l5xx_hal_rcc.c243 uint32_t tickstart; in HAL_RCC_DeInit() local
251 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()
[all …]
Dstm32l5xx_hal_rcc_ex.c153 uint32_t tickstart; in HAL_RCCEx_PeriphCLKConfig() local
273 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()
1631 uint32_t tickstart; in HAL_RCCEx_EnablePLLSAI1() local
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()
[all …]
Dstm32l5xx_hal_cryp_ex.c101 uint32_t tickstart; in HAL_CRYPEx_AESGCM_GenerateAuthTAG() local
159 tickstart = HAL_GetTick(); in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
165 if (((HAL_GetTick() - tickstart) > Timeout)||(Timeout == 0U)) in HAL_CRYPEx_AESGCM_GenerateAuthTAG()
223 uint32_t tickstart; in HAL_CRYPEx_AESCCM_GenerateAuthTAG() local
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.c165 uint32_t tickstart; in HAL_RNG_Init() local
223 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()
284 uint32_t tickstart; in HAL_RNG_DeInit() local
299 tickstart = HAL_GetTick(); in HAL_RNG_DeInit()
304 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNG_DeInit()
648 uint32_t tickstart; in HAL_RNG_GenerateRandomNumber() local
673 tickstart = HAL_GetTick(); in HAL_RNG_GenerateRandomNumber()
[all …]
Dstm32l5xx_hal.c377 uint32_t tickstart = HAL_GetTick(); in HAL_Delay() local
386 while ((HAL_GetTick() - tickstart) < wait) in HAL_Delay()
639 uint32_t tickstart; in HAL_SYSCFG_EnableVREFBUF() local
644 tickstart = HAL_GetTick(); in HAL_SYSCFG_EnableVREFBUF()
649 if ((HAL_GetTick() - tickstart) > VREFBUF_TIMEOUT_VALUE) in HAL_SYSCFG_EnableVREFBUF()
Dstm32l5xx_hal_ospi.c311 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Init() local
391 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Init()
768 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command() local
820 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_Command()
836 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_TC, SET, tickstart, Timeout); in HAL_OSPI_Command()
897 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_Command_IT() local
944 …status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, hospi->Timeou… in HAL_OSPI_Command_IT()
988 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCfg() local
1001 status = OSPI_WaitFlagStateUntilTimeout(hospi, HAL_OSPI_FLAG_BUSY, RESET, tickstart, Timeout); in HAL_OSPI_HyperbusCfg()
1034 uint32_t tickstart = HAL_GetTick(); in HAL_OSPI_HyperbusCmd() local
[all …]
Dstm32l5xx_hal_rng_ex.c97 uint32_t tickstart; in HAL_RNGEx_SetConfig() local
148 tickstart = HAL_GetTick(); in HAL_RNGEx_SetConfig()
153 if ((HAL_GetTick() - tickstart) > RNG_TIMEOUT_VALUE) in HAL_RNGEx_SetConfig()
Dstm32l5xx_hal_uart_ex.c428 uint32_t tickstart; in HAL_UARTEx_StopModeWakeUpSourceConfig() local
455 tickstart = HAL_GetTick(); in HAL_UARTEx_StopModeWakeUpSourceConfig()
458 …if (UART_WaitOnFlagUntilTimeout(huart, USART_ISR_REACK, RESET, tickstart, HAL_UART_TIMEOUT_VALUE) … in HAL_UARTEx_StopModeWakeUpSourceConfig()
714 uint32_t tickstart; in HAL_UARTEx_ReceiveToIdle() local
731 tickstart = HAL_GetTick(); in HAL_UARTEx_ReceiveToIdle()
797 if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_UARTEx_ReceiveToIdle()
Dstm32l5xx_hal_uart.c1113 uint32_t tickstart; in HAL_UART_Transmit() local
1129 tickstart = HAL_GetTick(); in HAL_UART_Transmit()
1150 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Transmit()
1167 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Transmit()
1203 uint32_t tickstart; in HAL_UART_Receive() local
1220 tickstart = HAL_GetTick(); in HAL_UART_Receive()
1246 if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK) in HAL_UART_Receive()
3293 uint32_t tickstart; in UART_CheckIdleState() local
3299 tickstart = HAL_GetTick(); in UART_CheckIdleState()
3305 …if (UART_WaitOnFlagUntilTimeout(huart, USART_ISR_TEACK, RESET, tickstart, HAL_UART_TIMEOUT_VALUE) … in UART_CheckIdleState()
[all …]
Dstm32l5xx_hal_dma.c612 uint32_t tickstart; in HAL_DMA_PollForTransfer() local
642 tickstart = HAL_GetTick(); in HAL_DMA_PollForTransfer()
667 if(((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) in HAL_DMA_PollForTransfer()

12