TIM_Input_Capture_Polarity
[TIM_Exported_Types]

Defines

#define IS_TIM_IC_POLARITY(POLARITY)
#define IS_TIM_IC_POLARITY_LITE(POLARITY)
#define TIM_ICPolarity_BothEdge   ((uint16_t)0x000A)
#define TIM_ICPolarity_Falling   ((uint16_t)0x0002)
#define TIM_ICPolarity_Rising   ((uint16_t)0x0000)

Define Documentation

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

Definition at line 555 of file stm32f10x_tim.h.

Referenced by TIM_EncoderInterfaceConfig(), TIM_ICInit(), and TIM_TIxExternalClockConfig().

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

Definition at line 557 of file stm32f10x_tim.h.

Referenced by TIM_ICInit().

#define TIM_ICPolarity_BothEdge   ((uint16_t)0x000A)

Definition at line 554 of file stm32f10x_tim.h.

#define TIM_ICPolarity_Falling   ((uint16_t)0x0002)

Definition at line 553 of file stm32f10x_tim.h.

Referenced by TIM_PWMIConfig().

#define TIM_ICPolarity_Rising   ((uint16_t)0x0000)

Definition at line 552 of file stm32f10x_tim.h.

Referenced by main(), TIM_ICStructInit(), and TIM_PWMIConfig().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32