MG32F10x Standard Peripherals Firmware Library

宏定义
TIM_Encoder_Mode
MG32F10x_StdPeriph_Driver » TIM » TIM_Exported_Constants

## 宏定义
#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)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_ENCODER_MODE

#define IS_TIM_ENCODER_MODE | ( |  | MODE | ) |

值:
(((MODE) == TIM_EncoderMode_TI1) || \
((MODE) == TIM_EncoderMode_TI2) || \
((MODE) == TIM_EncoderMode_TI12))