LL_RCC_SYSCLK_DIV_2
LL_RCC_SYSCLK_DIV_4
LL_RCC_SYSCLK_DIV_8
LL_RCC_SYSCLK_DIV_16
LL_RCC_SYSCLK_DIV_64
LL_RCC_SYSCLK_DIV_128
LL_RCC_SYSCLK_DIV_256
LL_RCC_SYSCLK_DIV_512
Return value:
HCLK: clock frequency (in Hz)
Description:
Helper macro to calculate the PCLK1
frequency (ABP1)
Parameters:
__HCLKFREQ__: HCLK frequency
__APB1PRESCALER__: This parameter
can be one of the following values:
LL_RCC_APB1_DIV_1
LL_RCC_APB1_DIV_2
LL_RCC_APB1_DIV_4
LL_RCC_APB1_DIV_8
LL_RCC_APB1_DIV_16
Return value:
PCLK1: clock frequency (in Hz)
Description:
Helper macro to calculate the PCLK2
frequency (ABP2)
Parameters:
__HCLKFREQ__: HCLK frequency
__APB2PRESCALER__: This parameter
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
Return value:
PCLK2: clock frequency (in Hz)
Common Write and read registers Macros
Description:
Write a value in RCC register.
Parameters:
__REG__: Register to be written