HAL
+
0
/1 examples
SourceVu will show references to
__LL_TIM_CALC_DELAY
from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
TIM
TIM_OnePulse
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_TIM_CALC_DELAY
__LL_TIM_CALC_DELAY macro
HELPER macro calculating the compare value required to achieve the required timer output compare active/inactive delay.
Syntax
Show:
Summary
Declaration
from
stm32f4xx_ll_tim.h:1066
#define
__LL_TIM_CALC_DELAY
(
__TIMCLK__
,
__PSC__
,
__DELAY__
)
\
(
(
uint32_t
)
(
(
(
uint64_t
)
(
__TIMCLK__
)
*
(
uint64_t
)
(
__DELAY__
)
)
\
/
(
(
uint64_t
)
1000000U
*
(
uint64_t
)
(
(
__PSC__
)
+
1U
)
)
)
)
Arguments
Argument
Description
__TIMCLK__
timer input clock frequency (in Hz)
__PSC__
prescaler
__DELAY__
timer output compare active/inactive delay (in us)
Return value
Compare value (between Min_Data=0 and Max_Data=65535)
Notes
ex:
__LL_TIM_CALC_DELAY
(1000000, LL_TIM_GetPrescaler (), 10);
Examples
__LL_TIM_CALC_DELAY
is referenced by 1 libraries and example projects:
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