Home
last modified time | relevance | path

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

/loramac-node-latest/src/boards/SAMR34/
Drtc-board.c71 static RtcTimerContext_t RtcTimerContext; variable
109 RtcTimerContext.AlarmState = ALARM_STOPPED; in RtcInit()
117 RtcTimerContext.Time = ( uint32_t )HwTimerGetTime( ); in RtcSetTimerContext()
118 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
123 return RtcTimerContext.Time; in RtcGetTimerContext()
165 RtcTimerContext.AlarmState = ALARM_STOPPED; in RtcStopAlarm()
174 RtcTimerContext.Delay = timeout; in RtcStartAlarm()
177 printf( "TIMEOUT \t%010ld\t%010ld\n", RtcTimerContext.Time, RtcTimerContext.Delay ); in RtcStartAlarm()
187 RtcTimerContext.AlarmState = ALARM_RUNNING; in RtcStartAlarm()
188 if( HwTimerLoadAbsoluteTicks( RtcTimerContext.Time + RtcTimerContext.Delay ) == false ) in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/NucleoL476/
Drtc-board.c137 static RtcTimerContext_t RtcTimerContext; variable
204RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
205 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
216 return RtcTimerContext.Time; in RtcGetTimerContext()
314 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
315 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
427 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()
/loramac-node-latest/src/boards/SKiM881AXL/
Drtc-board.c138 static RtcTimerContext_t RtcTimerContext; variable
205RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
206 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
217 return RtcTimerContext.Time; in RtcGetTimerContext()
315 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
316 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
428 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()
/loramac-node-latest/src/boards/NucleoL152/
Drtc-board.c137 static RtcTimerContext_t RtcTimerContext; variable
204RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
205 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
216 return RtcTimerContext.Time; in RtcGetTimerContext()
314 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
315 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
427 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()
/loramac-node-latest/src/boards/NucleoL073/
Drtc-board.c138 static RtcTimerContext_t RtcTimerContext; variable
205RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
206 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
217 return RtcTimerContext.Time; in RtcGetTimerContext()
315 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
316 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
428 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()
/loramac-node-latest/src/boards/NAMote72/
Drtc-board.c137 static RtcTimerContext_t RtcTimerContext; variable
204RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
205 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
216 return RtcTimerContext.Time; in RtcGetTimerContext()
314 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
315 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
427 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Drtc-board.c138 static RtcTimerContext_t RtcTimerContext; variable
205RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
206 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
217 return RtcTimerContext.Time; in RtcGetTimerContext()
315 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
316 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
428 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()
/loramac-node-latest/src/boards/SKiM980A/
Drtc-board.c137 static RtcTimerContext_t RtcTimerContext; variable
204RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
205 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
216 return RtcTimerContext.Time; in RtcGetTimerContext()
314 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
315 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
427 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()
/loramac-node-latest/src/boards/SKiM880B/
Drtc-board.c137 static RtcTimerContext_t RtcTimerContext; variable
204RtcTimerContext.Time = ( uint32_t )RtcGetCalendarValue( &RtcTimerContext.CalendarDate, &RtcTimerCo… in RtcSetTimerContext()
205 return ( uint32_t )RtcTimerContext.Time; in RtcSetTimerContext()
216 return RtcTimerContext.Time; in RtcGetTimerContext()
314 RTC_TimeTypeDef time = RtcTimerContext.CalendarTime; in RtcStartAlarm()
315 RTC_DateTypeDef date = RtcTimerContext.CalendarDate; in RtcStartAlarm()
427 return( ( uint32_t )( calendarValue - RtcTimerContext.Time ) ); in RtcGetTimerElapsedTime()