Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/system/
Dsystime.c108 SysTime_t calendarTime = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeSet() local
110 calendarTime.Seconds = RtcGetCalendarTime( ( uint16_t* )&calendarTime.SubSeconds ); in SysTimeSet()
113 deltaTime = SysTimeSub( sysTime, calendarTime ); in SysTimeSet()
120 SysTime_t calendarTime = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeGet() local
125 calendarTime.Seconds = RtcGetCalendarTime( ( uint16_t* )&calendarTime.SubSeconds ); in SysTimeGet()
131 sysTime = SysTimeAdd( deltaTime, calendarTime ); in SysTimeGet()
138 SysTime_t calendarTime = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeGetMcuTime() local
140 calendarTime.Seconds = RtcGetCalendarTime( ( uint16_t* )&calendarTime.SubSeconds ); in SysTimeGetMcuTime()
142 return calendarTime; in SysTimeGetMcuTime()
154 SysTime_t calendarTime = SysTimeSub( sysTime, deltaTime ); in SysTimeToMs() local
[all …]