TIM_Channel
[TIM_Exported_Types]

Defines

#define IS_TIM_CHANNEL(CHANNEL)
#define IS_TIM_COMPLEMENTARY_CHANNEL(CHANNEL)
#define IS_TIM_PWMI_CHANNEL(CHANNEL)
#define TIM_Channel_1   ((uint16_t)0x0000)
#define TIM_Channel_2   ((uint16_t)0x0004)
#define TIM_Channel_3   ((uint16_t)0x0008)
#define TIM_Channel_4   ((uint16_t)0x000C)

Define Documentation

#define IS_TIM_CHANNEL ( CHANNEL   ) 
Value:
(((CHANNEL) == TIM_Channel_1) || \
                                 ((CHANNEL) == TIM_Channel_2) || \
                                 ((CHANNEL) == TIM_Channel_3) || \
                                 ((CHANNEL) == TIM_Channel_4))

Definition at line 331 of file stm32f10x_tim.h.

Referenced by TIM_CCxCmd(), TIM_ICInit(), and TIM_SelectOCxM().

#define IS_TIM_COMPLEMENTARY_CHANNEL ( CHANNEL   ) 
Value:
(((CHANNEL) == TIM_Channel_1) || \
                                               ((CHANNEL) == TIM_Channel_2) || \
                                               ((CHANNEL) == TIM_Channel_3))

Definition at line 337 of file stm32f10x_tim.h.

Referenced by TIM_CCxNCmd().

#define IS_TIM_PWMI_CHANNEL ( CHANNEL   ) 
Value:
(((CHANNEL) == TIM_Channel_1) || \
                                      ((CHANNEL) == TIM_Channel_2))

Definition at line 335 of file stm32f10x_tim.h.

#define TIM_Channel_1   ((uint16_t)0x0000)
#define TIM_Channel_2   ((uint16_t)0x0004)

Definition at line 328 of file stm32f10x_tim.h.

Referenced by main(), TIM1_TRG_COM_IRQHandler(), and TIM_ICInit().

#define TIM_Channel_3   ((uint16_t)0x0008)

Definition at line 329 of file stm32f10x_tim.h.

Referenced by TIM1_TRG_COM_IRQHandler(), TIM_ICInit(), and TIM_SelectOCxM().

#define TIM_Channel_4   ((uint16_t)0x000C)

Definition at line 330 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