HAL
LL_LPTIM_ConfigClock() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_LPTIM_ConfigClock() function

Configure the active edge or edges used by the counter when the LPTIM is clocked by an external clock source.

Syntax

__STATIC_INLINE void LL_LPTIM_ConfigClock(LPTIM_TypeDef *LPTIMx,     uint32_t ClockFilter,     uint32_t ClockPolarity);

Arguments

LPTIMx

Low-Power Timer instance

ClockFilter

This parameter can be one of the following values: @arg LL_LPTIM_CLK_FILTER_NONE @arg LL_LPTIM_CLK_FILTER_2 @arg LL_LPTIM_CLK_FILTER_4 @arg LL_LPTIM_CLK_FILTER_8

ClockPolarity

This parameter can be one of the following values: @arg LL_LPTIM_CLK_POLARITY_RISING @arg LL_LPTIM_CLK_POLARITY_FALLING @arg LL_LPTIM_CLK_POLARITY_RISING_FALLING

Return value

None

Notes

This function must be called when the LPTIM instance is disabled. When both external clock signal edges are considered active ones, the LPTIM must also be clocked by an internal clock source with a frequency equal to at least four times the external clock frequency. An internal clock source must be present when a digital filter is required for external clock. CFGR CKPOL LL_LPTIM_ConfigClock

References

LocationText
stm32f4xx_ll_lptim.h:853
__STATIC_INLINE void LL_LPTIM_ConfigClock(LPTIM_TypeDef *LPTIMx, uint32_t ClockFilter, uint32_t ClockPolarity)

Data Use