STM32H735xx HAL User Manual
Functions
Encoder Mode
LPTIM Exported Functions

Functions

__STATIC_INLINE void LL_LPTIM_SetEncoderMode (LPTIM_TypeDef *LPTIMx, uint32_t EncoderMode)
 Configure the encoder mode.
__STATIC_INLINE uint32_t LL_LPTIM_GetEncoderMode (LPTIM_TypeDef *LPTIMx)
 Get actual encoder mode.
__STATIC_INLINE void LL_LPTIM_EnableEncoderMode (LPTIM_TypeDef *LPTIMx)
 Enable the encoder mode.
__STATIC_INLINE void LL_LPTIM_DisableEncoderMode (LPTIM_TypeDef *LPTIMx)
 Disable the encoder mode.
__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledEncoderMode (LPTIM_TypeDef *LPTIMx)
 Indicates whether the LPTIM operates in encoder mode.

Function Documentation

__STATIC_INLINE void LL_LPTIM_DisableEncoderMode ( LPTIM_TypeDef *  LPTIMx)

Disable the encoder mode.

Note:
This function must be called when the LPTIM instance is disabled.
Reference Manual to LL API cross reference:
CFGR ENC LL_LPTIM_DisableEncoderMode
Parameters:
LPTIMxLow-Power Timer instance
Return values:
None

Definition at line 1057 of file stm32h7xx_ll_lptim.h.

__STATIC_INLINE void LL_LPTIM_EnableEncoderMode ( LPTIM_TypeDef *  LPTIMx)

Enable the encoder mode.

Note:
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.
Reference Manual to LL API cross reference:
CFGR ENC LL_LPTIM_EnableEncoderMode
Parameters:
LPTIMxLow-Power Timer instance
Return values:
None

Definition at line 1045 of file stm32h7xx_ll_lptim.h.

__STATIC_INLINE uint32_t LL_LPTIM_GetEncoderMode ( LPTIM_TypeDef *  LPTIMx)

Get actual encoder mode.

Reference Manual to LL API cross reference:
CFGR CKPOL LL_LPTIM_GetEncoderMode
Parameters:
LPTIMxLow-Power Timer instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1029 of file stm32h7xx_ll_lptim.h.

__STATIC_INLINE uint32_t LL_LPTIM_IsEnabledEncoderMode ( LPTIM_TypeDef *  LPTIMx)

Indicates whether the LPTIM operates in encoder mode.

Reference Manual to LL API cross reference:
CFGR ENC LL_LPTIM_IsEnabledEncoderMode
Parameters:
LPTIMxLow-Power Timer instance
Return values:
Stateof bit (1 or 0).

Definition at line 1068 of file stm32h7xx_ll_lptim.h.

__STATIC_INLINE void LL_LPTIM_SetEncoderMode ( LPTIM_TypeDef *  LPTIMx,
uint32_t  EncoderMode 
)

Configure the encoder mode.

Note:
This function must be called when the LPTIM instance is disabled.
Reference Manual to LL API cross reference:
CFGR CKPOL LL_LPTIM_SetEncoderMode
Parameters:
LPTIMxLow-Power Timer instance
EncoderModeThis parameter can be one of the following values:
Return values:
None

Definition at line 1015 of file stm32h7xx_ll_lptim.h.