PLL Source and PLLM Divider can be written only when PLL,
PLLI2S are disabled
PLLN/PLLQ can be written only when PLL is disabled
This can be selected for USB, RNG, SDIO
Reference Manual to
LL API cross
reference:
PLLCFGR PLLSRC LL_RCC_PLL_ConfigDomain_48M
PLLCFGR PLLM LL_RCC_PLL_ConfigDomain_48M
PLLCFGR PLLN LL_RCC_PLL_ConfigDomain_48M
PLLCFGR PLLQ LL_RCC_PLL_ConfigDomain_48M
LL_RCC_PLL_GetN
__STATIC_INLINE uint32_t LL_RCC_PLL_GetN (void )
Get Main PLL multiplication factor for VCO.
Reference Manual to
LL API cross
reference:
PLLCFGR PLLN LL_RCC_PLL_GetN
LL_RCC_PLL_GetP
__STATIC_INLINE uint32_t LL_RCC_PLL_GetP (void )
Get Main PLL division factor for PLLP.
Returned: value can be one of the following values:
LL_RCC_PLLP_DIV_2
LL_RCC_PLLP_DIV_4
LL_RCC_PLLP_DIV_6
LL_RCC_PLLP_DIV_8
Reference Manual to
LL API cross
reference:
PLLCFGR PLLP LL_RCC_PLL_GetP
LL_RCC_PLL_GetQ
__STATIC_INLINE uint32_t LL_RCC_PLL_GetQ (void )
Get Main PLL division factor for PLLQ.
Returned: value can be one of the following values:
LL_RCC_PLLQ_DIV_2
LL_RCC_PLLQ_DIV_3
LL_RCC_PLLQ_DIV_4
LL_RCC_PLLQ_DIV_5
LL_RCC_PLLQ_DIV_6
LL_RCC_PLLQ_DIV_7
LL_RCC_PLLQ_DIV_8
LL_RCC_PLLQ_DIV_9
LL_RCC_PLLQ_DIV_10
LL_RCC_PLLQ_DIV_11
LL_RCC_PLLQ_DIV_12