uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
TIM_Encoder_Mode

Macros

#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)
 

Detailed Description

Macro Definition Documentation

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

Definition at line 832 of file stm32f10x_tim.h.

#define TIM_EncoderMode_TI1   ((uint16_t)0x0001)

Definition at line 829 of file stm32f10x_tim.h.

#define TIM_EncoderMode_TI12   ((uint16_t)0x0003)

Definition at line 831 of file stm32f10x_tim.h.

#define TIM_EncoderMode_TI2   ((uint16_t)0x0002)

Definition at line 830 of file stm32f10x_tim.h.