/loramac-node-3.7.0/src/system/ |
D | systime.c | 78 SysTime_t c = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeAdd() 80 c.Seconds = a.Seconds + b.Seconds; in SysTimeAdd() 84 c.Seconds++; in SysTimeAdd() 92 SysTime_t c = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeSub() 94 c.Seconds = a.Seconds - b.Seconds; in SysTimeSub() 98 c.Seconds--; in SysTimeSub() 108 SysTime_t calendarTime = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeSet() 110 calendarTime.Seconds = RtcGetCalendarTime( ( uint16_t* )&calendarTime.SubSeconds ); in SysTimeSet() 115 RtcBkupWrite( deltaTime.Seconds, ( uint32_t )deltaTime.SubSeconds ); in SysTimeSet() 120 SysTime_t calendarTime = { .Seconds = 0, .SubSeconds = 0 }; in SysTimeGet() [all …]
|
D | systime.h | 86 uint32_t Seconds; member
|
/loramac-node-3.7.0/src/apps/LoRaMac/common/LmHandler/packages/ |
D | LmhpClockSync.c | 253 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpClockSyncOnMcpsIndication() 255 curTime.Seconds += timeCorrection; in LmhpClockSyncOnMcpsIndication() 285 curTime.Seconds -= UNIX_GPS_EPOCH_OFFSET; in LmhpClockSyncOnMcpsIndication() 286 LmhpClockSyncState.DataBuffer[dataBufferIndex++] = ( curTime.Seconds >> 0 ) & 0xFF; in LmhpClockSyncOnMcpsIndication() 287 LmhpClockSyncState.DataBuffer[dataBufferIndex++] = ( curTime.Seconds >> 8 ) & 0xFF; in LmhpClockSyncOnMcpsIndication() 288 LmhpClockSyncState.DataBuffer[dataBufferIndex++] = ( curTime.Seconds >> 16 ) & 0xFF; in LmhpClockSyncOnMcpsIndication() 289 LmhpClockSyncState.DataBuffer[dataBufferIndex++] = ( curTime.Seconds >> 24 ) & 0xFF; in LmhpClockSyncOnMcpsIndication() 354 curTime.Seconds -= UNIX_GPS_EPOCH_OFFSET; in LmhpClockSyncAppTimeReq() 357 LmhpClockSyncState.DataBuffer[dataBufferIndex++] = ( curTime.Seconds >> 0 ) & 0xFF; in LmhpClockSyncAppTimeReq() 358 LmhpClockSyncState.DataBuffer[dataBufferIndex++] = ( curTime.Seconds >> 8 ) & 0xFF; in LmhpClockSyncAppTimeReq() [all …]
|
D | LmhpRemoteMcastSetup.c | 419 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpRemoteMcastSetupOnMcpsIndication() 422 timeToSessionStart = McSessionData[id].SessionTime - curTime.Seconds; in LmhpRemoteMcastSetupOnMcpsIndication() 486 SysTime_t curTime = { .Seconds = 0, .SubSeconds = 0 }; in LmhpRemoteMcastSetupOnMcpsIndication() 489 timeToSessionStart = McSessionData[id].SessionTime - curTime.Seconds; in LmhpRemoteMcastSetupOnMcpsIndication()
|
D | LmhpCompliance.c | 605 …nceTestState.DataBufferSize++] = ( uint8_t )( ComplianceTestState.ClassBStatus.Info.Time.Seconds ); in SendBeaconRxStatusInd() 606 …stState.DataBufferSize++] = ( uint8_t )( ComplianceTestState.ClassBStatus.Info.Time.Seconds >> 8 ); in SendBeaconRxStatusInd() 607 …tState.DataBufferSize++] = ( uint8_t )( ComplianceTestState.ClassBStatus.Info.Time.Seconds >> 16 ); in SendBeaconRxStatusInd() 608 …tState.DataBufferSize++] = ( uint8_t )( ComplianceTestState.ClassBStatus.Info.Time.Seconds >> 24 ); in SendBeaconRxStatusInd()
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_ll_rtc.c | 309 assert_param(IS_LL_RTC_SECONDS(RTC_TimeStruct->Seconds)); in LL_RTC_TIME_Init() 324 assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Seconds))); in LL_RTC_TIME_Init() 337 RTC_TimeStruct->Minutes, RTC_TimeStruct->Seconds); in LL_RTC_TIME_Init() 343 __LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Seconds)); in LL_RTC_TIME_Init() 376 RTC_TimeStruct->Seconds = 0U; in LL_RTC_TIME_StructInit() 502 assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMA_Init() 527 assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Seconds))); in LL_RTC_ALMA_Init() 567 RTC_AlarmStruct->AlarmTime.Minutes, RTC_AlarmStruct->AlarmTime.Seconds); in LL_RTC_ALMA_Init() 574 __LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMA_Init() 620 assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMB_Init() [all …]
|
D | stm32l0xx_hal_rtc.c | 436 assert_param(IS_RTC_SECONDS(sTime->Seconds)); in HAL_RTC_SetTime() 440 ((uint32_t)RTC_ByteToBcd2(sTime->Seconds)) | \ in HAL_RTC_SetTime() 457 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 460 ((uint32_t)sTime->Seconds) | \ in HAL_RTC_SetTime() 563 sTime->Seconds = (uint8_t)(tmpreg & (RTC_TR_ST | RTC_TR_SU)); in HAL_RTC_GetTime() 572 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 784 assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds)); in HAL_RTC_SetAlarm() 797 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds)) | \ in HAL_RTC_SetAlarm() 818 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds))); in HAL_RTC_SetAlarm() 833 ((uint32_t) sAlarm->AlarmTime.Seconds) | \ in HAL_RTC_SetAlarm() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/ |
D | stm32l4xx_ll_rtc.c | 308 assert_param(IS_LL_RTC_SECONDS(RTC_TimeStruct->Seconds)); in LL_RTC_TIME_Init() 323 assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Seconds))); in LL_RTC_TIME_Init() 336 RTC_TimeStruct->Minutes, RTC_TimeStruct->Seconds); in LL_RTC_TIME_Init() 342 __LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Seconds)); in LL_RTC_TIME_Init() 375 RTC_TimeStruct->Seconds = 0U; in LL_RTC_TIME_StructInit() 501 assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMA_Init() 526 assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Seconds))); in LL_RTC_ALMA_Init() 566 RTC_AlarmStruct->AlarmTime.Minutes, RTC_AlarmStruct->AlarmTime.Seconds); in LL_RTC_ALMA_Init() 573 __LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMA_Init() 619 assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMB_Init() [all …]
|
D | stm32l4xx_hal_rtc.c | 851 assert_param(IS_RTC_SECONDS(sTime->Seconds)); in HAL_RTC_SetTime() 855 ((uint32_t)RTC_ByteToBcd2(sTime->Seconds) << RTC_TR_SU_Pos ) | \ in HAL_RTC_SetTime() 872 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 875 ((uint32_t)(sTime->Seconds) << RTC_TR_SU_Pos) | \ in HAL_RTC_SetTime() 963 sTime->Seconds = (uint8_t)((tmpreg & (RTC_TR_ST | RTC_TR_SU)) >> RTC_TR_SU_Pos); in HAL_RTC_GetTime() 972 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 1186 assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds)); in HAL_RTC_SetAlarm() 1198 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds) << RTC_ALRMAR_SU_Pos) | \ in HAL_RTC_SetAlarm() 1219 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds))); in HAL_RTC_SetAlarm() 1234 ((uint32_t)(sAlarm->AlarmTime.Seconds) << RTC_ALRMAR_SU_Pos) | \ in HAL_RTC_SetAlarm() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/ |
D | stm32l1xx_ll_rtc.c | 312 assert_param(IS_LL_RTC_SECONDS(RTC_TimeStruct->Seconds)); in LL_RTC_TIME_Init() 327 assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_TimeStruct->Seconds))); in LL_RTC_TIME_Init() 340 RTC_TimeStruct->Minutes, RTC_TimeStruct->Seconds); in LL_RTC_TIME_Init() 346 __LL_RTC_CONVERT_BIN2BCD(RTC_TimeStruct->Seconds)); in LL_RTC_TIME_Init() 383 RTC_TimeStruct->Seconds = 0U; in LL_RTC_TIME_StructInit() 513 assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMA_Init() 538 assert_param(IS_LL_RTC_SECONDS(__LL_RTC_CONVERT_BCD2BIN(RTC_AlarmStruct->AlarmTime.Seconds))); in LL_RTC_ALMA_Init() 578 RTC_AlarmStruct->AlarmTime.Minutes, RTC_AlarmStruct->AlarmTime.Seconds); in LL_RTC_ALMA_Init() 585 __LL_RTC_CONVERT_BIN2BCD(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMA_Init() 631 assert_param(IS_LL_RTC_SECONDS(RTC_AlarmStruct->AlarmTime.Seconds)); in LL_RTC_ALMB_Init() [all …]
|
D | stm32l1xx_hal_rtc_ex.c | 272 sTime->Seconds = (uint8_t)(tmpreg & (RTC_TR_ST | RTC_TR_SU)); in HAL_RTC_GetTime() 281 sTime->Seconds = (uint8_t)RTC_Bcd2ToByte(sTime->Seconds); in HAL_RTC_GetTime() 343 assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds)); in HAL_RTC_SetAlarm() 356 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds)) | \ in HAL_RTC_SetAlarm() 377 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds))); in HAL_RTC_SetAlarm() 392 ((uint32_t) sAlarm->AlarmTime.Seconds) | \ in HAL_RTC_SetAlarm() 539 assert_param(IS_RTC_SECONDS(sAlarm->AlarmTime.Seconds)); in HAL_RTC_SetAlarm_IT() 551 ((uint32_t)RTC_ByteToBcd2(sAlarm->AlarmTime.Seconds)) | \ in HAL_RTC_SetAlarm_IT() 572 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sAlarm->AlarmTime.Seconds))); in HAL_RTC_SetAlarm_IT() 586 ((uint32_t) sAlarm->AlarmTime.Seconds) | \ in HAL_RTC_SetAlarm_IT() [all …]
|
D | stm32l1xx_hal_rtc.c | 371 assert_param(IS_RTC_SECONDS(sTime->Seconds)); in HAL_RTC_SetTime() 375 ((uint32_t)RTC_ByteToBcd2(sTime->Seconds)) | \ in HAL_RTC_SetTime() 392 assert_param(IS_RTC_SECONDS(RTC_Bcd2ToByte(sTime->Seconds))); in HAL_RTC_SetTime() 395 ((uint32_t)sTime->Seconds) | \ in HAL_RTC_SetTime()
|
/loramac-node-3.7.0/src/mac/ |
D | LoRaMacClassB.c | 302 …frequency = CalcDownlinkChannelAndFrequency( 0, Ctx.BeaconCtx.BeaconTime.Seconds + ( CLASSB_BEACON… in RxBeaconSetup() 787 Ctx.BeaconCtx.NextBeaconRx.Seconds = 0; in LoRaMacClassBProcessBeacon() 828 Ctx.BeaconCtx.BeaconTime.Seconds += ( CLASSB_BEACON_INTERVAL / 1000 ); in LoRaMacClassBProcessBeacon() 990 ComputePingOffset( Ctx.BeaconCtx.BeaconTime.Seconds, in LoRaMacClassBProcessPingSlot() 1038 …linkChannelAndFrequency( *Ctx.LoRaMacClassBParams.LoRaMacDevAddr, Ctx.BeaconCtx.BeaconTime.Seconds, in LoRaMacClassBProcessPingSlot() 1139 ComputePingOffset( Ctx.BeaconCtx.BeaconTime.Seconds, in LoRaMacClassBProcessMulticastSlot() 1224 … Ctx.BeaconCtx.BeaconTime.Seconds, CLASSB_BEACON_INTERVAL, false ); in LoRaMacClassBProcessMulticastSlot() 1322 …Ctx.BeaconCtx.BeaconTime.Seconds = ( ( uint32_t )payload[phyParam.BeaconFormat.Rfu1Size + 1] ) & … in LoRaMacClassBRxBeacon() 1323 …Ctx.BeaconCtx.BeaconTime.Seconds |= ( ( uint32_t )( payload[phyParam.BeaconFormat.Rfu1Size + 2] <<… in LoRaMacClassBRxBeacon() 1324 …Ctx.BeaconCtx.BeaconTime.Seconds |= ( ( uint32_t )( payload[phyParam.BeaconFormat.Rfu1Size + 3] <<… in LoRaMacClassBRxBeacon() [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/ |
D | stm32l1xx_ll_rtc.h | 144 uint8_t Seconds; /*!< Specifies the RTC Time Seconds. member 1207 __STATIC_INLINE void LL_RTC_TIME_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_TIME_SetSecond() argument 1210 (((Seconds & 0xF0U) << (RTC_TR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_TR_SU_Pos))); in LL_RTC_TIME_SetSecond() 1255 …Config(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) in LL_RTC_TIME_Config() argument 1262 (((Seconds & 0xF0U) << (RTC_TR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_TR_SU_Pos)); in LL_RTC_TIME_Config() 1887 __STATIC_INLINE void LL_RTC_ALMA_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_ALMA_SetSecond() argument 1890 … (((Seconds & 0xF0U) << (RTC_ALRMAR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_ALRMAR_SU_Pos))); in LL_RTC_ALMA_SetSecond() 1927 …igTime(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) in LL_RTC_ALMA_ConfigTime() argument 1933 … (((Seconds & 0xF0U) << (RTC_ALRMAR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_ALRMAR_SU_Pos)); in LL_RTC_ALMA_ConfigTime() 2267 __STATIC_INLINE void LL_RTC_ALMB_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_ALMB_SetSecond() argument [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/ |
D | stm32l0xx_ll_rtc.h | 182 uint8_t Seconds; /*!< Specifies the RTC Time Seconds. member 1218 __STATIC_INLINE void LL_RTC_TIME_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_TIME_SetSecond() argument 1221 … (((Seconds & 0xF0U) << (RTC_POSITION_TR_ST - 4U)) | ((Seconds & 0x0FU) << RTC_POSITION_TR_SU))); in LL_RTC_TIME_SetSecond() 1266 …Config(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) in LL_RTC_TIME_Config() argument 1273 … (((Seconds & 0xF0U) << (RTC_POSITION_TR_ST - 4U)) | ((Seconds & 0x0FU) << RTC_POSITION_TR_SU)); in LL_RTC_TIME_Config() 1894 __STATIC_INLINE void LL_RTC_ALMA_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_ALMA_SetSecond() argument 1897 …(((Seconds & 0xF0U) << (RTC_POSITION_ALMA_ST - 4U)) | ((Seconds & 0x0FU) << RTC_POSITION_ALMA_SU))… in LL_RTC_ALMA_SetSecond() 1934 …igTime(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) in LL_RTC_ALMA_ConfigTime() argument 1940 …(((Seconds & 0xF0U) << (RTC_POSITION_ALMA_ST - 4U)) | ((Seconds & 0x0FU) << RTC_POSITION_ALMA_SU)); in LL_RTC_ALMA_ConfigTime() 2272 __STATIC_INLINE void LL_RTC_ALMB_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_ALMB_SetSecond() argument [all …]
|
/loramac-node-3.7.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/ |
D | stm32l4xx_ll_rtc.h | 144 uint8_t Seconds; /*!< Specifies the RTC Time Seconds. member 1479 __STATIC_INLINE void LL_RTC_TIME_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_TIME_SetSecond() argument 1482 (((Seconds & 0xF0U) << (RTC_TR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_TR_SU_Pos))); in LL_RTC_TIME_SetSecond() 1524 …Config(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) in LL_RTC_TIME_Config() argument 1531 (((Seconds & 0xF0U) << (RTC_TR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_TR_SU_Pos)); in LL_RTC_TIME_Config() 2145 __STATIC_INLINE void LL_RTC_ALMA_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_ALMA_SetSecond() argument 2148 … (((Seconds & 0xF0U) << (RTC_ALRMAR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_ALRMAR_SU_Pos))); in LL_RTC_ALMA_SetSecond() 2182 …igTime(RTC_TypeDef *RTCx, uint32_t Format12_24, uint32_t Hours, uint32_t Minutes, uint32_t Seconds) in LL_RTC_ALMA_ConfigTime() argument 2188 … (((Seconds & 0xF0U) << (RTC_ALRMAR_ST_Pos - 4U)) | ((Seconds & 0x0FU) << RTC_ALRMAR_SU_Pos)); in LL_RTC_ALMA_ConfigTime() 2511 __STATIC_INLINE void LL_RTC_ALMB_SetSecond(RTC_TypeDef *RTCx, uint32_t Seconds) in LL_RTC_ALMB_SetSecond() argument [all …]
|
/loramac-node-3.7.0/src/boards/NucleoL152/ |
D | rtc-board.c | 175 time.Seconds = 0; in RtcInit() 350 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 395 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 457 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/boards/NAMote72/ |
D | rtc-board.c | 175 time.Seconds = 0; in RtcInit() 350 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 395 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 457 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/boards/NucleoL073/ |
D | rtc-board.c | 176 time.Seconds = 0; in RtcInit() 351 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 396 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 458 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/boards/SKiM880B/ |
D | rtc-board.c | 175 time.Seconds = 0; in RtcInit() 350 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 395 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 457 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/boards/SKiM881AXL/ |
D | rtc-board.c | 176 time.Seconds = 0; in RtcInit() 351 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 396 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 458 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/boards/B-L072Z-LRWAN1/ |
D | rtc-board.c | 176 time.Seconds = 0; in RtcInit() 351 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 396 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 458 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/boards/SKiM980A/ |
D | rtc-board.c | 175 time.Seconds = 0; in RtcInit() 350 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 395 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 457 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/boards/NucleoL476/ |
D | rtc-board.c | 175 time.Seconds = 0; in RtcInit() 350 rtcAlarmSeconds = time.Seconds + timeout; in RtcStartAlarm() 395 RtcAlarm.AlarmTime.Seconds = rtcAlarmSeconds; in RtcStartAlarm() 457 seconds += ( ( uint32_t )time->Seconds + in RtcGetCalendarValue()
|
/loramac-node-3.7.0/src/mac/region/ |
D | RegionCommon.c | 109 if( elapsedTimeSinceStartup.Seconds < BACKOFF_DUTY_CYCLE_1_HOUR_IN_S ) in SetMaxTimeCredits() 113 else if( elapsedTimeSinceStartup.Seconds < BACKOFF_DUTY_CYCLE_10_HOURS_IN_S ) in SetMaxTimeCredits() 148 if( elapsedTimeSinceStartup.Seconds < BACKOFF_DUTY_CYCLE_1_HOUR_IN_S ) in UpdateTimeCredits() 152 else if( elapsedTimeSinceStartup.Seconds < BACKOFF_DUTY_CYCLE_10_HOURS_IN_S ) in UpdateTimeCredits()
|