Home
last modified time | relevance | path

Searched refs:vcoinput (Results 1 – 4 of 4) sorted by relevance

/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_rcc_ex.c575 uint32_t vcoinput = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local
597 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIM)); in HAL_RCCEx_GetPeriphCLKFreq()
602 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIM))); in HAL_RCCEx_GetPeriphCLKFreq()
607 frequency = (vcoinput * ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIN) >> 6U))/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq()
622 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SM)); in HAL_RCCEx_GetPeriphCLKFreq()
627 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SM))); in HAL_RCCEx_GetPeriphCLKFreq()
633 frequency = (vcoinput * ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> 6U))/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq()
648 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM)); in HAL_RCCEx_GetPeriphCLKFreq()
653 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM))); in HAL_RCCEx_GetPeriphCLKFreq()
659 frequency = (vcoinput * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6U))/(tmpreg1); in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32f4xx_hal_sai_ex.c178 uint32_t vcoinput = 0U, tmpreg = 0U; in SAI_GetInputClock() local
197 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM)); in SAI_GetInputClock()
202 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM))); in SAI_GetInputClock()
213 saiclocksource = (vcoinput * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6U)) / (tmpreg); in SAI_GetInputClock()
228 saiclocksource = (vcoinput * ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> 6U)) / (tmpreg); in SAI_GetInputClock()
260 saiclocksource = (vcoinput * ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIN) >> 6U)) / (tmpreg); in SAI_GetInputClock()
274 saiclocksource = (vcoinput * ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> 6U)) / (tmpreg); in SAI_GetInputClock()
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_rcc_ex.c1389 uint32_t vcoinput = 0; in HAL_RCCEx_GetPeriphCLKFreq() local
1406 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM)); in HAL_RCCEx_GetPeriphCLKFreq()
1411 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM))); in HAL_RCCEx_GetPeriphCLKFreq()
1416 frequency = (vcoinput * ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIN) >> 6))/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq()
1430 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM)); in HAL_RCCEx_GetPeriphCLKFreq()
1435 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM))); in HAL_RCCEx_GetPeriphCLKFreq()
1441 frequency = (vcoinput * ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> 6))/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq()
1489 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM)); in HAL_RCCEx_GetPeriphCLKFreq()
1494 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM))); in HAL_RCCEx_GetPeriphCLKFreq()
1499 frequency = (vcoinput * ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIN) >> 6))/(tmpreg); in HAL_RCCEx_GetPeriphCLKFreq()
[all …]
Dstm32f7xx_hal_i2s.c1655 uint32_t vcoinput; in I2S_GetClockFreq() local
1671 vcoinput = (HSI_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM)); in I2S_GetClockFreq()
1676 vcoinput = ((HSE_VALUE / (uint32_t)(RCC->PLLCFGR & RCC_PLLCFGR_PLLM))); in I2S_GetClockFreq()
1682 i2sclocksource = (vcoinput * ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SN) >> 6U)) / (tmpreg); in I2S_GetClockFreq()