STM32F10x Standard Peripherals Library  3.5.0
TIM_Output_Compare_and_PWM_modes

Defines

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

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

Definition at line 294 of file stm32f10x_tim.h.

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

Definition at line 300 of file stm32f10x_tim.h.

#define TIM_OCMode_Active   ((uint16_t)0x0010)

Definition at line 289 of file stm32f10x_tim.h.

#define TIM_OCMode_Inactive   ((uint16_t)0x0020)

Definition at line 290 of file stm32f10x_tim.h.

#define TIM_OCMode_PWM1   ((uint16_t)0x0060)

Definition at line 292 of file stm32f10x_tim.h.

#define TIM_OCMode_PWM2   ((uint16_t)0x0070)

Definition at line 293 of file stm32f10x_tim.h.

#define TIM_OCMode_Timing   ((uint16_t)0x0000)

Definition at line 288 of file stm32f10x_tim.h.

#define TIM_OCMode_Toggle   ((uint16_t)0x0030)

Definition at line 291 of file stm32f10x_tim.h.