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_Output_Compare_and_PWM_modes

Macros

#define TIM_OCMode_Timing   ((uint16_t)0x0000)
 
#define TIM_OCMode_Active   ((uint16_t)0x0010)
 
#define TIM_OCMode_Inactive   ((uint16_t)0x0020)
 
#define TIM_OCMode_Toggle   ((uint16_t)0x0030)
 
#define TIM_OCMode_PWM1   ((uint16_t)0x0060)
 
#define TIM_OCMode_PWM2   ((uint16_t)0x0070)
 
#define IS_TIM_OC_MODE(MODE)
 
#define IS_TIM_OCM(MODE)
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_OC_MODE (   MODE)
Value:
(((MODE) == TIM_OCMode_Timing) || \
((MODE) == TIM_OCMode_Active) || \
((MODE) == TIM_OCMode_Inactive) || \
((MODE) == TIM_OCMode_Toggle)|| \
((MODE) == TIM_OCMode_PWM1) || \
((MODE) == TIM_OCMode_PWM2))
#define IS_TIM_OCM (   MODE)
Value:
(((MODE) == TIM_OCMode_Timing) || \
((MODE) == TIM_OCMode_Active) || \
((MODE) == TIM_OCMode_Inactive) || \
((MODE) == TIM_OCMode_Toggle)|| \
((MODE) == TIM_OCMode_PWM1) || \
((MODE) == TIM_OCMode_PWM2) || \
((MODE) == TIM_ForcedAction_Active) || \
((MODE) == TIM_ForcedAction_InActive))