STM32H735xx HAL User Manual
Functions
UTILS Private functions
UTILS

Functions

static uint32_t UTILS_GetPLLOutputFrequency (uint32_t PLL_InputFrequency, LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct)
 Function to check that PLL can be modified.
static ErrorStatus UTILS_EnablePLLAndSwitchSystem (uint32_t SYSCLK_Frequency, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct)
 Function to enable PLL and switch system clock to PLL.
static ErrorStatus UTILS_IsPLLsReady (void)
 Check that all PLLs are ready therefore configuration can be done.

Function Documentation

static ErrorStatus UTILS_EnablePLLAndSwitchSystem ( uint32_t  SYSCLK_Frequency,
LL_UTILS_ClkInitTypeDef UTILS_ClkInitStruct 
) [static]
static uint32_t UTILS_GetPLLOutputFrequency ( uint32_t  PLL_InputFrequency,
LL_UTILS_PLLInitTypeDef UTILS_PLLInitStruct 
) [static]

Function to check that PLL can be modified.

Parameters:
PLL_InputFrequencyPLL input frequency (in Hz)
UTILS_PLLInitStructpointer to a LL_UTILS_PLLInitTypeDef structure that contains the configuration information for the PLL.
Return values:
PLLoutput frequency (in Hz)

Definition at line 919 of file stm32h7xx_ll_utils.c.

References assert_param, LL_UTILS_PLLInitTypeDef::FRACN, IS_LL_UTILS_FRACN_VALUE, IS_LL_UTILS_PLLM_VALUE, IS_LL_UTILS_PLLN_VALUE, IS_LL_UTILS_PLLP_VALUE, LL_RCC_CalcPLLClockFreq(), LL_UTILS_PLLInitTypeDef::PLLM, LL_UTILS_PLLInitTypeDef::PLLN, and LL_UTILS_PLLInitTypeDef::PLLP.

Referenced by LL_PLL_ConfigSystemClock_HSE(), and LL_PLL_ConfigSystemClock_HSI().

static ErrorStatus UTILS_IsPLLsReady ( void  ) [static]

Check that all PLLs are ready therefore configuration can be done.

Return values:
AnErrorStatus enumeration value:
  • SUCCESS: All PLLs are ready so configuration can be done
  • ERROR: One PLL at least is busy

Definition at line 940 of file stm32h7xx_ll_utils.c.

References LL_RCC_PLL1_IsReady(), LL_RCC_PLL2_IsReady(), and LL_RCC_PLL3_IsReady().

Referenced by LL_PLL_ConfigSystemClock_HSE(), and LL_PLL_ConfigSystemClock_HSI().