Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/system/
Dgps.c319 uint8_t j = 0; in GpsParseGpsData() local
341 for( j = 0; j < fieldSize; j++, i++ ) in GpsParseGpsData()
343 NmeaGpsData.NmeaDataType[j] = rxBuffer[i]; in GpsParseGpsData()
357 for( j = 0; j < fieldSize; j++, i++ ) in GpsParseGpsData()
359 NmeaGpsData.NmeaUtcTime[j] = rxBuffer[i]; in GpsParseGpsData()
370 for( j = 0; j < fieldSize; j++, i++ ) in GpsParseGpsData()
372 NmeaGpsData.NmeaLatitude[j] = rxBuffer[i]; in GpsParseGpsData()
383 for( j = 0; j < fieldSize; j++, i++ ) in GpsParseGpsData()
385 NmeaGpsData.NmeaLatitudePole[j] = rxBuffer[i]; in GpsParseGpsData()
396 for( j = 0; j < fieldSize; j++, i++ ) in GpsParseGpsData()
[all …]
/loramac-node-3.4.0/src/mac/region/
DRegionCommon.c209 for( uint8_t j = 0; j < nbBits; j++ ) in CountChannels() local
211 if( ( mask & ( 1 << j ) ) == ( 1 << j ) ) in CountChannels()
228 for( uint8_t j = 0; j < 16; j++ ) in RegionCommonChanVerifyDr() local
230 if( ( ( channelsMask[k] & ( 1 << j ) ) != 0 ) ) in RegionCommonChanVerifyDr()
232 if( RegionCommonValueInRange( dr, ( channels[i + j].DrRange.Fields.Min & 0x0F ), in RegionCommonChanVerifyDr()
233 … ( channels[i + j].DrRange.Fields.Max & 0x0F ) ) == 1 ) in RegionCommonChanVerifyDr()
561 for( uint8_t j = 0; j < 16; j++ ) in RegionCommonCountNbOfEnabledChannels() local
563 if( ( countNbOfEnabledChannelsParams->ChannelsMask[k] & ( 1 << j ) ) != 0 ) in RegionCommonCountNbOfEnabledChannels()
565 if( countNbOfEnabledChannelsParams->Channels[i + j].Frequency == 0 ) in RegionCommonCountNbOfEnabledChannels()
572 if( ( countNbOfEnabledChannelsParams->JoinChannels[k] & ( 1 << j ) ) == 0 ) in RegionCommonCountNbOfEnabledChannels()
[all …]
DRegionKR920.c814 for( uint8_t i = 0, j = randr( 0, nbEnabledChannels - 1 ); i < KR920_MAX_NB_CHANNELS; i++ ) in RegionKR920NextChannel() local
816 channelNext = enabledChannels[j]; in RegionKR920NextChannel()
817 j = ( j + 1 ) % nbEnabledChannels; in RegionKR920NextChannel()
DRegionAS923.c920 for( uint8_t i = 0, j = randr( 0, nbEnabledChannels - 1 ); i < AS923_MAX_NB_CHANNELS; i++ ) in RegionAS923NextChannel() local
922 channelNext = enabledChannels[j]; in RegionAS923NextChannel()
923 j = ( j + 1 ) % nbEnabledChannels; in RegionAS923NextChannel()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_ext_irq.c102 uint8_t i = 0, j = 0; in ext_irq_register() local
129 for (; (j < EXT_IRQ_AMOUNT) && (i < EXT_IRQ_AMOUNT); j++) { in ext_irq_register()
130 if ((ext_irqs[i].pin < ext_irqs[j].pin) && (ext_irqs[j].pin != 0xFFFFFFFF)) { in ext_irq_register()
131 struct ext_irq tmp = ext_irqs[j]; in ext_irq_register()
133 ext_irqs[j] = ext_irqs[i]; in ext_irq_register()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_dcmi.c1457 uint32_t j = 1; in DCMI_TransferSize() local
1469 while (j < NPRIME) in DCMI_TransferSize()
1471 if (temp < PrimeArray[j]) in DCMI_TransferSize()
1475 while ((temp % PrimeArray[j]) == 0U) in DCMI_TransferSize()
1477 aPrime[j]++; in DCMI_TransferSize()
1478 temp /= PrimeArray[j]; in DCMI_TransferSize()
1480 j++; in DCMI_TransferSize()
1488 j = NPRIME-1U; in DCMI_TransferSize()
1489 while ((j > 0U) && (output <= 0xFFFEU)) in DCMI_TransferSize()
1491 while (aPrime[j] > 0U) in DCMI_TransferSize()
[all …]
/loramac-node-3.4.0/src/apps/LoRaMac/common/LmHandler/packages/
DFragDecoder.c436 int32_t i, j; in FragDecoderProcess() local
446 for( j = ( FragDecoder.Status.FragNbLost - 1 ); j > i; j--) in FragDecoderProcess()
449 … FragExtractLineFromBinaryMatrix( dataTempVector, j, FragDecoder.Status.FragNbLost ); in FragDecoderProcess()
450 if( GetParity( j, dataTempVector2 ) == 1 ) in FragDecoderProcess()
454 lj = FragFindMissingIndex( j ); in FragDecoderProcess()
/loramac-node-3.4.0/src/mac/
DLoRaMacClassB.c398 for( uint16_t j = 0; j < 8; ++j ) in BeaconCrc() local