STM32F10x Standard Peripherals Library  3.5.0
TIM_Input_Capture_Polarity

Defines

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

Define Documentation

#define IS_TIM_IC_POLARITY (   POLARITY)
Value:
(((POLARITY) == TIM_ICPolarity_Rising) || \
                                      ((POLARITY) == TIM_ICPolarity_Falling))

Definition at line 556 of file stm32f10x_tim.h.

#define IS_TIM_IC_POLARITY_LITE (   POLARITY)
Value:
(((POLARITY) == TIM_ICPolarity_Rising) || \
                                           ((POLARITY) == TIM_ICPolarity_Falling)|| \
                                           ((POLARITY) == TIM_ICPolarity_BothEdge))

Definition at line 558 of file stm32f10x_tim.h.

#define TIM_ICPolarity_BothEdge   ((uint16_t)0x000A)

Definition at line 555 of file stm32f10x_tim.h.

#define TIM_ICPolarity_Falling   ((uint16_t)0x0002)

Definition at line 554 of file stm32f10x_tim.h.

#define TIM_ICPolarity_Rising   ((uint16_t)0x0000)

Definition at line 553 of file stm32f10x_tim.h.