Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 55) sorted by relevance

123

/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_hal_timebase_rtc_alarm_template.c88 __IO uint32_t counter = 0U; in HAL_InitTick() local
135 counter = 0U; in HAL_InitTick()
139 if (counter++ == SystemCoreClock / 48U) /* Timeout = ~ 1s */ in HAL_InitTick()
169 counter = 0U; in HAL_InitTick()
172 if (counter++ == SystemCoreClock / 48U) /* Timeout = ~ 1s */ in HAL_InitTick()
206 __IO uint32_t counter = 0U; in HAL_ResumeTick() local
228 if (counter++ == SystemCoreClock / 48U) /* Timeout = ~ 1s */ in HAL_ResumeTick()
245 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
265 if (counter++ == SystemCoreClock / 48U) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_lcd.c179 uint8_t counter = 0; in HAL_LCD_Init() local
218 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Init()
220 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Init()
430 uint32_t counter = 0; in HAL_LCD_Clear() local
456 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
458 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Clear()
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_lcd.c141 uint32_t counter; in HAL_LCD_Init() local
181 for (counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Init()
183 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Init()
427 uint32_t counter; in HAL_LCD_Clear() local
455 for (counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
457 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Clear()
Dstm32l4xx_hal_ltdc.c916 uint32_t counter; in HAL_LTDC_ConfigCLUT() local
927 for (counter = 0U; (counter < CLUTSize); counter++) in HAL_LTDC_ConfigCLUT()
931 tmp = (((counter + (16U * counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
936 tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_lcd.c143 uint32_t counter; in HAL_LCD_Init() local
183 for (counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER7; counter++) in HAL_LCD_Init()
185 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Init()
434 uint32_t counter; in HAL_LCD_Clear() local
462 for (counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
464 hlcd->Instance->RAM[counter] = 0; in HAL_LCD_Clear()
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_lcd.c171 uint8_t counter = 0U; in HAL_LCD_Init() local
210 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Init()
212 hlcd->Instance->RAM[counter] = 0U; in HAL_LCD_Init()
425 uint32_t counter = 0U; in HAL_LCD_Clear() local
451 for(counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++) in HAL_LCD_Clear()
453 hlcd->Instance->RAM[counter] = 0U; in HAL_LCD_Clear()
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_adc.c721 __IO uint32_t counter = 0U; in HAL_ADC_Start() local
740 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADC_Start()
741 while(counter != 0U) in HAL_ADC_Start()
743 counter--; in HAL_ADC_Start()
1020 __IO uint32_t counter = 0U; in HAL_ADC_Start_IT() local
1039 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADC_Start_IT()
1040 while(counter != 0U) in HAL_ADC_Start_IT()
1042 counter--; in HAL_ADC_Start_IT()
1332 __IO uint32_t counter = 0U; in HAL_ADC_Start_DMA() local
1351 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADC_Start_DMA()
[all …]
Dstm32f2xx_hal_adc_ex.c150 __IO uint32_t counter = 0U; in HAL_ADCEx_InjectedStart() local
167 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADCEx_InjectedStart()
168 while(counter != 0U) in HAL_ADCEx_InjectedStart()
170 counter--; in HAL_ADCEx_InjectedStart()
247 __IO uint32_t counter = 0U; in HAL_ADCEx_InjectedStart_IT() local
264 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADCEx_InjectedStart_IT()
265 while(counter != 0U) in HAL_ADCEx_InjectedStart_IT()
267 counter--; in HAL_ADCEx_InjectedStart_IT()
590 __IO uint32_t counter = 0U; in HAL_ADCEx_MultiModeStart_DMA() local
609 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADCEx_MultiModeStart_DMA()
[all …]
Dstm32f2xx_hal_timebase_rtc_alarm_template.c103 __IO uint32_t counter = 0U; in HAL_InitTick() local
175 counter = 0U; in HAL_InitTick()
179 if (counter++ == SystemCoreClock / 48U) /* Timeout = ~ 1s */ in HAL_InitTick()
211 counter = 0U; in HAL_InitTick()
214 if (counter++ == SystemCoreClock / 48U) /* Timeout = ~ 1s */ in HAL_InitTick()
291 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
302 if(counter++ == SystemCoreClock /48U) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_adc_ex.c149 __IO uint32_t counter = 0; in HAL_ADCEx_InjectedStart() local
166 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000)); in HAL_ADCEx_InjectedStart()
167 while(counter != 0) in HAL_ADCEx_InjectedStart()
169 counter--; in HAL_ADCEx_InjectedStart()
246 __IO uint32_t counter = 0; in HAL_ADCEx_InjectedStart_IT() local
263 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000)); in HAL_ADCEx_InjectedStart_IT()
264 while(counter != 0) in HAL_ADCEx_InjectedStart_IT()
266 counter--; in HAL_ADCEx_InjectedStart_IT()
589 __IO uint32_t counter = 0; in HAL_ADCEx_MultiModeStart_DMA() local
608 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000)); in HAL_ADCEx_MultiModeStart_DMA()
[all …]
Dstm32f7xx_hal_adc.c732 __IO uint32_t counter = 0; in HAL_ADC_Start() local
751 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000)); in HAL_ADC_Start()
752 while(counter != 0) in HAL_ADC_Start()
754 counter--; in HAL_ADC_Start()
1051 __IO uint32_t counter = 0; in HAL_ADC_Start_IT() local
1070 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000)); in HAL_ADC_Start_IT()
1071 while(counter != 0) in HAL_ADC_Start_IT()
1073 counter--; in HAL_ADC_Start_IT()
1377 __IO uint32_t counter = 0; in HAL_ADC_Start_DMA() local
1396 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000)); in HAL_ADC_Start_DMA()
[all …]
Dstm32f7xx_hal_timebase_rtc_alarm_template.c97 __IO uint32_t counter = 0U; in HAL_InitTick() local
168 counter = 0U; in HAL_InitTick()
172 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
197 counter = 0U; in HAL_InitTick()
200 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
274 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
285 if(counter++ == (SystemCoreClock /48U)) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
Dstm32f7xx_hal_ltdc.c916 uint32_t counter; in HAL_LTDC_ConfigCLUT() local
927 for (counter = 0U; (counter < CLUTSize); counter++) in HAL_LTDC_ConfigCLUT()
931 tmp = (((counter + (16U * counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
936 tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_adc_ex.c148 __IO uint32_t counter = 0U; in HAL_ADCEx_InjectedStart() local
166 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADCEx_InjectedStart()
167 while(counter != 0U) in HAL_ADCEx_InjectedStart()
169 counter--; in HAL_ADCEx_InjectedStart()
251 __IO uint32_t counter = 0U; in HAL_ADCEx_InjectedStart_IT() local
269 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADCEx_InjectedStart_IT()
270 while(counter != 0U) in HAL_ADCEx_InjectedStart_IT()
272 counter--; in HAL_ADCEx_InjectedStart_IT()
600 __IO uint32_t counter = 0U; in HAL_ADCEx_MultiModeStart_DMA() local
620 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADCEx_MultiModeStart_DMA()
[all …]
Dstm32f4xx_hal_adc.c718 __IO uint32_t counter = 0U; in HAL_ADC_Start() local
738 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADC_Start()
739 while(counter != 0U) in HAL_ADC_Start()
741 counter--; in HAL_ADC_Start()
1039 __IO uint32_t counter = 0U; in HAL_ADC_Start_IT() local
1059 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADC_Start_IT()
1060 while(counter != 0U) in HAL_ADC_Start_IT()
1062 counter--; in HAL_ADC_Start_IT()
1366 __IO uint32_t counter = 0U; in HAL_ADC_Start_DMA() local
1386 counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); in HAL_ADC_Start_DMA()
[all …]
Dstm32f4xx_hal_timebase_rtc_alarm_template.c98 __IO uint32_t counter = 0U; in HAL_InitTick() local
169 counter = 0U; in HAL_InitTick()
173 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
197 counter = 0U; in HAL_InitTick()
200 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
275 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
286 if(counter++ == (SystemCoreClock /48U)) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
Dstm32f4xx_hal_ltdc.c916 uint32_t counter; in HAL_LTDC_ConfigCLUT() local
927 for (counter = 0U; (counter < CLUTSize); counter++) in HAL_LTDC_ConfigCLUT()
931 tmp = (((counter + (16U * counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
936 tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_timebase_rtc_alarm_template.c98 __IO uint32_t counter = 0U; in HAL_InitTick() local
164 counter = 0U; in HAL_InitTick()
168 if (counter++ == (SystemCoreClock / 56U)) /* Timeout = ~ 1s */ in HAL_InitTick()
189 counter = 0U; in HAL_InitTick()
192 if (counter++ == (SystemCoreClock / 56U)) /* Timeout = ~ 1s */ in HAL_InitTick()
254 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
265 if (counter++ == (SystemCoreClock / 56U)) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
/hal_stm32-3.5.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_timebase_rtc_alarm_template.c99 __IO uint32_t counter = 0U; in HAL_InitTick() local
167 counter = 0U; in HAL_InitTick()
171 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
195 counter = 0U; in HAL_InitTick()
198 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
275 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
286 if(counter++ == (SystemCoreClock /48U)) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
/hal_stm32-3.5.0/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_hal_timebase_rtc_alarm_template.c99 __IO uint32_t counter = 0U; in HAL_InitTick() local
170 counter = 0U; in HAL_InitTick()
174 if(counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
198 counter = 0U; in HAL_InitTick()
201 if(counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
277 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
288 if(counter++ == (SystemCoreClock /48U)) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_timebase_rtc_alarm_template.c99 __IO uint32_t counter = 0U; in HAL_InitTick() local
170 counter = 0U; in HAL_InitTick()
178 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
210 counter = 0U; in HAL_InitTick()
217 if (counter++ == (SystemCoreClock / 48U)) /* Timeout = ~ 1s */ in HAL_InitTick()
296 __IO uint32_t counter = 0U; in HAL_RTC_AlarmAEventCallback() local
313 if(counter++ == (SystemCoreClock /48U)) /* Timeout = ~ 1s */ in HAL_RTC_AlarmAEventCallback()
Dstm32h7xx_hal_mdma.c714 uint32_t counter = 0, nodeInserted = 0; in HAL_MDMA_LinkedList_AddNode() local
760 while((counter < hmdma->LinkedListNodeCounter) && (hal_status == HAL_OK)) in HAL_MDMA_LinkedList_AddNode()
767 counter++; in HAL_MDMA_LinkedList_AddNode()
787 counter = 0; in HAL_MDMA_LinkedList_AddNode()
788 while((counter < hmdma->LinkedListNodeCounter) && (nodeInserted == 0U)) in HAL_MDMA_LinkedList_AddNode()
790 counter++; in HAL_MDMA_LinkedList_AddNode()
847 uint32_t counter = 0, nodeDeleted = 0; in HAL_MDMA_LinkedList_RemoveNode() local
904 while((counter < hmdma->LinkedListNodeCounter) && (nodeDeleted == 0U)) in HAL_MDMA_LinkedList_RemoveNode()
906 counter++; in HAL_MDMA_LinkedList_RemoveNode()
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_mdma.c726 uint32_t counter = 0, nodeInserted = 0; in HAL_MDMA_LinkedList_AddNode() local
772 while((counter < hmdma->LinkedListNodeCounter) && (hal_status == HAL_OK)) in HAL_MDMA_LinkedList_AddNode()
779 counter++; in HAL_MDMA_LinkedList_AddNode()
799 counter = 0; in HAL_MDMA_LinkedList_AddNode()
800 while((counter < hmdma->LinkedListNodeCounter) && (nodeInserted == 0U)) in HAL_MDMA_LinkedList_AddNode()
802 counter++; in HAL_MDMA_LinkedList_AddNode()
859 uint32_t counter = 0, nodeDeleted = 0; in HAL_MDMA_LinkedList_RemoveNode() local
916 while((counter < hmdma->LinkedListNodeCounter) && (nodeDeleted == 0U)) in HAL_MDMA_LinkedList_RemoveNode()
918 counter++; in HAL_MDMA_LinkedList_RemoveNode()
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_timebase_rtc_wakeup_template.c98 __IO uint32_t counter = 0U; in HAL_InitTick() local
180 counter++; in HAL_InitTick()
181 if (counter == (SystemCoreClock / 56U)) in HAL_InitTick()
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_ltdc.c922 uint32_t counter; in HAL_LTDC_ConfigCLUT() local
933 for (counter = 0U; (counter < CLUTSize); counter++) in HAL_LTDC_ConfigCLUT()
937 tmp = (((counter + (16U * counter)) << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()
942 tmp = ((counter << 24U) | ((uint32_t)(*pcolorlut) & 0xFFU) | \ in HAL_LTDC_ConfigCLUT()

123