Searched refs:RtcTimerContext (Results 1 – 9 of 9) sorted by relevance
/loramac-node-latest/src/boards/SAMR34/ |
D | rtc-board.c | 71 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/ |
D | rtc-board.c | 137 static RtcTimerContext_t RtcTimerContext; variable 204 …RtcTimerContext.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/ |
D | rtc-board.c | 138 static RtcTimerContext_t RtcTimerContext; variable 205 …RtcTimerContext.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/ |
D | rtc-board.c | 137 static RtcTimerContext_t RtcTimerContext; variable 204 …RtcTimerContext.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/ |
D | rtc-board.c | 138 static RtcTimerContext_t RtcTimerContext; variable 205 …RtcTimerContext.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/ |
D | rtc-board.c | 137 static RtcTimerContext_t RtcTimerContext; variable 204 …RtcTimerContext.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/ |
D | rtc-board.c | 138 static RtcTimerContext_t RtcTimerContext; variable 205 …RtcTimerContext.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/ |
D | rtc-board.c | 137 static RtcTimerContext_t RtcTimerContext; variable 204 …RtcTimerContext.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/ |
D | rtc-board.c | 137 static RtcTimerContext_t RtcTimerContext; variable 204 …RtcTimerContext.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()
|