uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
TIM_Trigger_Output_Source

Macros

#define TIM_TRGOSource_Reset   ((uint16_t)0x0000)
 
#define TIM_TRGOSource_Enable   ((uint16_t)0x0010)
 
#define TIM_TRGOSource_Update   ((uint16_t)0x0020)
 
#define TIM_TRGOSource_OC1   ((uint16_t)0x0030)
 
#define TIM_TRGOSource_OC1Ref   ((uint16_t)0x0040)
 
#define TIM_TRGOSource_OC2Ref   ((uint16_t)0x0050)
 
#define TIM_TRGOSource_OC3Ref   ((uint16_t)0x0060)
 
#define TIM_TRGOSource_OC4Ref   ((uint16_t)0x0070)
 
#define IS_TIM_TRGO_SOURCE(SOURCE)
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_TRGO_SOURCE (   SOURCE)
Value:
(((SOURCE) == TIM_TRGOSource_Reset) || \
((SOURCE) == TIM_TRGOSource_Enable) || \
((SOURCE) == TIM_TRGOSource_Update) || \
((SOURCE) == TIM_TRGOSource_OC1) || \
((SOURCE) == TIM_TRGOSource_OC1Ref) || \
((SOURCE) == TIM_TRGOSource_OC2Ref) || \
((SOURCE) == TIM_TRGOSource_OC3Ref) || \
((SOURCE) == TIM_TRGOSource_OC4Ref))

Definition at line 923 of file stm32f10x_tim.h.

#define TIM_TRGOSource_Enable   ((uint16_t)0x0010)

Definition at line 916 of file stm32f10x_tim.h.

#define TIM_TRGOSource_OC1   ((uint16_t)0x0030)

Definition at line 918 of file stm32f10x_tim.h.

#define TIM_TRGOSource_OC1Ref   ((uint16_t)0x0040)

Definition at line 919 of file stm32f10x_tim.h.

#define TIM_TRGOSource_OC2Ref   ((uint16_t)0x0050)

Definition at line 920 of file stm32f10x_tim.h.

#define TIM_TRGOSource_OC3Ref   ((uint16_t)0x0060)

Definition at line 921 of file stm32f10x_tim.h.

#define TIM_TRGOSource_OC4Ref   ((uint16_t)0x0070)

Definition at line 922 of file stm32f10x_tim.h.

#define TIM_TRGOSource_Reset   ((uint16_t)0x0000)

Definition at line 915 of file stm32f10x_tim.h.

#define TIM_TRGOSource_Update   ((uint16_t)0x0020)

Definition at line 917 of file stm32f10x_tim.h.