Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 27) sorted by relevance

12

/loramac-node-latest/src/boards/NucleoL476/
Drtc-board.c280 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
283 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
292 RtcStartAlarm( timeout ); in RtcSetAlarm()
307 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
321 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
323 timeout >>= N_PREDIV_S; in RtcStartAlarm()
327 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
329 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
335 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
337 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/SKiM881AXL/
Drtc-board.c281 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
284 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
293 RtcStartAlarm( timeout ); in RtcSetAlarm()
308 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
322 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
324 timeout >>= N_PREDIV_S; in RtcStartAlarm()
328 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
330 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
336 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
338 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/NucleoL152/
Drtc-board.c280 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
283 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
292 RtcStartAlarm( timeout ); in RtcSetAlarm()
307 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
321 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
323 timeout >>= N_PREDIV_S; in RtcStartAlarm()
327 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
329 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
335 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
337 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/NucleoL073/
Drtc-board.c281 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
284 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
293 RtcStartAlarm( timeout ); in RtcSetAlarm()
308 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
322 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
324 timeout >>= N_PREDIV_S; in RtcStartAlarm()
328 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
330 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
336 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
338 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/NAMote72/
Drtc-board.c280 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
283 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
292 RtcStartAlarm( timeout ); in RtcSetAlarm()
307 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
321 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
323 timeout >>= N_PREDIV_S; in RtcStartAlarm()
327 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
329 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
335 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
337 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/B-L072Z-LRWAN1/
Drtc-board.c281 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
284 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
293 RtcStartAlarm( timeout ); in RtcSetAlarm()
308 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
322 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
324 timeout >>= N_PREDIV_S; in RtcStartAlarm()
328 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
330 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
336 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
338 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/SKiM980A/
Drtc-board.c280 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
283 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
292 RtcStartAlarm( timeout ); in RtcSetAlarm()
307 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
321 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
323 timeout >>= N_PREDIV_S; in RtcStartAlarm()
327 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
329 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
335 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
337 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/boards/SKiM880B/
Drtc-board.c280 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
283 if( ( int64_t )MIN_ALARM_DELAY < ( int64_t )( timeout - RtcGetTimerElapsedTime( ) ) ) in RtcSetAlarm()
292 RtcStartAlarm( timeout ); in RtcSetAlarm()
307 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
321 rtcAlarmSubSeconds += ( timeout & PREDIV_S ); in RtcStartAlarm()
323 timeout >>= N_PREDIV_S; in RtcStartAlarm()
327 while( timeout >= TM_SECONDS_IN_1DAY ) in RtcStartAlarm()
329 timeout -= TM_SECONDS_IN_1DAY; in RtcStartAlarm()
335 while( timeout >= TM_SECONDS_IN_1HOUR ) in RtcStartAlarm()
337 timeout -= TM_SECONDS_IN_1HOUR; in RtcStartAlarm()
[all …]
/loramac-node-latest/src/radio/sx126x/
Dsx126x.c163 void SX126xSendPayload( uint8_t *payload, uint8_t size, uint32_t timeout ) in SX126xSendPayload() argument
166 SX126xSetTx( timeout ); in SX126xSendPayload()
290 void SX126xSetTx( uint32_t timeout ) in SX126xSetTx() argument
296 buf[0] = ( uint8_t )( ( timeout >> 16 ) & 0xFF ); in SX126xSetTx()
297 buf[1] = ( uint8_t )( ( timeout >> 8 ) & 0xFF ); in SX126xSetTx()
298 buf[2] = ( uint8_t )( timeout & 0xFF ); in SX126xSetTx()
302 void SX126xSetRx( uint32_t timeout ) in SX126xSetRx() argument
310 buf[0] = ( uint8_t )( ( timeout >> 16 ) & 0xFF ); in SX126xSetRx()
311 buf[1] = ( uint8_t )( ( timeout >> 8 ) & 0xFF ); in SX126xSetRx()
312 buf[2] = ( uint8_t )( timeout & 0xFF ); in SX126xSetRx()
[all …]
Dradio.c173 uint8_t HopPeriod, bool iqInverted, uint32_t timeout );
238 void RadioRx( uint32_t timeout );
329 void RadioRxBoosted( uint32_t timeout );
768 uint8_t hopPeriod, bool iqInverted, uint32_t timeout ) in RadioSetTxConfig() argument
865 TxTimeout = timeout; in RadioSetTxConfig()
1064 void RadioRx( uint32_t timeout ) in RadioRx() argument
1071 if( timeout != 0 ) in RadioRx()
1073 TimerSetValue( &RxTimeoutTimer, timeout ); in RadioRx()
1087 void RadioRxBoosted( uint32_t timeout ) in RadioRxBoosted() argument
1094 if( timeout != 0 ) in RadioRxBoosted()
[all …]
Dsx126x.h792 void SX126xSendPayload( uint8_t *payload, uint8_t size, uint32_t timeout );
870 void SX126xSetTx( uint32_t timeout );
877 void SX126xSetRx( uint32_t timeout );
884 void SX126xSetRxBoosted( uint32_t timeout );
1035 void SX126xSetDio3AsTcxoCtrl( RadioTcxoCtrlVoltage_t tcxoVoltage, uint32_t timeout );
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_ll_rtc.c769 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
784 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
788 timeout --; in LL_RTC_EnterInitMode()
791 if (timeout == 0U) in LL_RTC_EnterInitMode()
840 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
852 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
856 timeout--; in LL_RTC_WaitForSynchro()
859 if (timeout == 0U) in LL_RTC_WaitForSynchro()
867 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
869 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
Dstm32l1xx_hal_sd.c1108 uint32_t timeout = Timeout; in HAL_SD_CheckReadOperation() local
1117 while ((tmp1 == 0) && (tmp2 == 0) && (tmp3 == SD_OK) && (timeout > 0)) in HAL_SD_CheckReadOperation()
1122 timeout--; in HAL_SD_CheckReadOperation()
1125 timeout = Timeout; in HAL_SD_CheckReadOperation()
1128 while((__HAL_SD_SDIO_GET_FLAG(hsd, SDIO_FLAG_RXACT)) && (timeout > 0)) in HAL_SD_CheckReadOperation()
1130 timeout--; in HAL_SD_CheckReadOperation()
1139 if ((timeout == 0) && (errorstate == SD_OK)) in HAL_SD_CheckReadOperation()
1168 uint32_t timeout = Timeout; in HAL_SD_CheckWriteOperation() local
1177 while ((tmp1 == 0) && (tmp2 == 0) && (tmp3 == SD_OK) && (timeout > 0)) in HAL_SD_CheckWriteOperation()
1182 timeout--; in HAL_SD_CheckWriteOperation()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_rtc.c757 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
772 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
776 timeout --; in LL_RTC_EnterInitMode()
779 if (timeout == 0U) in LL_RTC_EnterInitMode()
828 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
840 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
844 timeout--; in LL_RTC_WaitForSynchro()
847 if (timeout == 0U) in LL_RTC_WaitForSynchro()
855 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
857 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_ll_rtc.c758 __IO uint32_t timeout = RTC_INITMODE_TIMEOUT; in LL_RTC_EnterInitMode() local
773 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_EnterInitMode()
777 timeout --; in LL_RTC_EnterInitMode()
780 if (timeout == 0U) in LL_RTC_EnterInitMode()
829 __IO uint32_t timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro() local
841 while ((timeout != 0U) && (tmp != 0U)) in LL_RTC_WaitForSynchro()
845 timeout--; in LL_RTC_WaitForSynchro()
848 if (timeout == 0U) in LL_RTC_WaitForSynchro()
856 timeout = RTC_SYNCHRO_TIMEOUT; in LL_RTC_WaitForSynchro()
858 while ((timeout != 0U) && (tmp != 1U)) in LL_RTC_WaitForSynchro()
[all …]
/loramac-node-latest/src/radio/lr1110/
Dradio.c170 uint8_t HopPeriod, bool iqInverted, uint32_t timeout );
235 void RadioRx( uint32_t timeout );
326 void RadioRxBoosted( uint32_t timeout );
716 uint8_t hopPeriod, bool iqInverted, uint32_t timeout ) in RadioSetTxConfig() argument
804 TxTimeout = timeout; in RadioSetTxConfig()
1009 void RadioRx( uint32_t timeout ) in RadioRx() argument
1018 if( timeout != 0 ) in RadioRx()
1020 TimerSetValue( &RxTimeoutTimer, timeout ); in RadioRx()
1036 void RadioRxBoosted( uint32_t timeout ) in RadioRxBoosted() argument
1043 if( timeout != 0 ) in RadioRxBoosted()
[all …]
/loramac-node-latest/src/boards/SAMR34/
Drtc-board.c158 void RtcSetAlarm( uint32_t timeout ) in RtcSetAlarm() argument
160 RtcStartAlarm( timeout ); in RtcSetAlarm()
168 void RtcStartAlarm( uint32_t timeout ) in RtcStartAlarm() argument
174 RtcTimerContext.Delay = timeout; in RtcStartAlarm()
/loramac-node-latest/src/radio/
Dradio.h249 uint8_t hopPeriod, bool iqInverted, uint32_t timeout );
308 void ( *Rx )( uint32_t timeout );
393 void ( *RxBoosted )( uint32_t timeout );
/loramac-node-latest/src/boards/
Drtc-board.h99 void RtcSetAlarm( uint32_t timeout );
113 void RtcStartAlarm( uint32_t timeout );
/loramac-node-latest/src/radio/sx1272/
Dsx1272.c85 static void SX1272SetTx( uint32_t timeout );
567 uint8_t hopPeriod, bool iqInverted, uint32_t timeout ) in SX1272SetTxConfig() argument
587 SX1272.Settings.Fsk.TxTimeout = timeout; in SX1272SetTxConfig()
621 SX1272.Settings.LoRa.TxTimeout = timeout; in SX1272SetTxConfig()
816 void SX1272SetRx( uint32_t timeout ) in SX1272SetRx() argument
905 if( timeout != 0 ) in SX1272SetRx()
907 TimerSetValue( &RxTimeoutTimer, timeout ); in SX1272SetRx()
934 static void SX1272SetTx( uint32_t timeout ) in SX1272SetTx() argument
938 TimerSetValue( &TxTimeoutTimer, timeout ); in SX1272SetTx()
1033 uint32_t timeout = ( uint32_t )time * 1000; in SX1272SetTxContinuousWave() local
[all …]
Dsx1272.h307 uint8_t hopPeriod, bool iqInverted, uint32_t timeout );
363 void SX1272SetRx( uint32_t timeout );
/loramac-node-latest/src/radio/sx1276/
Dsx1276.c93 static void SX1276SetTx( uint32_t timeout );
645 uint8_t hopPeriod, bool iqInverted, uint32_t timeout ) in SX1276SetTxConfig() argument
665 SX1276.Settings.Fsk.TxTimeout = timeout; in SX1276SetTxConfig()
705 SX1276.Settings.LoRa.TxTimeout = timeout; in SX1276SetTxConfig()
902 void SX1276SetRx( uint32_t timeout ) in SX1276SetRx() argument
1038 if( timeout != 0 ) in SX1276SetRx()
1040 TimerSetValue( &RxTimeoutTimer, timeout ); in SX1276SetRx()
1067 static void SX1276SetTx( uint32_t timeout ) in SX1276SetTx() argument
1071 TimerSetValue( &TxTimeoutTimer, timeout ); in SX1276SetTx()
1166 uint32_t timeout = ( uint32_t )time * 1000; in SX1276SetTxContinuousWave() local
[all …]
Dsx1276.h311 uint8_t hopPeriod, bool iqInverted, uint32_t timeout );
367 void SX1276SetRx( uint32_t timeout );
/loramac-node-latest/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c1413 uint32_t timeout = 65535; in _sercom_i2c_sync_wait_bus() local
1419 if (timeout-- == 0) { in _sercom_i2c_sync_wait_bus()
1531 int timeout = 65535; in _i2c_m_enable_implementation() local
1539 timeout--; in _i2c_m_enable_implementation()
1541 if (timeout <= 0) { in _i2c_m_enable_implementation()
/loramac-node-latest/
DCHANGELOG.md225 - Updated behavior of `SX126xSetLoRaSymbNumTimeout` to round up the timeout to the nearest possible…
610 - Optimization of the RX symbol timeout
649 - Reset status of `NodeAckRequested` if we received an ACK or in case of timeout
766 - Increased FSK SyncWord timeout value in order to listen for longer time if a down link is availab…
914 - Changed radio callbacks events to timeout when it is a timeout event and error when it is a CRC e…
1075 …radio driver the possibility to choose the preamble length and rxSingle symbol timeout in reception

12