Home
last modified time | relevance | path

Searched refs:frequency (Results 1 – 25 of 61) sorted by relevance

123

/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_rcc_ex.c397 uint32_t temp_reg = 0U, clkprediv = 0U, frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local
422 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
427 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
439 frequency = HSE_VALUE / 16U; in HAL_RCCEx_GetPeriphCLKFreq()
444 frequency = HSE_VALUE / 8U; in HAL_RCCEx_GetPeriphCLKFreq()
449 frequency = HSE_VALUE / 4U; in HAL_RCCEx_GetPeriphCLKFreq()
454 frequency = HSE_VALUE / 2U; in HAL_RCCEx_GetPeriphCLKFreq()
462 frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
498 frequency = (pllvco/ plldiv); in HAL_RCCEx_GetPeriphCLKFreq()
503 frequency = HSI48_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32l0xx_ll_rcc.c543 uint32_t frequency = 0U; in RCC_GetSystemClockFreq() local
549 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq()
553 frequency = HSI_VALUE; in RCC_GetSystemClockFreq()
557 frequency = HSE_VALUE; in RCC_GetSystemClockFreq()
561 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq()
565 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq()
569 return frequency; in RCC_GetSystemClockFreq()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc_ex.c1170 uint32_t frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local
1190 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
1197 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
1204 frequency = HSE_VALUE / 32U; in HAL_RCCEx_GetPeriphCLKFreq()
1262 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI1, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
1270 frequency = RCCEx_GetSAIxPeriphCLKFreq(RCC_PERIPHCLK_SAI2, pllvco); in HAL_RCCEx_GetPeriphCLKFreq()
1297 frequency = MSIRangeTable[(__HAL_RCC_GET_MSI_RANGE() >> 4U)]; in HAL_RCCEx_GetPeriphCLKFreq()
1309frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq()
1329frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1Q) >> RCC_PLLSA… in HAL_RCCEx_GetPeriphCLKFreq()
1338 frequency = HSI48_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32l4xx_ll_rcc.c1457 uint32_t frequency; in RCC_GetSystemClockFreq() local
1463 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_GetSystemClockFreq()
1470 frequency = HSI_VALUE; in RCC_GetSystemClockFreq()
1474 frequency = HSE_VALUE; in RCC_GetSystemClockFreq()
1478 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq()
1482 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_IsEnabledRangeSelect(), in RCC_GetSystemClockFreq()
1489 return frequency; in RCC_GetSystemClockFreq()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_rcc_ex.c273 uint32_t temp_reg = 0U, clkprediv = 0U, frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local
295 frequency = LSE_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
300 frequency = LSI_VALUE; in HAL_RCCEx_GetPeriphCLKFreq()
312 frequency = HSE_VALUE / 16U; in HAL_RCCEx_GetPeriphCLKFreq()
317 frequency = HSE_VALUE / 8U; in HAL_RCCEx_GetPeriphCLKFreq()
322 frequency = HSE_VALUE / 4U; in HAL_RCCEx_GetPeriphCLKFreq()
327 frequency = HSE_VALUE / 2U; in HAL_RCCEx_GetPeriphCLKFreq()
335 frequency = 0U; in HAL_RCCEx_GetPeriphCLKFreq()
344 return(frequency); in HAL_RCCEx_GetPeriphCLKFreq()
Dstm32l1xx_ll_rcc.c211 uint32_t frequency = 0U; in RCC_GetSystemClockFreq() local
217 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq()
221 frequency = HSI_VALUE; in RCC_GetSystemClockFreq()
225 frequency = HSE_VALUE; in RCC_GetSystemClockFreq()
229 frequency = RCC_PLL_GetFreqDomain_SYS(); in RCC_GetSystemClockFreq()
233 frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange()); in RCC_GetSystemClockFreq()
237 return frequency; in RCC_GetSystemClockFreq()
/loramac-node-3.4.0/src/mac/
DLoRaMacClassB.c291 uint32_t frequency = 0; in RxBeaconSetup() local
297 frequency = CalcDownlinkFrequency( 0, true ); in RxBeaconSetup()
302frequency = CalcDownlinkChannelAndFrequency( 0, Ctx.BeaconCtx.BeaconTime.Seconds + ( CLASSB_BEACON… in RxBeaconSetup()
309 frequency = ClassBNvm->BeaconCtx.Frequency; in RxBeaconSetup()
316 frequency = CalcDownlinkFrequency( Ctx.BeaconCtx.BeaconTimingChannel, true ); in RxBeaconSetup()
321 rxBeaconSetup.Frequency = frequency; in RxBeaconSetup()
325 Ctx.LoRaMacClassBParams.MlmeIndication->BeaconInfo.Frequency = frequency; in RxBeaconSetup()
1030 uint32_t frequency = ClassBNvm->PingSlotCtx.Frequency; in LoRaMacClassBProcessPingSlot() local
1036frequency = CalcDownlinkChannelAndFrequency( *Ctx.LoRaMacClassBParams.LoRaMacDevAddr, Ctx.BeaconCt… in LoRaMacClassBProcessPingSlot()
1064 pingSlotRxConfig.Frequency = frequency; in LoRaMacClassBProcessPingSlot()
[all …]
DLoRaMacClassB.h469 uint8_t LoRaMacClassBPingSlotChannelReq( uint8_t datarate, uint32_t frequency );
492 bool LoRaMacClassBBeaconFreqReq( uint32_t frequency );
/loramac-node-3.4.0/src/mac/region/
DRegionCN470.c118 bool ( *VerifyRfFreq )( uint32_t frequency );
275 static bool VerifyRfFreq( uint32_t frequency ) in VerifyRfFreq() argument
278 if( Radio.CheckRfFrequency( frequency ) == false ) in VerifyRfFreq()
283 return ChannelPlanCtx.VerifyRfFreq( frequency ); in VerifyRfFreq()
722 uint32_t frequency = rxConfig->Frequency; in RegionCN470RxConfig() local
737 frequency = ChannelPlanCtx.GetRx1Frequency( rxConfig->Channel ); in RegionCN470RxConfig()
742frequency = ChannelPlanCtx.GetRx2Frequency( RegionNvmGroup2->CommonJoinChannelIndex, RegionNvmGrou… in RegionCN470RxConfig()
749 frequency = CommonJoinChannels[rxConfig->Channel].Rx1Frequency; in RegionCN470RxConfig()
755 Radio.SetChannel( frequency ); in RegionCN470RxConfig()
DRegionBaseUS.c148 uint32_t RegionBaseUSCalcDownlinkFrequency( uint8_t channel, uint32_t frequency, in RegionBaseUSCalcDownlinkFrequency() argument
152 return frequency + ( channel * stepwidth ); in RegionBaseUSCalcDownlinkFrequency()
DRegionBaseUS.h89 uint32_t RegionBaseUSCalcDownlinkFrequency( uint8_t channel, uint32_t frequency,
DRegionCN470A26.h165 bool RegionCN470A26VerifyRfFreq( uint32_t frequency );
DRegionCN470B26.h165 bool RegionCN470B26VerifyRfFreq( uint32_t frequency );
DRegionCN470A20.h183 bool RegionCN470A20VerifyRfFreq( uint32_t frequency );
DRegionCN470B20.h207 bool RegionCN470B20VerifyRfFreq( uint32_t frequency );
DRegionCN779.c477 uint32_t frequency = rxConfig->Frequency; in RegionCN779RxConfig() local
487 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionCN779RxConfig()
491 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionCN779RxConfig()
498 Radio.SetChannel( frequency ); in RegionCN779RxConfig()
DRegionEU433.c477 uint32_t frequency = rxConfig->Frequency; in RegionEU433RxConfig() local
487 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionEU433RxConfig()
491 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionEU433RxConfig()
498 Radio.SetChannel( frequency ); in RegionEU433RxConfig()
DRegionEU868.c508 uint32_t frequency = rxConfig->Frequency; in RegionEU868RxConfig() local
518 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionEU868RxConfig()
522 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionEU868RxConfig()
529 Radio.SetChannel( frequency ); in RegionEU868RxConfig()
DRegionIN865.c491 uint32_t frequency = rxConfig->Frequency; in RegionIN865RxConfig() local
501 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionIN865RxConfig()
505 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionIN865RxConfig()
512 Radio.SetChannel( frequency ); in RegionIN865RxConfig()
DRegionKR920.c489 uint32_t frequency = rxConfig->Frequency; in RegionKR920RxConfig() local
499 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionKR920RxConfig()
503 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionKR920RxConfig()
510 Radio.SetChannel( frequency ); in RegionKR920RxConfig()
DRegionRU864.c476 uint32_t frequency = rxConfig->Frequency; in RegionRU864RxConfig() local
486 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Frequency; in RegionRU864RxConfig()
490 frequency = RegionNvmGroup2->Channels[rxConfig->Channel].Rx1Frequency; in RegionRU864RxConfig()
497 Radio.SetChannel( frequency ); in RegionRU864RxConfig()
/loramac-node-3.4.0/src/apps/LoRaMac/common/LmHandler/packages/
DLmhpCompliance.c587 uint32_t frequency = ComplianceTestState.ClassBStatus.Info.Frequency / 100; in SendBeaconRxStatusInd() local
594 ComplianceTestState.DataBuffer[ComplianceTestState.DataBufferSize++] = ( uint8_t )( frequency ); in SendBeaconRxStatusInd()
595 …ComplianceTestState.DataBuffer[ComplianceTestState.DataBufferSize++] = ( uint8_t )( frequency >> 8… in SendBeaconRxStatusInd()
596 …ComplianceTestState.DataBuffer[ComplianceTestState.DataBufferSize++] = ( uint8_t )( frequency >> 1… in SendBeaconRxStatusInd()
/loramac-node-3.4.0/src/boards/
Dsx126x-board.h153 bool SX126xCheckRfFrequency( uint32_t frequency );
Dsx1272-board.h137 bool SX1272CheckRfFrequency( uint32_t frequency );
Dsx1276-board.h138 bool SX1276CheckRfFrequency( uint32_t frequency );

123