STM32L486xx HAL User Manual
Functions
PLLSAI1
RCC Exported Functions

Functions

__STATIC_INLINE void LL_RCC_PLLSAI1_Enable (void)
 Enable PLLSAI1.
__STATIC_INLINE void LL_RCC_PLLSAI1_Disable (void)
 Disable PLLSAI1.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_IsReady (void)
 Check if PLLSAI1 Ready.
__STATIC_INLINE void LL_RCC_PLLSAI1_ConfigDomain_48M (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLQ)
 Configure PLLSAI1 used for 48Mhz domain clock.
__STATIC_INLINE void LL_RCC_PLLSAI1_ConfigDomain_SAI (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP)
 Configure PLLSAI1 used for SAI domain clock.
__STATIC_INLINE void LL_RCC_PLLSAI1_ConfigDomain_ADC (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR)
 Configure PLLSAI1 used for ADC domain clock.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetN (void)
 Get SAI1PLL multiplication factor for VCO.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetP (void)
 Get SAI1PLL division factor for PLLSAI1P.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetQ (void)
 Get SAI1PLL division factor for PLLSAI1Q.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetR (void)
 Get PLLSAI1 division factor for PLLSAIR.
__STATIC_INLINE void LL_RCC_PLLSAI1_EnableDomain_SAI (void)
 Enable PLLSAI1 output mapped on SAI domain clock.
__STATIC_INLINE void LL_RCC_PLLSAI1_DisableDomain_SAI (void)
 Disable PLLSAI1 output mapped on SAI domain clock.
__STATIC_INLINE void LL_RCC_PLLSAI1_EnableDomain_48M (void)
 Enable PLLSAI1 output mapped on 48MHz domain clock.
__STATIC_INLINE void LL_RCC_PLLSAI1_DisableDomain_48M (void)
 Disable PLLSAI1 output mapped on 48MHz domain clock.
__STATIC_INLINE void LL_RCC_PLLSAI1_EnableDomain_ADC (void)
 Enable PLLSAI1 output mapped on ADC domain clock.
__STATIC_INLINE void LL_RCC_PLLSAI1_DisableDomain_ADC (void)
 Disable PLLSAI1 output mapped on ADC domain clock.

Function Documentation

__STATIC_INLINE void LL_RCC_PLLSAI1_ConfigDomain_48M ( uint32_t  Source,
uint32_t  PLLM,
uint32_t  PLLN,
uint32_t  PLLQ 
)

Configure PLLSAI1 used for 48Mhz domain clock.

Note:
PLL Source and PLLM Divider can be written only when PLL, PLLSAI1 and PLLSAI2 (*) are disabled.
PLLSAI1N/PLLSAI1Q can be written only when PLLSAI1 is disabled.
This can be selected for USB, RNG, SDMMC
Reference Manual to LL API cross reference:
PLLCFGR PLLSRC LL_RCC_PLLSAI1_ConfigDomain_48M
PLLCFGR PLLM LL_RCC_PLLSAI1_ConfigDomain_48M
PLLSAI1CFGR PLLSAI1N LL_RCC_PLLSAI1_ConfigDomain_48M
PLLSAI1CFGR PLLSAI1Q LL_RCC_PLLSAI1_ConfigDomain_48M
Parameters:
SourceThis parameter can be one of the following values:
PLLMThis parameter can be one of the following values:
PLLNBetween 8 and 86
PLLQThis parameter can be one of the following values:
Return values:
None

Definition at line 4213 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_ConfigDomain_ADC ( uint32_t  Source,
uint32_t  PLLM,
uint32_t  PLLN,
uint32_t  PLLR 
)

Configure PLLSAI1 used for ADC domain clock.

Note:
PLL Source and PLLM Divider can be written only when PLL, PLLSAI1 and PLLSAI2 (*) are disabled.
PLLN/PLLR can be written only when PLLSAI1 is disabled.
This can be selected for ADC
Reference Manual to LL API cross reference:
PLLCFGR PLLSRC LL_RCC_PLLSAI1_ConfigDomain_ADC
PLLCFGR PLLM LL_RCC_PLLSAI1_ConfigDomain_ADC
PLLSAI1CFGR PLLSAI1N LL_RCC_PLLSAI1_ConfigDomain_ADC
PLLSAI1CFGR PLLSAI1R LL_RCC_PLLSAI1_ConfigDomain_ADC
Parameters:
SourceThis parameter can be one of the following values:
PLLMThis parameter can be one of the following values:
PLLNBetween 8 and 86
PLLRThis parameter can be one of the following values:
Return values:
None

Definition at line 4474 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_ConfigDomain_SAI ( uint32_t  Source,
uint32_t  PLLM,
uint32_t  PLLN,
uint32_t  PLLP 
)

Configure PLLSAI1 used for SAI domain clock.

