Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 73) sorted by relevance

123

/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_pccard.c309 uint32_t timeout = PCCARD_TIMEOUT_READ_ID, index = 0U; in HAL_PCCARD_Read_ID() local
336 timeout--; in HAL_PCCARD_Read_ID()
337 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_ID()
339 if (timeout == 0U) in HAL_PCCARD_Read_ID()
373 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Read_Sector() local
400 timeout--; in HAL_PCCARD_Read_Sector()
401 } while ((status == 0x80U) && timeout); in HAL_PCCARD_Read_Sector()
403 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
408 timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR; in HAL_PCCARD_Read_Sector()
414 timeout--; in HAL_PCCARD_Read_Sector()
[all …]
Dstm32f2xx_ll_rtc.c701 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
716 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
720 timeout --; in LL_RTC_EnterInitMode()
723 if (timeout == 0U) in LL_RTC_EnterInitMode()
772 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
784 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
788 timeout--; in LL_RTC_WaitForSynchro()
791 if (timeout == 0U) in LL_RTC_WaitForSynchro()
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_pccard.c310 uint32_t timeout = PCCARD_TIMEOUT_READ_ID, index = 0U; in HAL_PCCARD_Read_ID() local
337 timeout--; in HAL_PCCARD_Read_ID()
338 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_ID()
340 if (timeout == 0U) in HAL_PCCARD_Read_ID()
374 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Read_Sector() local
401 timeout--; in HAL_PCCARD_Read_Sector()
402 } while ((status == 0x80U) && timeout); in HAL_PCCARD_Read_Sector()
404 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
409 timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR; in HAL_PCCARD_Read_Sector()
415 timeout--; in HAL_PCCARD_Read_Sector()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_pccard.c310 uint32_t timeout = PCCARD_TIMEOUT_READ_ID, index = 0U; in HAL_PCCARD_Read_ID() local
337 timeout--; in HAL_PCCARD_Read_ID()
338 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_ID()
340 if (timeout == 0U) in HAL_PCCARD_Read_ID()
374 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Read_Sector() local
401 timeout--; in HAL_PCCARD_Read_Sector()
402 } while ((status == 0x80U) && timeout); in HAL_PCCARD_Read_Sector()
404 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
409 timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR; in HAL_PCCARD_Read_Sector()
415 timeout--; in HAL_PCCARD_Read_Sector()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_pccard.c310 uint32_t timeout = PCCARD_TIMEOUT_READ_ID, index = 0U; in HAL_PCCARD_Read_ID() local
337 timeout--; in HAL_PCCARD_Read_ID()
338 } while ((status != PCCARD_STATUS_OK) && timeout); in HAL_PCCARD_Read_ID()
340 if (timeout == 0U) in HAL_PCCARD_Read_ID()
374 uint32_t timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR, index = 0U; in HAL_PCCARD_Read_Sector() local
401 timeout--; in HAL_PCCARD_Read_Sector()
402 } while ((status == 0x80U) && timeout); in HAL_PCCARD_Read_Sector()
404 if (timeout == 0U) in HAL_PCCARD_Read_Sector()
409 timeout = PCCARD_TIMEOUT_READ_WRITE_SECTOR; in HAL_PCCARD_Read_Sector()
415 timeout--; in HAL_PCCARD_Read_Sector()
[all …]
Dstm32f1xx_ll_rtc.c367 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
376 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
380 timeout --; in LL_RTC_EnterInitMode()
383 if (timeout == 0U) in LL_RTC_EnterInitMode()
406 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_ExitInitMode() local
418 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_ExitInitMode()
422 timeout --; in LL_RTC_ExitInitMode()
425 if (timeout == 0U) in LL_RTC_ExitInitMode()
496 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
508 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_pwr_ex.c217 uint32_t timeout; in HAL_PWREx_ControlVoltageScaling() local
236 timeout = ((PWR_VOSF_SETTING_DELAY_VALUE * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
237 while (HAL_IS_BIT_CLR(PWR->VOSR, PWR_VOSR_VOSRDY) && (timeout != 0U)) in HAL_PWREx_ControlVoltageScaling()
239 timeout--; in HAL_PWREx_ControlVoltageScaling()
243 if (timeout == 0U) in HAL_PWREx_ControlVoltageScaling()
249 timeout = ((PWR_VOSF_SETTING_DELAY_VALUE * SystemCoreClock) / 1000000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
250 while ((HAL_IS_BIT_CLR(PWR->SVMSR, PWR_SVMSR_ACTVOSRDY)) && (timeout != 0U)) in HAL_PWREx_ControlVoltageScaling()
252 timeout--; in HAL_PWREx_ControlVoltageScaling()
256 if (timeout == 0U) in HAL_PWREx_ControlVoltageScaling()
284 uint32_t timeout; in HAL_PWREx_ConfigSupply() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/soc/
Dsystem_stm32f4xx.c283 register uint32_t tmpreg = 0, timeout = 0xFFFF; in SystemInit_ExtMemCtl() local
377 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl()
388 timeout = 0xFFFF; in SystemInit_ExtMemCtl()
389 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl()
397 timeout = 0xFFFF; in SystemInit_ExtMemCtl()
398 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl()
406 timeout = 0xFFFF; in SystemInit_ExtMemCtl()
407 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl()
451 register uint32_t tmpreg = 0, timeout = 0xFFFF; in SystemInit_ExtMemCtl() local
585 while((tmpreg != 0) && (timeout-- > 0)) in SystemInit_ExtMemCtl()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_rtc.c571 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
586 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
590 timeout --; in LL_RTC_EnterInitMode()
593 if (timeout == 0U) in LL_RTC_EnterInitMode()
642 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
654 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
658 timeout--; in LL_RTC_WaitForSynchro()
661 if (timeout == 0U) in LL_RTC_WaitForSynchro()
669 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
671 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_rtc.c724 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
739 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
743 timeout --; in LL_RTC_EnterInitMode()
746 if (timeout == 0U) in LL_RTC_EnterInitMode()
795 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
807 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
811 timeout--; in LL_RTC_WaitForSynchro()
814 if (timeout == 0U) in LL_RTC_WaitForSynchro()
822 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
824 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_rtc.c740 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
755 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
759 timeout --; in LL_RTC_EnterInitMode()
762 if (timeout == 0U) in LL_RTC_EnterInitMode()
811 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
823 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
827 timeout--; in LL_RTC_WaitForSynchro()
830 if (timeout == 0U) in LL_RTC_WaitForSynchro()
838 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
840 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_rtc.c728 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
743 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
747 timeout --; in LL_RTC_EnterInitMode()
750 if (timeout == 0U) in LL_RTC_EnterInitMode()
799 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
811 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
815 timeout--; in LL_RTC_WaitForSynchro()
818 if (timeout == 0U) in LL_RTC_WaitForSynchro()
826 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
828 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_pwr_ex.c342 uint32_t timeout; in HAL_PWREx_ControlVoltageScaling() local
379 timeout = ((PWR_FLAG_SETTING_DELAY * (SystemCoreClock / 1000U)) / 1000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
380 while (HAL_IS_BIT_CLR(PWR->VOSR, PWR_VOSR_VOSRDY) && (timeout != 0U)) in HAL_PWREx_ControlVoltageScaling()
382 timeout--; in HAL_PWREx_ControlVoltageScaling()
386 if (timeout != 0U) in HAL_PWREx_ControlVoltageScaling()
389 timeout = ((PWR_FLAG_SETTING_DELAY * (SystemCoreClock / 1000U)) / 1000U) + 1U; in HAL_PWREx_ControlVoltageScaling()
390 while ((HAL_IS_BIT_CLR(PWR->SVMSR, PWR_SVMSR_ACTVOSRDY)) && (timeout != 0U)) in HAL_PWREx_ControlVoltageScaling()
392 timeout--; in HAL_PWREx_ControlVoltageScaling()
397 if (timeout == 0U) in HAL_PWREx_ControlVoltageScaling()
425 uint32_t timeout; in HAL_PWREx_ConfigSupply() local
[all …]
Dstm32u5xx_ll_rtc.c747 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
762 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
766 timeout --; in LL_RTC_EnterInitMode()
769 if (timeout == 0U) in LL_RTC_EnterInitMode()
818 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
830 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
834 timeout--; in LL_RTC_WaitForSynchro()
837 if (timeout == 0U) in LL_RTC_WaitForSynchro()
845 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
847 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_rtc.c756 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
771 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
775 timeout --; in LL_RTC_EnterInitMode()
778 if (timeout == 0U) in LL_RTC_EnterInitMode()
827 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
839 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
843 timeout--; in LL_RTC_WaitForSynchro()
846 if (timeout == 0U) in LL_RTC_WaitForSynchro()
854 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
856 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_rtc.c747 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
762 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
766 timeout --; in LL_RTC_EnterInitMode()
769 if (timeout == 0U) in LL_RTC_EnterInitMode()
818 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
830 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
834 timeout--; in LL_RTC_WaitForSynchro()
837 if (timeout == 0U) in LL_RTC_WaitForSynchro()
845 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
847 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_rtc.c740 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
755 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
759 timeout --; in LL_RTC_EnterInitMode()
762 if (timeout == 0U) in LL_RTC_EnterInitMode()
811 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
823 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
827 timeout--; in LL_RTC_WaitForSynchro()
830 if (timeout == 0U) in LL_RTC_WaitForSynchro()
838 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
840 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_rtc.c744 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
759 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
763 timeout --; in LL_RTC_EnterInitMode()
766 if (timeout == 0U) in LL_RTC_EnterInitMode()
815 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
827 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
831 timeout--; in LL_RTC_WaitForSynchro()
834 if (timeout == 0U) in LL_RTC_WaitForSynchro()
842 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
844 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_hal_i3c.h1107 uint32_t timeout);
1116 uint32_t timeout);
1125 uint32_t timeout);
1134 uint32_t timeout);
1152 uint32_t timeout);
1157 uint32_t timeout);
1161 uint32_t timeout);
1169 …ypeDef HAL_I3C_Tgt_Transmit(I3C_HandleTypeDef *hi3c, I3C_XferTypeDef *pXferData, uint32_t timeout);
1172 …TypeDef HAL_I3C_Tgt_Receive(I3C_HandleTypeDef *hi3c, I3C_XferTypeDef *pXferData, uint32_t timeout);
1175 HAL_StatusTypeDef HAL_I3C_Tgt_ControlRoleReq(I3C_HandleTypeDef *hi3c, uint32_t timeout);
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_i3c.c405 static HAL_StatusTypeDef I3C_WaitOnDAAUntilTimeout(I3C_HandleTypeDef *hi3c, uint32_t timeout, uint3…
407 uint32_t timeout, uint32_t tickstart);
440 uint32_t timeout);
2499 uint32_t timeout) in HAL_I3C_Ctrl_TransmitCCC() argument
2597 if (timeout != HAL_MAX_DELAY) in HAL_I3C_Ctrl_TransmitCCC()
2599 if (((HAL_GetTick() - tickstart) > timeout) || (timeout == 0U)) in HAL_I3C_Ctrl_TransmitCCC()
2939 uint32_t timeout) in HAL_I3C_Ctrl_ReceiveCCC() argument
3053 if (timeout != HAL_MAX_DELAY) in HAL_I3C_Ctrl_ReceiveCCC()
3055 if (((HAL_GetTick() - tickstart) > timeout) || (timeout == 0U)) in HAL_I3C_Ctrl_ReceiveCCC()
3486 uint32_t timeout) in HAL_I3C_Ctrl_Transmit() argument
[all …]
Dstm32h5xx_ll_rtc.c736 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
751 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
755 timeout --; in LL_RTC_EnterInitMode()
758 if (timeout == 0U) in LL_RTC_EnterInitMode()
807 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
819 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
823 timeout--; in LL_RTC_WaitForSynchro()
828 if (timeout == 0U) in LL_RTC_WaitForSynchro()
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_rtc.c575 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
590 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
594 timeout --; in LL_RTC_EnterInitMode()
597 if (timeout == 0U) in LL_RTC_EnterInitMode()
646 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
658 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
662 timeout--; in LL_RTC_WaitForSynchro()
665 if (timeout == 0U) in LL_RTC_WaitForSynchro()
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_rtc.c743 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
758 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
762 timeout --; in LL_RTC_EnterInitMode()
765 if (timeout == 0U) in LL_RTC_EnterInitMode()
814 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
825 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
827 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
831 timeout--; in LL_RTC_WaitForSynchro()
834 if (timeout == 0U) in LL_RTC_WaitForSynchro()
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_rtc.c724 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
739 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
743 timeout --; in LL_RTC_EnterInitMode()
746 if (timeout == 0U) in LL_RTC_EnterInitMode()
795 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
807 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
811 timeout--; in LL_RTC_WaitForSynchro()
814 if (timeout == 0U) in LL_RTC_WaitForSynchro()
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_rtc.c733 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
748 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
752 timeout --; in LL_RTC_EnterInitMode()
755 if (timeout == 0U) in LL_RTC_EnterInitMode()
804 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
816 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
820 timeout--; in LL_RTC_WaitForSynchro()
823 if (timeout == 0U) in LL_RTC_WaitForSynchro()

123