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

LL_TIM_SetEncoderMode() function

Set the encoder interface mode.

Syntax

__STATIC_INLINE void LL_TIM_SetEncoderMode(TIM_TypeDef *TIMx,     uint32_t EncoderMode);

Arguments

TIMx

Timer instance

EncoderMode

This parameter can be one of the following values: @arg LL_TIM_ENCODERMODE_X2_TI1 @arg LL_TIM_ENCODERMODE_X2_TI2 @arg LL_TIM_ENCODERMODE_X4_TI12

Return value

None

Notes

Macro IS_TIM_ENCODER_INTERFACE_INSTANCE(TIMx) can be used to check whether or not a timer instance supports the encoder mode.

References

Call Tree

Functions calling LL_TIM_SetEncoderMode()
all items filtered out
LL_TIM_SetEncoderMode()
Data read by LL_TIM_SetEncoderMode()
LL_TIM_SetEncoderMode()