STM32L486xx HAL User Manual
Functions
System
RCC Exported Functions

Functions

__STATIC_INLINE void LL_RCC_SetSysClkSource (uint32_t Source)
 Configure the system clock source.
__STATIC_INLINE uint32_t LL_RCC_GetSysClkSource (void)
 Get the system clock source.
__STATIC_INLINE void LL_RCC_SetAHBPrescaler (uint32_t Prescaler)
 Set AHB prescaler.
__STATIC_INLINE void LL_RCC_SetAPB1Prescaler (uint32_t Prescaler)
 Set APB1 prescaler.
__STATIC_INLINE void LL_RCC_SetAPB2Prescaler (uint32_t Prescaler)
 Set APB2 prescaler.
__STATIC_INLINE uint32_t LL_RCC_GetAHBPrescaler (void)
 Get AHB prescaler.
__STATIC_INLINE uint32_t LL_RCC_GetAPB1Prescaler (void)
 Get APB1 prescaler.
__STATIC_INLINE uint32_t LL_RCC_GetAPB2Prescaler (void)
 Get APB2 prescaler.
__STATIC_INLINE void LL_RCC_SetClkAfterWakeFromStop (uint32_t Clock)
 Set Clock After Wake-Up From Stop mode.
__STATIC_INLINE uint32_t LL_RCC_GetClkAfterWakeFromStop (void)
 Get Clock After Wake-Up From Stop mode.

Function Documentation

__STATIC_INLINE uint32_t LL_RCC_GetAHBPrescaler ( void  )

Get AHB prescaler.

Reference Manual to LL API cross reference:
CFGR HPRE LL_RCC_GetAHBPrescaler
Return values:
Returnedvalue can be one of the following values:

Definition at line 2745 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_GetHCLKClockFreq().

__STATIC_INLINE uint32_t LL_RCC_GetAPB1Prescaler ( void  )

Get APB1 prescaler.

Reference Manual to LL API cross reference:
CFGR PPRE1 LL_RCC_GetAPB1Prescaler
Return values:
Returnedvalue can be one of the following values:

Definition at line 2760 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_GetPCLK1ClockFreq().

__STATIC_INLINE uint32_t LL_RCC_GetAPB2Prescaler ( void  )

Get APB2 prescaler.

Reference Manual to LL API cross reference:
CFGR PPRE2 LL_RCC_GetAPB2Prescaler
Return values:
Returnedvalue can be one of the following values:

Definition at line 2775 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_GetPCLK2ClockFreq().

__STATIC_INLINE uint32_t LL_RCC_GetClkAfterWakeFromStop ( void  )

Get Clock After Wake-Up From Stop mode.

Reference Manual to LL API cross reference:
CFGR STOPWUCK LL_RCC_GetClkAfterWakeFromStop
Return values:
Returnedvalue can be one of the following values:

Definition at line 2800 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_GetSysClkSource ( void  )

Get the system clock source.

Reference Manual to LL API cross reference:
CFGR SWS LL_RCC_GetSysClkSource
Return values:
Returnedvalue can be one of the following values:

Definition at line 2674 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_GetSystemClockFreq(), and UTILS_EnablePLLAndSwitchSystem().

__STATIC_INLINE void LL_RCC_SetAHBPrescaler ( uint32_t  Prescaler)

Set AHB prescaler.

Reference Manual to LL API cross reference:
CFGR HPRE LL_RCC_SetAHBPrescaler
Parameters:
PrescalerThis parameter can be one of the following values:
Return values:
None

Definition at line 2694 of file stm32l4xx_ll_rcc.h.

Referenced by LL_PLL_ConfigSystemClock_HSE(), LL_PLL_ConfigSystemClock_HSI(), LL_PLL_ConfigSystemClock_MSI(), and UTILS_EnablePLLAndSwitchSystem().

__STATIC_INLINE void LL_RCC_SetAPB1Prescaler ( uint32_t  Prescaler)

Set APB1 prescaler.

Reference Manual to LL API cross reference:
CFGR PPRE1 LL_RCC_SetAPB1Prescaler
Parameters:
PrescalerThis parameter can be one of the following values:
Return values:
None

Definition at line 2710 of file stm32l4xx_ll_rcc.h.

Referenced by UTILS_EnablePLLAndSwitchSystem().

__STATIC_INLINE void LL_RCC_SetAPB2Prescaler ( uint32_t  Prescaler)

Set APB2 prescaler.

Reference Manual to LL API cross reference:
CFGR PPRE2 LL_RCC_SetAPB2Prescaler
Parameters:
PrescalerThis parameter can be one of the following values:
Return values:
None

Definition at line 2726 of file stm32l4xx_ll_rcc.h.

Referenced by UTILS_EnablePLLAndSwitchSystem().

__STATIC_INLINE void LL_RCC_SetClkAfterWakeFromStop ( uint32_t  Clock)

Set Clock After Wake-Up From Stop mode.

Reference Manual to LL API cross reference:
CFGR STOPWUCK LL_RCC_SetClkAfterWakeFromStop
Parameters:
ClockThis parameter can be one of the following values:
Return values:
None

Definition at line 2788 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_SetSysClkSource ( uint32_t  Source)

Configure the system clock source.

Reference Manual to LL API cross reference:
CFGR SW LL_RCC_SetSysClkSource
Parameters:
SourceThis parameter can be one of the following values:
Return values:
None

Definition at line 2660 of file stm32l4xx_ll_rcc.h.

Referenced by UTILS_EnablePLLAndSwitchSystem().