STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
TIM_Input_Capture_Polarity

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

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