Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Drtc.c172 uint32_t periodNs; in rtcSetWakeupTimer() local
183 periodNs = RTC_DIV2_PERIOD_NS; in rtcSetWakeupTimer()
189 periodNs = RTC_DIV4_PERIOD_NS; in rtcSetWakeupTimer()
195 periodNs = RTC_DIV8_PERIOD_NS; in rtcSetWakeupTimer()
201 periodNs = RTC_DIV16_PERIOD_NS; in rtcSetWakeupTimer()
207 periodNs = NS_PER_S; in rtcSetWakeupTimer()
213 periodNs = NS_PER_S; in rtcSetWakeupTimer()
240 RTC->WUTR = cpuMathRecipAssistedUdiv64by32(delay, periodNs, periodNsRecip) - 1; in rtcSetWakeupTimer()