STM32F10x Standard Peripherals Library  3.5.0
TIM_Encoder_Mode

Defines

#define TIM_EncoderMode_TI1   ((uint16_t)0x0001)
#define TIM_EncoderMode_TI2   ((uint16_t)0x0002)
#define TIM_EncoderMode_TI12   ((uint16_t)0x0003)
#define IS_TIM_ENCODER_MODE(MODE)

Define Documentation

#define IS_TIM_ENCODER_MODE (   MODE)
Value:
(((MODE) == TIM_EncoderMode_TI1) || \
                                   ((MODE) == TIM_EncoderMode_TI2) || \
                                   ((MODE) == TIM_EncoderMode_TI12))

Definition at line 830 of file stm32f10x_tim.h.

#define TIM_EncoderMode_TI1   ((uint16_t)0x0001)

Definition at line 827 of file stm32f10x_tim.h.

#define TIM_EncoderMode_TI12   ((uint16_t)0x0003)

Definition at line 829 of file stm32f10x_tim.h.

#define TIM_EncoderMode_TI2   ((uint16_t)0x0002)

Definition at line 828 of file stm32f10x_tim.h.