Note:
PLL Source and PLLM Divider can be written only when PLL, PLLSAI1 and PLLSAI2 (*) are disabled.
PLLSAI1N/PLLSAI1P can be written only when PLLSAI1 is disabled.
This can be selected for SAI1 or SAI2 (*)
Reference Manual to LL API cross reference:
PLLCFGR PLLSRC LL_RCC_PLLSAI1_ConfigDomain_SAI
PLLCFGR PLLM LL_RCC_PLLSAI1_ConfigDomain_SAI
PLLSAI1CFGR PLLSAI1N LL_RCC_PLLSAI1_ConfigDomain_SAI
PLLSAI1CFGR PLLSAI1P LL_RCC_PLLSAI1_ConfigDomain_SAI
Parameters:
SourceThis parameter can be one of the following values:
PLLMThis parameter can be one of the following values:
PLLNBetween 8 and 86
PLLPThis parameter can be one of the following values:
Return values:
None

Definition at line 4388 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_Disable ( void  )

Disable PLLSAI1.

Reference Manual to LL API cross reference:
CR PLLSAI1ON LL_RCC_PLLSAI1_Disable
Return values:
None

Definition at line 4119 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_DisableDomain_48M ( void  )

Disable PLLSAI1 output mapped on 48MHz domain clock.

Note:
In order to save power, when of the PLLSAI1 is not used, should be 0
Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1QEN LL_RCC_PLLSAI1_DisableDomain_48M
Return values:
None

Definition at line 4644 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_DisableDomain_ADC ( void  )

Disable PLLSAI1 output mapped on ADC domain clock.

Note:
In order to save power, when of the PLLSAI1 is not used, Main PLLSAI1 should be 0
Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1REN LL_RCC_PLLSAI1_DisableDomain_ADC
Return values:
None

Definition at line 4666 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_DisableDomain_SAI ( void  )

Disable PLLSAI1 output mapped on SAI domain clock.

Note:
In order to save power, when of the PLLSAI1 is not used, should be 0
Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1PEN LL_RCC_PLLSAI1_DisableDomain_SAI
Return values:
None

Definition at line 4622 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_Enable ( void  )

Enable PLLSAI1.

Reference Manual to LL API cross reference:
CR PLLSAI1ON LL_RCC_PLLSAI1_Enable
Return values:
None

Definition at line 4109 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_EnableDomain_48M ( void  )

Enable PLLSAI1 output mapped on 48MHz domain clock.

Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1QEN LL_RCC_PLLSAI1_EnableDomain_48M
Return values:
None

Definition at line 4632 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_EnableDomain_ADC ( void  )

Enable PLLSAI1 output mapped on ADC domain clock.

Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1REN LL_RCC_PLLSAI1_EnableDomain_ADC
Return values:
None

Definition at line 4654 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_PLLSAI1_EnableDomain_SAI ( void  )

Enable PLLSAI1 output mapped on SAI domain clock.

Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1PEN LL_RCC_PLLSAI1_EnableDomain_SAI
Return values:
None

Definition at line 4610 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetN ( void  )

Get SAI1PLL multiplication factor for VCO.

Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1N LL_RCC_PLLSAI1_GetN
Return values:
Between8 and 86

Definition at line 4486 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_PLLSAI1_GetFreqDomain_48M(), RCC_PLLSAI1_GetFreqDomain_ADC(), and RCC_PLLSAI1_GetFreqDomain_SAI().

__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetP ( void  )

Get SAI1PLL division factor for PLLSAI1P.

Note:
Used for PLLSAI1CLK (SAI1 or SAI2 (*) clock).
Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1P LL_RCC_PLLSAI1_GetP
Return values:
Returnedvalue can be one of the following values:

Definition at line 4541 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_PLLSAI1_GetFreqDomain_SAI().

__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetQ ( void  )

Get SAI1PLL division factor for PLLSAI1Q.

Note:
Used PLL48M2CLK selected for USB, RNG, SDMMC (48 MHz clock)
Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1Q LL_RCC_PLLSAI1_GetQ
Return values:
Returnedvalue can be one of the following values:

Definition at line 4557 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_PLLSAI1_GetFreqDomain_48M().

__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_GetR ( void  )

Get PLLSAI1 division factor for PLLSAIR.

Note:
Used for PLLADC1CLK (ADC clock)
Reference Manual to LL API cross reference:
PLLSAI1CFGR PLLSAI1R LL_RCC_PLLSAI1_GetR
Return values:
Returnedvalue can be one of the following values:

Definition at line 4572 of file stm32l4xx_ll_rcc.h.

Referenced by RCC_PLLSAI1_GetFreqDomain_ADC().

__STATIC_INLINE uint32_t LL_RCC_PLLSAI1_IsReady ( void  )

Check if PLLSAI1 Ready.

Reference Manual to LL API cross reference:
CR PLLSAI1RDY LL_RCC_PLLSAI1_IsReady
Return values:
Stateof bit (1 or 0).

Definition at line 4129 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetADCClockFreq(), LL_RCC_GetRNGClockFreq(), LL_RCC_GetSAIClockFreq(), LL_RCC_GetSDMMCClockFreq(), LL_RCC_GetUSBClockFreq(), and UTILS_PLL_IsBusy().