UM1940
__LL_RCC_CALC_PLLI2S_I2S_FREQ
__LL_RCC_CALC_HCLK_FREQ
Return value:
PLL: clock frequency (in Hz)
Notes:
ex:
__LL_RCC_CALC_PLLCLK_48M_FREQ
(HSE_VALUE,LL_RCC_PLL_GetDivider
(), LL_RCC_PLL_GetN (),
LL_RCC_PLL_GetQ ());
Description:
Helper macro to calculate the PLLI2S
frequency used for I2S domain.
Parameters:
__INPUTFREQ__: PLL Input frequency
(based on HSE/HSI)
__PLLM__: This parameter can be one of
the following values:
__PLLI2SN__: Between 192 and 432
__PLLI2SR__: This parameter can be one
of the following values:
Return value:
PLLI2S: clock frequency (in Hz)
PLLI2S: clock frequency (in Hz)
Notes:
ex:
__LL_RCC_CALC_PLLI2S_I2S_FREQ
(HSE_VALUE,LL_RCC_PLL_GetDivider
(), LL_RCC_PLLI2S_GetN (),
LL_RCC_PLLI2S_GetR ());
Description:
Helper macro to calculate the HCLK
frequency.
Parameters:
__SYSCLKFREQ__: SYSCLK frequency
(based on HSE/HSI/PLLCLK)
__AHBPRESCALER__: This parameter
can be one of the following values:
DocID028236 Rev 2
LL RCC Generic Driver
LL_RCC_PLLQ_DIV_13
LL_RCC_PLLQ_DIV_14
LL_RCC_PLLQ_DIV_15
LL_RCC_PLLI2SR_DIV_2
LL_RCC_PLLI2SR_DIV_3
LL_RCC_PLLI2SR_DIV_4
LL_RCC_PLLI2SR_DIV_5
LL_RCC_PLLI2SR_DIV_6
LL_RCC_PLLI2SR_DIV_7
LL_RCC_SYSCLK_DIV_1
1053/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers