Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
Drtc.c166 uint64_t periodNsRecip; in rtcSetWakeupTimer() local
182 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV2_PERIOD_NS); in rtcSetWakeupTimer()
188 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV4_PERIOD_NS); in rtcSetWakeupTimer()
194 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV8_PERIOD_NS); in rtcSetWakeupTimer()
200 periodNsRecip = U64_RECIPROCAL_CALCULATE(RTC_DIV16_PERIOD_NS); in rtcSetWakeupTimer()
209 periodNsRecip = U64_RECIPROCAL_CALCULATE(NS_PER_S); in rtcSetWakeupTimer()
230 RTC->WUTR = cpuMathRecipAssistedUdiv64by32(delay, periodNs, periodNsRecip) - 1; in rtcSetWakeupTimer()