WB32F10x Standard Peripherals Firmware Library

Macros
TIM_Input_Capture_Polarity
WB32F10x_StdPeriph_Driver » TIM » TIM_Exported_Constants

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

## Detailed Description

## Macro Definition Documentation

## ◆ IS_TIM_IC_POLARITY

#define IS_TIM_IC_POLARITY | ( |  | POLARITY | ) |

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