HAL + 0/1 examples
CodeScope will show references to LL_PLL_ConfigSystemClock_HSI() from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
UTILS
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_PLL_ConfigSystemClock_HSI()

LL_PLL_ConfigSystemClock_HSI() function

This function configures system clock at maximum frequency with HSI as clock source of the PLL

Arguments

UTILS_PLLInitStruct

pointer to a LL_UTILS_PLLInitTypeDef structure that contains the configuration information for the PLL.

UTILS_ClkInitStruct

pointer to a LL_UTILS_ClkInitTypeDef structure that contains the configuration information for the BUS prescalers.

Return value

An ErrorStatus enumeration value: - SUCCESS: Max frequency configuration done - ERROR: Max frequency configuration not done

Notes

The application need to ensure that PLL is disabled. Function is based on the following formula: - PLL output frequency = (((HSI frequency / PLLM) * PLLN) / PLLP) - PLLM: ensure that the VCO input frequency ranges from RCC_PLLVCO_INPUT_MIN to RCC_PLLVCO_INPUT_MAX (PLLVCO_input = HSI frequency / PLLM) - PLLN: ensure that the VCO output frequency is between RCC_PLLVCO_OUTPUT_MIN and RCC_PLLVCO_OUTPUT_MAX (PLLVCO_output = PLLVCO_input * PLLN) - PLLP: ensure that max frequency at 180000000 Hz is reach (PLLVCO_output / PLLP)

Examples

LL_PLL_ConfigSystemClock_HSI() is referenced by 1 libraries and example projects.

Call Tree

Functions called by LL_PLL_ConfigSystemClock_HSI()
LL_PLL_ConfigSystemClock_HSI()
Data read by LL_PLL_ConfigSystemClock_HSI()
Data written by LL_PLL_ConfigSystemClock_HSI()
LL_PLL_ConfigSystemClock_HSI()
LL_PLL_ConfigSystemClock_HSI()::status
LL_PLL_ConfigSystemClock_HSI()::pllfreq
all items filtered out
Type of LL_PLL_ConfigSystemClock_HSI()
LL_PLL_ConfigSystemClock_HSI()
uint32_t
all items filtered out