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

Macros

#define TIM_EventSource_Update   ((uint16_t)0x0001)
 
#define TIM_EventSource_CC1   ((uint16_t)0x0002)
 
#define TIM_EventSource_CC2   ((uint16_t)0x0004)
 
#define TIM_EventSource_CC3   ((uint16_t)0x0008)
 
#define TIM_EventSource_CC4   ((uint16_t)0x0010)
 
#define TIM_EventSource_COM   ((uint16_t)0x0020)
 
#define TIM_EventSource_Trigger   ((uint16_t)0x0040)
 
#define TIM_EventSource_Break   ((uint16_t)0x0080)
 
#define IS_TIM_EVENT_SOURCE(SOURCE)   ((((SOURCE) & (uint16_t)0xFF00) == 0x0000) && ((SOURCE) != 0x0000))
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_EVENT_SOURCE (   SOURCE)    ((((SOURCE) & (uint16_t)0xFF00) == 0x0000) && ((SOURCE) != 0x0000))

Definition at line 852 of file stm32f10x_tim.h.

#define TIM_EventSource_Break   ((uint16_t)0x0080)

Definition at line 851 of file stm32f10x_tim.h.

#define TIM_EventSource_CC1   ((uint16_t)0x0002)

Definition at line 845 of file stm32f10x_tim.h.

#define TIM_EventSource_CC2   ((uint16_t)0x0004)

Definition at line 846 of file stm32f10x_tim.h.

#define TIM_EventSource_CC3   ((uint16_t)0x0008)

Definition at line 847 of file stm32f10x_tim.h.

#define TIM_EventSource_CC4   ((uint16_t)0x0010)

Definition at line 848 of file stm32f10x_tim.h.

#define TIM_EventSource_COM   ((uint16_t)0x0020)

Definition at line 849 of file stm32f10x_tim.h.

#define TIM_EventSource_Trigger   ((uint16_t)0x0040)

Definition at line 850 of file stm32f10x_tim.h.

#define TIM_EventSource_Update   ((uint16_t)0x0001)

Definition at line 844 of file stm32f10x_tim.h.