MG32F10x Standard Peripherals Firmware Library
Macros
TIM_External_Trigger_Polarity

Macros

#define TIM_ExtTRGPolarity_Inverted   ((uint16_t)0x8000)
 
#define TIM_ExtTRGPolarity_NonInverted   ((uint16_t)0x0000)
 
#define IS_TIM_EXT_POLARITY(POLARITY)
 

Detailed Description

Macro Definition Documentation

◆ IS_TIM_EXT_POLARITY

#define IS_TIM_EXT_POLARITY (   POLARITY)
Value:
(((POLARITY) == TIM_ExtTRGPolarity_Inverted) || \
((POLARITY) == TIM_ExtTRGPolarity_NonInverted))