HAL + 0/2 examples
CodeScope will show references to LL_LPTIM_SetAutoReload() from the following samples and libraries:
Examples
STM32F410xx-Nucleo
Examples_LL
LPTIM
 
Symbols
loading...
Files
loading...

LL_LPTIM_SetAutoReload() function

Set the auto reload value

Syntax

__STATIC_INLINE void LL_LPTIM_SetAutoReload(LPTIM_TypeDef *LPTIMx,     uint32_t AutoReload);

Arguments

LPTIMx

Low-Power Timer instance

AutoReload

Value between Min_Data=0x0001 and Max_Data=0xFFFF

Return value

None

Notes

The LPTIMx_ARR register content must only be modified when the LPTIM is enabled After a write to the LPTIMx_ARR register a new write operation to the same register can only be performed when the previous write operation is completed. Any successive write before the ARROK flag is set, will lead to unpredictable results. autoreload value be strictly greater than the compare value.

Examples

LL_LPTIM_SetAutoReload() is referenced by 2 libraries and example projects.

References

LocationText
stm32f4xx_ll_lptim.h:432
__STATIC_INLINE void LL_LPTIM_SetAutoReload(LPTIM_TypeDef *LPTIMx, uint32_t AutoReload)

Data Use

Data read by LL_LPTIM_SetAutoReload()
LL_LPTIM_SetAutoReload()