/loramac-node-latest/src/system/ |
D | systime.c | 78 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 …]
|
D | systime.h | 87 int16_t SubSeconds; member
|
/loramac-node-latest/src/mac/ |
D | LoRaMacClassB.c | 268 ( 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 …]
|
D | LoRaMac.c | 2560 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/ |
D | rtc-board.c | 176 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/ |
D | rtc-board.c | 177 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/ |
D | rtc-board.c | 176 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/ |
D | rtc-board.c | 177 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/ |
D | rtc-board.c | 176 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/ |
D | rtc-board.c | 177 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/ |
D | rtc-board.c | 176 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/ |
D | rtc-board.c | 176 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/ |
D | stm32l0xx_hal_rtc.c | 552 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()
|
D | stm32l0xx_hal_rtc_ex.c | 334 sTimeStamp->SubSeconds = (uint32_t) hrtc->Instance->TSSSR; in HAL_RTCEx_GetTimeStamp()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_hal_rtc.c | 952 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()
|
D | stm32l4xx_hal_rtc_ex.c | 444 sTimeStamp->SubSeconds = (uint32_t) hrtc->Instance->TSSSR; in HAL_RTCEx_GetTimeStamp()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_hal_rtc_ex.c | 260 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/ |
D | LmhpRemoteMcastSetup.c | 419 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpRemoteMcastSetupOnMcpsIndication() 486 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpRemoteMcastSetupOnMcpsIndication()
|
D | LmhpClockSync.c | 253 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpClockSyncOnMcpsIndication()
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_hal_rtc.h | 118 uint32_t SubSeconds; /*!< Specifies the RTC_SSR RTC Sub Second register content. member
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_hal_rtc.h | 122 uint32_t SubSeconds; /*!< Specifies the RTC_SSR RTC Sub Second register content. member
|
/loramac-node-latest/src/apps/LoRaMac/common/LmHandler/ |
D | LmHandler.c | 112 .Time = { .Seconds = 0, .SubSeconds = 0 },
|
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_hal_rtc_ex.h | 108 uint32_t SubSeconds; /*!< Specifies the RTC_SSR RTC Sub Second register content. member
|