LL RCC Generic Driver
LL API cross
reference:
LL_RCC_GetAPB2Prescaler
Function name
Function description
Return values
Reference Manual to
LL API cross
reference:
LL_RCC_ConfigMCO
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
1018/1371
__STATIC_INLINE uint32_t LL_RCC_GetAPB2Prescaler (void )
Get APB2 prescaler.
Returned: value can be one of the following values:
LL_RCC_APB2_DIV_1
LL_RCC_APB2_DIV_2
LL_RCC_APB2_DIV_4
LL_RCC_APB2_DIV_8
LL_RCC_APB2_DIV_16
CFGR PPRE2 LL_RCC_GetAPB2Prescaler
__STATIC_INLINE void LL_RCC_ConfigMCO (uint32_t
MCOxSource, uint32_t MCOxPrescaler)
Configure MCOx.
MCOxSource: This parameter can be one of the following
values:
LL_RCC_MCO1SOURCE_HSI
LL_RCC_MCO1SOURCE_LSE
LL_RCC_MCO1SOURCE_HSE
LL_RCC_MCO1SOURCE_PLLCLK
LL_RCC_MCO2SOURCE_SYSCLK
LL_RCC_MCO2SOURCE_PLLI2S
LL_RCC_MCO2SOURCE_HSE
LL_RCC_MCO2SOURCE_PLLCLK
MCOxPrescaler: This parameter can be one of the following
values:
LL_RCC_MCO1_DIV_1
LL_RCC_MCO1_DIV_2
LL_RCC_MCO1_DIV_3
LL_RCC_MCO1_DIV_4
LL_RCC_MCO1_DIV_5
LL_RCC_MCO2_DIV_1
LL_RCC_MCO2_DIV_2
LL_RCC_MCO2_DIV_3
LL_RCC_MCO2_DIV_4
LL_RCC_MCO2_DIV_5
None:
CFGR MCO1 LL_RCC_ConfigMCO
CFGR MCO1PRE LL_RCC_ConfigMCO
CFGR MCO2 LL_RCC_ConfigMCO
CFGR MCO2PRE LL_RCC_ConfigMCO
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers