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

LL_LPTIM_SetClockSource() function

Set the source of the clock used by the LPTIM instance.

Syntax

__STATIC_INLINE void LL_LPTIM_SetClockSource(LPTIM_TypeDef *LPTIMx,     uint32_t ClockSource);

Arguments

LPTIMx

Low-Power Timer instance

ClockSource

This parameter can be one of the following values: @arg LL_LPTIM_CLK_SOURCE_INTERNAL @arg LL_LPTIM_CLK_SOURCE_EXTERNAL

Return value

None

Notes

This function must be called when the LPTIM instance is disabled.

References

LocationText
stm32f4xx_ll_lptim.h:812
__STATIC_INLINE void LL_LPTIM_SetClockSource(LPTIM_TypeDef *LPTIMx, uint32_t ClockSource)

Data Use

Data read by LL_LPTIM_SetClockSource()
LL_LPTIM_SetClockSource()