Searched refs:vcoinput (Results 1 – 4 of 4) sorted by relevance
575 uint32_t vcoinput = 0U; in HAL_RCCEx_GetPeriphCLKFreq() local597 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 …]
178 uint32_t vcoinput = 0U, tmpreg = 0U; in SAI_GetInputClock() local197 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()
1389 uint32_t vcoinput = 0; in HAL_RCCEx_GetPeriphCLKFreq() local1406 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 …]
1655 uint32_t vcoinput; in I2S_GetClockFreq() local1671 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()