MG32F10x Standard Peripherals Firmware Library
宏定义
TIM_Output_Compare_Polarity

宏定义

#define TIM_OCPolarity_High   ((uint16_t)0x0000)
 
#define TIM_OCPolarity_Low   ((uint16_t)0x0002)
 
#define IS_TIM_OC_POLARITY(POLARITY)
 

详细描述

宏定义说明

◆ IS_TIM_OC_POLARITY

#define IS_TIM_OC_POLARITY (   POLARITY)
值:
(((POLARITY) == TIM_OCPolarity_High) || \
((POLARITY) == TIM_OCPolarity_Low))