Home
last modified time | relevance | path

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

/loramac-node-latest/src/system/
Dsystime.c78 SysTime_t c = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeAdd()
81 c.SubSeconds = a.SubSeconds + b.SubSeconds; in SysTimeAdd()
82 if( c.SubSeconds >= 1000 ) in SysTimeAdd()
85 c.SubSeconds -= 1000; in SysTimeAdd()
92 SysTime_t c = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeSub()
95 c.SubSeconds = a.SubSeconds - b.SubSeconds; in SysTimeSub()
96 if( c.SubSeconds < 0 ) in SysTimeSub()
99 c.SubSeconds += 1000; in SysTimeSub()
108 SysTime_t calendarTime = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeSet()
110 calendarTime.Seconds = RtcGetCalendarTime( ( uint16_t* )&calendarTime.SubSeconds ); in SysTimeSet()
[all …]
Dsystime.h87 int16_t SubSeconds; member
/loramac-node-latest/src/mac/
DLoRaMacClassB.c268 ( uint32_t ) Ctx.BeaconCtx.BeaconTimePrecision.SubSeconds ); in CalculateBeaconRxWindowConfig()
788 Ctx.BeaconCtx.NextBeaconRx.SubSeconds = 0; in LoRaMacClassBProcessBeacon()
829 Ctx.BeaconCtx.BeaconTime.SubSeconds = 0; in LoRaMacClassBProcessBeacon()
1006 ( uint32_t ) Ctx.BeaconCtx.BeaconTimePrecision.SubSeconds ); in LoRaMacClassBProcessPingSlot()
1181 ( uint32_t ) Ctx.BeaconCtx.BeaconTimePrecision.SubSeconds ); in LoRaMacClassBProcessMulticastSlot()
1319 …Ctx.BeaconCtx.BeaconTimePrecision.SubSeconds = BeaconPrecTimeValue[Ctx.LoRaMacClassBParams.MlmeInd… in LoRaMacClassBRxBeacon()
1326 Ctx.BeaconCtx.BeaconTime.SubSeconds = 0; in LoRaMacClassBRxBeacon()
1366 timeOnAir.SubSeconds = time - timeOnAir.Seconds * 1000; in LoRaMacClassBRxBeacon()
1694 nextBeacon.SubSeconds = 0; in LoRaMacClassBDeviceTimeAns()
1697 …aconCtx.NextBeaconRx, ( SysTime_t ){ .Seconds = CLASSB_BEACON_INTERVAL / 1000, .SubSeconds = 0 } ); in LoRaMacClassBDeviceTimeAns()
[all …]
DLoRaMac.c2560 gpsEpochTime.SubSeconds = payload[macIndex++]; in ProcessMacCommands()
2564 … gpsEpochTime.SubSeconds = ( int16_t )( ( ( int32_t )gpsEpochTime.SubSeconds * 1000 ) >> 8 ); in ProcessMacCommands()
/loramac-node-latest/src/boards/NucleoL476/
Drtc-board.c176 time.SubSeconds = 0; in RtcInit()
320 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
393 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
461 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/SKiM881AXL/
Drtc-board.c177 time.SubSeconds = 0; in RtcInit()
321 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
394 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
462 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/NucleoL152/
Drtc-board.c176 time.SubSeconds = 0; in RtcInit()
320 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
393 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
461 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/NucleoL073/
Drtc-board.c177 time.SubSeconds = 0; in RtcInit()
321 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
394 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
462 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/NAMote72/
Drtc-board.c176 time.SubSeconds = 0; in RtcInit()
320 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
393 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
461 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Drtc-board.c177 time.SubSeconds = 0; in RtcInit()
321 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
394 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
462 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/SKiM980A/
Drtc-board.c176 time.SubSeconds = 0; in RtcInit()
320 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
393 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
461 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/SKiM880B/
Drtc-board.c176 time.SubSeconds = 0; in RtcInit()
320 rtcAlarmSubSeconds = PREDIV_S - time.SubSeconds; in RtcStartAlarm()
393 RtcAlarm.AlarmTime.SubSeconds = PREDIV_S - rtcAlarmSubSeconds; in RtcStartAlarm()
461 calendarValue = ( ( ( uint64_t )seconds ) << N_PREDIV_S ) + ( PREDIV_S - time->SubSeconds ); in RtcGetCalendarValue()
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_rtc.c552 sTime->SubSeconds = (uint32_t)(hrtc->Instance->SSR); in HAL_RTC_GetTime()
763 assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds)); in HAL_RTC_SetAlarm()
841 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm()
947 assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds)); in HAL_RTC_SetAlarm_IT()
1022 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm_IT()
1237 sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg; in HAL_RTC_GetAlarm()
1254 sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg; in HAL_RTC_GetAlarm()
Dstm32l0xx_hal_rtc_ex.c334 sTimeStamp->SubSeconds = (uint32_t) hrtc->Instance->TSSSR; in HAL_RTCEx_GetTimeStamp()
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c952 sTime->SubSeconds = (uint32_t)(hrtc->Instance->SSR); in HAL_RTC_GetTime()
1165 assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds)); in HAL_RTC_SetAlarm()
1242 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm()
1350 assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds)); in HAL_RTC_SetAlarm_IT()
1427 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm_IT()
1641 sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg; in HAL_RTC_GetAlarm()
1658 sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg; in HAL_RTC_GetAlarm()
Dstm32l4xx_hal_rtc_ex.c444 sTimeStamp->SubSeconds = (uint32_t) hrtc->Instance->TSSSR; in HAL_RTCEx_GetTimeStamp()
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_rtc_ex.c260 sTime->SubSeconds = (uint32_t)((hrtc->Instance->SSR) & RTC_SSR_SS); in HAL_RTC_GetTime()
321 assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds)); in HAL_RTC_SetAlarm()
401 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm()
517 assert_param(IS_RTC_ALARM_SUB_SECOND_VALUE(sAlarm->AlarmTime.SubSeconds)); in HAL_RTC_SetAlarm_IT()
594 …subsecondtmpreg = (uint32_t)((uint32_t)(sAlarm->AlarmTime.SubSeconds) | (uint32_t)(sAlarm->AlarmSu… in HAL_RTC_SetAlarm_IT()
742 sAlarm->AlarmTime.SubSeconds = (uint32_t) subsecondtmpreg; in HAL_RTC_GetAlarm()
1032 sTimeStamp->SubSeconds = (uint32_t)((hrtc->Instance->TSSSR) & RTC_TSSSR_SS); in HAL_RTCEx_GetTimeStamp()
/loramac-node-latest/src/apps/LoRaMac/common/LmHandler/packages/
DLmhpRemoteMcastSetup.c419 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpRemoteMcastSetupOnMcpsIndication()
486 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpRemoteMcastSetupOnMcpsIndication()
DLmhpClockSync.c253 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpClockSyncOnMcpsIndication()
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_hal_rtc.h118 uint32_t SubSeconds; /*!< Specifies the RTC_SSR RTC Sub Second register content. member
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_hal_rtc.h122 uint32_t SubSeconds; /*!< Specifies the RTC_SSR RTC Sub Second register content. member
/loramac-node-latest/src/apps/LoRaMac/common/LmHandler/
DLmHandler.c112 .Time = { .Seconds = 0, .SubSeconds = 0 },
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_hal_rtc_ex.h108 uint32_t SubSeconds; /*!< Specifies the RTC_SSR RTC Sub Second register content. member