Home
last modified time | relevance | path

Searched refs:smps_prescaler_index (Results 1 – 2 of 2) sorted by relevance

/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_rcc.c298 uint32_t smps_prescaler_index = ((LL_RCC_GetSMPSPrescaler()) >> RCC_SMPSCR_SMPSDIV_Pos); in LL_RCC_GetSMPSClockFreq() local
305 smps_frequency = HSI_VALUE / SmpsPrescalerTable[smps_prescaler_index][0]; in LL_RCC_GetSMPSClockFreq()
316 smps_frequency = HSE_VALUE / SmpsPrescalerTable[smps_prescaler_index][5]; in LL_RCC_GetSMPSClockFreq()
329 …requency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_8) / SmpsPrescalerTable[smps_prescaler_index][4]; in LL_RCC_GetSMPSClockFreq()
333 …requency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_9) / SmpsPrescalerTable[smps_prescaler_index][3]; in LL_RCC_GetSMPSClockFreq()
337 …equency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_10) / SmpsPrescalerTable[smps_prescaler_index][2]; in LL_RCC_GetSMPSClockFreq()
341 …equency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_11) / SmpsPrescalerTable[smps_prescaler_index][1]; in LL_RCC_GetSMPSClockFreq()
Dstm32wbxx_hal_rcc_ex.c555 uint32_t smps_prescaler_index = ((LL_RCC_GetSMPSPrescaler()) >> RCC_SMPSCR_SMPSDIV_Pos); in HAL_RCCEx_GetPeriphCLKFreq() local
1074 frequency = HSI_VALUE / SmpsPrescalerTable[smps_prescaler_index][0]; in HAL_RCCEx_GetPeriphCLKFreq()
1086 frequency = HSE_VALUE / SmpsPrescalerTable[smps_prescaler_index][5]; in HAL_RCCEx_GetPeriphCLKFreq()
1099 …requency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_8) / SmpsPrescalerTable[smps_prescaler_index][4]; in HAL_RCCEx_GetPeriphCLKFreq()
1102 …requency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_9) / SmpsPrescalerTable[smps_prescaler_index][3]; in HAL_RCCEx_GetPeriphCLKFreq()
1105 …equency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_10) / SmpsPrescalerTable[smps_prescaler_index][2]; in HAL_RCCEx_GetPeriphCLKFreq()
1108 …equency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSIRANGE_11) / SmpsPrescalerTable[smps_prescaler_index][1]; in HAL_RCCEx_GetPeriphCLKFreq()