MG32L003 Standard Peripherals Firmware Library

宏定义
TIM_Input_Capture_Polarity
MG32L003_StdPeriph_Driver » BASETIM MG32L003_StdPeriph_Driver » | TIM » TIM_Exported_constants

## 宏定义
#define | TIM_ICPolarity_Rising ((uint16_t)0x0000)
#define | TIM_ICPolarity_Falling ((uint16_t)0x0002)
#define | TIM_ICPolarity_BothEdge ((uint16_t)0x000A)
#define | IS_TIM_IC_POLARITY(POLARITY)
#define | IS_TIM_IC_POLARITY_LITE(POLARITY)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_IC_POLARITY

#define IS_TIM_IC_POLARITY | ( |  | POLARITY | ) |

值:
(((POLARITY) == TIM_ICPolarity_Rising) || \
((POLARITY) == TIM_ICPolarity_Falling))

## ◆ IS_TIM_IC_POLARITY_LITE

#define IS_TIM_IC_POLARITY_LITE | ( |  | POLARITY | ) |

值:
(((POLARITY) == TIM_ICPolarity_Rising) || \
((POLARITY) == TIM_ICPolarity_Falling)|| \
((POLARITY) == TIM_ICPolarity_BothEdge))