Searched refs:NS_PER_S (Results 1 – 1 of 1) sorted by relevance
27 #ifndef NS_PER_S28 #define NS_PER_S 1000000000ULL macro204 else if (delay < ((unsigned long long)NS_PER_S * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()207 periodNs = NS_PER_S; in rtcSetWakeupTimer()208 periodNsRecip = U64_RECIPROCAL_CALCULATE(NS_PER_S); in rtcSetWakeupTimer()210 else if (delay < ((unsigned long long)NS_PER_S * 2 * RTC_WKUP_DOWNCOUNT_MAX)) { in rtcSetWakeupTimer()213 periodNs = NS_PER_S; in rtcSetWakeupTimer()214 periodNsRecip = U64_RECIPROCAL_CALCULATE(NS_PER_S); in rtcSetWakeupTimer()289 …return (time_s * NS_PER_S) + U64_DIV_BY_CONST_U16(((RTC_PREDIV_S - ssr) * NS_PER_S), (RTC_PREDIV_S… in rtcGetTime()