FreeRTOS/Demo/CORTEX_MPU_M7_NUCLEO_H743ZI2_GCC_IAR_Keil/ST_Code/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_utils.c
/**
  * @brief  Function to check that PLL can be modified
  * @param  PLL_InputFrequency  PLL input frequency (in Hz)
  * @param  UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains
  *                             the configuration information for the PLL.
  * @retval PLL output frequency (in Hz)
  */
@brief  Function to check that PLL can be modified
@param  PLL_InputFrequency  PLL input frequency (in Hz)
@param  UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains
the configuration information for the PLL.
@retval PLL output frequency (in Hz)
@brief Function to check that PLL can be modified @param PLL_InputFrequency PLL input frequency ( in Hz ) @param UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains the configuration information for the PLL . @retval PLL output frequency ( in Hz )
static uint32_t UTILS_GetPLLOutputFrequency(uint32_t PLL_InputFrequency, LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct)
{
  uint32_t pllfreq;
  assert_param(IS_LL_UTILS_PLLM_VALUE(UTILS_PLLInitStruct->PLLM));
  assert_param(IS_LL_UTILS_PLLN_VALUE(UTILS_PLLInitStruct->PLLN));
  assert_param(IS_LL_UTILS_PLLP_VALUE(UTILS_PLLInitStruct->PLLP));
  assert_param(IS_LL_UTILS_FRACN_VALUE(UTILS_PLLInitStruct->FRACN));
  pllfreq = LL_RCC_CalcPLLClockFreq(PLL_InputFrequency, UTILS_PLLInitStruct->PLLM, UTILS_PLLInitStruct->PLLN, UTILS_PLLInitStruct->FRACN, UTILS_PLLInitStruct->PLLP);
  return pllfreq;
}
static uint32_t UTILS_GetPLLOutputFrequency ( uint32_t PLL_InputFrequency , LL_UTILS_PLLInitTypeDef * UTILS_PLLInitStruct ) { uint32_t pllfreq ; assert_param ( IS_LL_UTILS_PLLM_VALUE ( UTILS_PLLInitStruct -> PLLM ) ) ; assert_param ( IS_LL_UTILS_PLLN_VALUE ( UTILS_PLLInitStruct -> PLLN ) ) ; assert_param ( IS_LL_UTILS_PLLP_VALUE ( UTILS_PLLInitStruct -> PLLP ) ) ; assert_param ( IS_LL_UTILS_FRACN_VALUE ( UTILS_PLLInitStruct -> FRACN ) ) ; pllfreq = LL_RCC_CalcPLLClockFreq ( PLL_InputFrequency , UTILS_PLLInitStruct -> PLLM , UTILS_PLLInitStruct -> PLLN , UTILS_PLLInitStruct -> FRACN , UTILS_PLLInitStruct -> PLLP ) ; return pllfreq ; }
@brief  Function to check that PLL can be modified
 @param  PLL_InputFrequency  PLL input frequency (in Hz)
 @param  UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains
                             the configuration information for the PLL.
@brief Function to check that PLL can be modified @param PLL_InputFrequency PLL input frequency ( in Hz ) @param UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains the configuration information for the PLL .
/* Check the parameters */