WB32L003 Standard Peripherals Firmware Library

Macros
TIM_Input_Capture_Polarity
WB32L003_StdPeriph_Driver » BASETIM WB32L003_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)
#define | IS_TIM_IC_POLARITY_LITE(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))

## ◆ IS_TIM_IC_POLARITY_LITE

#define IS_TIM_IC_POLARITY_LITE | ( |  | POLARITY | ) |

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