HAL
__LL_RCC_CALC_HCLK_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_HCLK_FREQ
__LL_RCC_CALC_HCLK_FREQ macro
Helper macro to calculate the HCLK frequency
Syntax
Show:
Summary
Declaration
from
stm32f4xx_ll_rcc.h:2869
#define
__LL_RCC_CALC_HCLK_FREQ
(
__SYSCLKFREQ__
,
__AHBPRESCALER__
)
(
(
__SYSCLKFREQ__
)
>
>
AHBPrescTable
[
(
(
__AHBPRESCALER__
)
&
RCC_CFGR_HPRE
)
>
>
RCC_CFGR_HPRE_Pos
]
)
Arguments
Argument
Description
__SYSCLKFREQ__
SYSCLK frequency (based on HSE/HSI/PLLCLK)
__AHBPRESCALER__
This parameter can be one of the following values: @arg
LL_RCC_SYSCLK_DIV_1
@arg
LL_RCC_SYSCLK_DIV_2
@arg
LL_RCC_SYSCLK_DIV_4
@arg
LL_RCC_SYSCLK_DIV_8
@arg
LL_RCC_SYSCLK_DIV_16
@arg
LL_RCC_SYSCLK_DIV_64
@arg
LL_RCC_SYSCLK_DIV_128
@arg
LL_RCC_SYSCLK_DIV_256
@arg
LL_RCC_SYSCLK_DIV_512
Return value
HCLK 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