Home
last modified time | relevance | path

Searched refs:wucounter (Results 1 – 3 of 3) sorted by relevance

/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_timebase_rtc_wakeup_template.c115 uint32_t wucounter; in HAL_InitTick() local
213 wucounter = LSE_VALUE; in HAL_InitTick()
215 wucounter = LSI_VALUE; in HAL_InitTick()
218 wucounter = (HSE_VALUE >> 5); in HAL_InitTick()
220 wucounter = ((wucounter >> 1) / (1000U / (uint32_t)uwTickFreq)) -1u; in HAL_InitTick()
221 status = HAL_RTCEx_SetWakeUpTimer_IT(&hRTC_Handle, wucounter, RTC_WAKEUPCLOCK_RTCCLK_DIV2); in HAL_InitTick()
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_timebase_rtc_wakeup_template.c112 uint32_t wucounter; in HAL_InitTick() local
206 wucounter = LSE_VALUE; in HAL_InitTick()
208 wucounter = LSI_VALUE; in HAL_InitTick()
211 wucounter = (HSE_VALUE >> 5); in HAL_InitTick()
213 wucounter = ((wucounter >> 1) / (1000U / (uint32_t)uwTickFreq)) -1u; in HAL_InitTick()
214 status = HAL_RTCEx_SetWakeUpTimer_IT(&hRTC_Handle, wucounter, RTC_WAKEUPCLOCK_RTCCLK_DIV2); in HAL_InitTick()
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_timebase_rtc_wakeup_template.c110 uint32_t wucounter; in HAL_InitTick() local
205 wucounter = LSE_VALUE; in HAL_InitTick()
207 wucounter = LSI_VALUE; in HAL_InitTick()
210 wucounter = (HSE_VALUE >> 5); in HAL_InitTick()
212 wucounter = ((wucounter >> 1) / (1000U / (uint32_t)uwTickFreq)) -1u; in HAL_InitTick()
213 … status = HAL_RTCEx_SetWakeUpTimer_IT(&hRTC_Handle, wucounter, RTC_WAKEUPCLOCK_RTCCLK_DIV2, 0); in HAL_InitTick()