TIM_Exported_constants
[TIM_Exported_Types]

Defines

#define IS_TIM_ALL_PERIPH(PERIPH)
#define IS_TIM_LIST1_PERIPH(PERIPH)
#define IS_TIM_LIST2_PERIPH(PERIPH)
#define IS_TIM_LIST3_PERIPH(PERIPH)
#define IS_TIM_LIST4_PERIPH(PERIPH)
#define IS_TIM_LIST5_PERIPH(PERIPH)
#define IS_TIM_LIST6_PERIPH(PERIPH)
#define IS_TIM_LIST7_PERIPH(PERIPH)
#define IS_TIM_LIST8_PERIPH(PERIPH)
#define IS_TIM_LIST9_PERIPH(PERIPH)

Define Documentation

#define IS_TIM_ALL_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                   ((PERIPH) == TIM2) || \
                                   ((PERIPH) == TIM3) || \
                                   ((PERIPH) == TIM4) || \
                                   ((PERIPH) == TIM5) || \
                                   ((PERIPH) == TIM6) || \
                                   ((PERIPH) == TIM7) || \
                                   ((PERIPH) == TIM8) || \
                                   ((PERIPH) == TIM9) || \
                                   ((PERIPH) == TIM10)|| \
                                   ((PERIPH) == TIM11)|| \
                                   ((PERIPH) == TIM12)|| \
                                   ((PERIPH) == TIM13)|| \
                                   ((PERIPH) == TIM14)|| \
                                   ((PERIPH) == TIM15)|| \
                                   ((PERIPH) == TIM16)|| \
                                   ((PERIPH) == TIM17))

Definition at line 168 of file stm32f10x_tim.h.

Referenced by TIM_ARRPreloadConfig(), TIM_ClearFlag(), TIM_ClearITPendingBit(), TIM_Cmd(), TIM_DeInit(), TIM_GenerateEvent(), TIM_GetCounter(), TIM_GetFlagStatus(), TIM_GetITStatus(), TIM_GetPrescaler(), TIM_ITConfig(), TIM_PrescalerConfig(), TIM_SelectOnePulseMode(), TIM_SetAutoreload(), TIM_SetCounter(), TIM_TimeBaseInit(), TIM_UpdateDisableConfig(), and TIM_UpdateRequestConfig().

#define IS_TIM_LIST1_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM8))

Definition at line 187 of file stm32f10x_tim.h.

Referenced by TIM_OC2NPolarityConfig(), and TIM_OC3NPolarityConfig().

#define IS_TIM_LIST2_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                     ((PERIPH) == TIM8) || \
                                     ((PERIPH) == TIM15)|| \
                                     ((PERIPH) == TIM16)|| \
                                     ((PERIPH) == TIM17))

Definition at line 191 of file stm32f10x_tim.h.

Referenced by TIM_BDTRConfig(), TIM_CCxNCmd(), TIM_CtrlPWMOutputs(), TIM_OC1NPolarityConfig(), and TIM_SelectCOM().

#define IS_TIM_LIST3_PERIPH ( PERIPH   ) 
#define IS_TIM_LIST4_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                     ((PERIPH) == TIM2) || \
                                     ((PERIPH) == TIM3) || \
                                     ((PERIPH) == TIM4) || \
                                     ((PERIPH) == TIM5) || \
                                     ((PERIPH) == TIM8) || \
                                     ((PERIPH) == TIM15)|| \
                                     ((PERIPH) == TIM16)|| \
                                     ((PERIPH) == TIM17))

Definition at line 206 of file stm32f10x_tim.h.

Referenced by TIM_DMAConfig(), and TIM_SelectCCDMA().

#define IS_TIM_LIST5_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                     ((PERIPH) == TIM2) || \
                                     ((PERIPH) == TIM3) || \
                                     ((PERIPH) == TIM4) || \
                                     ((PERIPH) == TIM5) || \
                                     ((PERIPH) == TIM8) || \
                                     ((PERIPH) == TIM15))

Definition at line 217 of file stm32f10x_tim.h.

Referenced by TIM_CCPreloadControl(), and TIM_EncoderInterfaceConfig().

#define IS_TIM_LIST6_PERIPH ( PERIPH   ) 
#define IS_TIM_LIST7_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM2) || \
                                      ((PERIPH) == TIM3) || \
                                      ((PERIPH) == TIM4) || \
                                      ((PERIPH) == TIM5) || \
                                      ((PERIPH) == TIM6) || \
                                      ((PERIPH) == TIM7) || \
                                      ((PERIPH) == TIM8) || \
                                      ((PERIPH) == TIM9) || \
                                      ((PERIPH) == TIM12)|| \
                                      ((PERIPH) == TIM15))

Definition at line 237 of file stm32f10x_tim.h.

Referenced by TIM_SelectOutputTrigger().

#define IS_TIM_LIST8_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM2) || \
                                      ((PERIPH) == TIM3) || \
                                      ((PERIPH) == TIM4) || \
                                      ((PERIPH) == TIM5) || \
                                      ((PERIPH) == TIM8) || \
                                      ((PERIPH) == TIM9) || \
                                      ((PERIPH) == TIM10)|| \
                                      ((PERIPH) == TIM11)|| \
                                      ((PERIPH) == TIM12)|| \
                                      ((PERIPH) == TIM13)|| \
                                      ((PERIPH) == TIM14)|| \
                                      ((PERIPH) == TIM15)|| \
                                      ((PERIPH) == TIM16)|| \
                                      ((PERIPH) == TIM17))

Definition at line 250 of file stm32f10x_tim.h.

Referenced by TIM_CCxCmd(), TIM_ForcedOC1Config(), TIM_GetCapture1(), TIM_ICInit(), TIM_OC1FastConfig(), TIM_OC1Init(), TIM_OC1PolarityConfig(), TIM_OC1PreloadConfig(), TIM_SelectOCxM(), TIM_SetClockDivision(), TIM_SetCompare1(), and TIM_SetIC1Prescaler().

#define IS_TIM_LIST9_PERIPH ( PERIPH   ) 
Value:
(((PERIPH) == TIM1) || \
                                      ((PERIPH) == TIM2) || \
                                      ((PERIPH) == TIM3) || \
                                      ((PERIPH) == TIM4) || \
                                      ((PERIPH) == TIM5) || \
                                      ((PERIPH) == TIM6) || \
                                      ((PERIPH) == TIM7) || \
                                      ((PERIPH) == TIM8) || \
                                      ((PERIPH) == TIM15)|| \
                                      ((PERIPH) == TIM16)|| \
                                      ((PERIPH) == TIM17))

Definition at line 267 of file stm32f10x_tim.h.

Referenced by TIM_DMACmd().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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