TIM_Output_Compare_and_PWM_modes
[TIM_Exported_Types]

Defines

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

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 293 of file stm32f10x_tim.h.

Referenced by TIM_OC1Init(), TIM_OC2Init(), TIM_OC3Init(), and TIM_OC4Init().

#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 299 of file stm32f10x_tim.h.

Referenced by TIM_SelectOCxM().

#define TIM_OCMode_Active   ((uint16_t)0x0010)

Definition at line 288 of file stm32f10x_tim.h.

Referenced by main().

#define TIM_OCMode_Inactive   ((uint16_t)0x0020)

Definition at line 289 of file stm32f10x_tim.h.

Referenced by main().

#define TIM_OCMode_PWM1   ((uint16_t)0x0060)

Definition at line 291 of file stm32f10x_tim.h.

Referenced by main(), and TIM1_TRG_COM_IRQHandler().

#define TIM_OCMode_PWM2   ((uint16_t)0x0070)

Definition at line 292 of file stm32f10x_tim.h.

Referenced by main().

#define TIM_OCMode_Timing   ((uint16_t)0x0000)

Definition at line 287 of file stm32f10x_tim.h.

Referenced by main(), TIM_Configuration(), and TIM_OCStructInit().

#define TIM_OCMode_Toggle   ((uint16_t)0x0030)

Definition at line 290 of file stm32f10x_tim.h.

Referenced by main().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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