WB32F10x Standard Peripherals Firmware Library

Macros
TIM_Encoder_Mode
WB32F10x_StdPeriph_Driver » TIM » TIM_Exported_Constants

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

## ◆ IS_TIM_ENCODER_MODE

#define IS_TIM_ENCODER_MODE | ( |  | MODE | ) |

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