HAL
LL_LPTIM_EnableEncoderMode() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_LPTIM_EnableEncoderMode()

LL_LPTIM_EnableEncoderMode() function

Enable the encoder mode

Syntax

__STATIC_INLINE void LL_LPTIM_EnableEncoderMode(LPTIM_TypeDef *LPTIMx);

Arguments

LPTIMx

Low-Power Timer instance

Return value

None

Notes

This function must be called when the LPTIM instance is disabled. In this mode the LPTIM instance must be clocked by an internal clock source. Also, the prescaler division ratio must be equal to 1. LPTIM instance must be configured in continuous mode prior enabling the encoder mode.

References

LocationText
stm32f4xx_ll_lptim.h:936
__STATIC_INLINE void LL_LPTIM_EnableEncoderMode(LPTIM_TypeDef *LPTIMx)

Data Use

Data read by LL_LPTIM_EnableEncoderMode()
LL_LPTIM_EnableEncoderMode()