HAL
__LL_RCC_CALC_PCLK2_FREQ
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
HAL
__LL_RCC_CALC_PCLK2_FREQ
__LL_RCC_CALC_PCLK2_FREQ macro
Helper macro to calculate the PCLK2 frequency (ABP2)
Syntax
Show:
Summary
Declaration
from
stm32f4xx_ll_rcc.h:2895
#define
__LL_RCC_CALC_PCLK2_FREQ
(
__HCLKFREQ__
,
__APB2PRESCALER__
)
(
(
__HCLKFREQ__
)
>
>
APBPrescTable
[
(
__APB2PRESCALER__
)
>
>
RCC_CFGR_PPRE2_Pos
]
)
Arguments
Argument
Description
__HCLKFREQ__
HCLK frequency
__APB2PRESCALER__
This parameter can be one of the following values: @arg
LL_RCC_APB2_DIV_1
@arg
LL_RCC_APB2_DIV_2
@arg
LL_RCC_APB2_DIV_4
@arg
LL_RCC_APB2_DIV_8
@arg
LL_RCC_APB2_DIV_16
Return value
PCLK2 clock frequency (in Hz)
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out