Lines Matching refs:timeout
280 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
283 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
292 RtcStartAlarm( timeout ); in RtcSetAlarm()
307 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
321 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
323 timeout >>= N_PREDIV_S; in RtcStartAlarm()
327 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
329 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
335 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
337 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
343 while( timeout >= TM_SECONDS_IN_1MINUTE ) in RtcStartAlarm()
345 timeout -= TM_SECONDS_IN_1MINUTE; in RtcStartAlarm()
350 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm()