/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/ |
D | stm32l0xx_hal_rcc_ex.c | 397 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 …]
|
D | stm32l0xx_ll_rcc.c | 543 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/ |
D | stm32l4xx_hal_rcc_ex.c | 1170 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() 1309 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLCFGR, RCC_PLLCFGR_PLLQ) >> RCC_PLLCFGR_PLLQ_Pos)… in HAL_RCCEx_GetPeriphCLKFreq() 1329 …frequency = (pllvco * plln) / (((READ_BIT(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1Q) >> RCC_PLLSA… in HAL_RCCEx_GetPeriphCLKFreq() 1338 frequency = HSI48_VALUE; in HAL_RCCEx_GetPeriphCLKFreq() [all …]
|
D | stm32l4xx_ll_rcc.c | 1457 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/ |
D | stm32l1xx_hal_rcc_ex.c | 273 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()
|
D | stm32l1xx_ll_rcc.c | 211 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/ |
D | LoRaMacClassB.c | 291 uint32_t frequency = 0; in RxBeaconSetup() local 297 frequency = CalcDownlinkFrequency( 0, true ); in RxBeaconSetup() 302 …frequency = 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 1036 …frequency = CalcDownlinkChannelAndFrequency( *Ctx.LoRaMacClassBParams.LoRaMacDevAddr, Ctx.BeaconCt… in LoRaMacClassBProcessPingSlot() 1064 pingSlotRxConfig.Frequency = frequency; in LoRaMacClassBProcessPingSlot() [all …]
|
D | LoRaMacClassB.h | 469 uint8_t LoRaMacClassBPingSlotChannelReq( uint8_t datarate, uint32_t frequency ); 492 bool LoRaMacClassBBeaconFreqReq( uint32_t frequency );
|
/loramac-node-3.4.0/src/mac/region/ |
D | RegionCN470.c | 118 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() 742 …frequency = ChannelPlanCtx.GetRx2Frequency( RegionNvmGroup2->CommonJoinChannelIndex, RegionNvmGrou… in RegionCN470RxConfig() 749 frequency = CommonJoinChannels[rxConfig->Channel].Rx1Frequency; in RegionCN470RxConfig() 755 Radio.SetChannel( frequency ); in RegionCN470RxConfig()
|
D | RegionBaseUS.c | 148 uint32_t RegionBaseUSCalcDownlinkFrequency( uint8_t channel, uint32_t frequency, in RegionBaseUSCalcDownlinkFrequency() argument 152 return frequency + ( channel * stepwidth ); in RegionBaseUSCalcDownlinkFrequency()
|
D | RegionBaseUS.h | 89 uint32_t RegionBaseUSCalcDownlinkFrequency( uint8_t channel, uint32_t frequency,
|
D | RegionCN470A26.h | 165 bool RegionCN470A26VerifyRfFreq( uint32_t frequency );
|
D | RegionCN470B26.h | 165 bool RegionCN470B26VerifyRfFreq( uint32_t frequency );
|
D | RegionCN470A20.h | 183 bool RegionCN470A20VerifyRfFreq( uint32_t frequency );
|
D | RegionCN470B20.h | 207 bool RegionCN470B20VerifyRfFreq( uint32_t frequency );
|
D | RegionCN779.c | 477 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()
|
D | RegionEU433.c | 477 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()
|
D | RegionEU868.c | 508 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()
|
D | RegionIN865.c | 491 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()
|
D | RegionKR920.c | 489 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()
|
D | RegionRU864.c | 476 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/ |
D | LmhpCompliance.c | 587 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/ |
D | sx126x-board.h | 153 bool SX126xCheckRfFrequency( uint32_t frequency );
|
D | sx1272-board.h | 137 bool SX1272CheckRfFrequency( uint32_t frequency );
|
D | sx1276-board.h | 138 bool SX1276CheckRfFrequency( uint32_t frequency );
|