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

Macros

#define TIM_IT_Update   ((uint16_t)0x0001)
 
#define TIM_IT_CC1   ((uint16_t)0x0002)
 
#define TIM_IT_CC2   ((uint16_t)0x0004)
 
#define TIM_IT_CC3   ((uint16_t)0x0008)
 
#define TIM_IT_CC4   ((uint16_t)0x0010)
 
#define TIM_IT_COM   ((uint16_t)0x0020)
 
#define TIM_IT_Trigger   ((uint16_t)0x0040)
 
#define TIM_IT_Break   ((uint16_t)0x0080)
 
#define IS_TIM_IT(IT)   ((((IT) & (uint16_t)0xFF00) == 0x0000) && ((IT) != 0x0000))
 
#define IS_TIM_GET_IT(IT)
 

Detailed Description

Macro Definition Documentation

#define IS_TIM_GET_IT (   IT)
Value:
(((IT) == TIM_IT_Update) || \
((IT) == TIM_IT_CC1) || \
((IT) == TIM_IT_CC2) || \
((IT) == TIM_IT_CC3) || \
((IT) == TIM_IT_CC4) || \
((IT) == TIM_IT_COM) || \
((IT) == TIM_IT_Trigger) || \
((IT) == TIM_IT_Break))

Definition at line 613 of file stm32f10x_tim.h.

#define IS_TIM_IT (   IT)    ((((IT) & (uint16_t)0xFF00) == 0x0000) && ((IT) != 0x0000))

Definition at line 611 of file stm32f10x_tim.h.

#define TIM_IT_Break   ((uint16_t)0x0080)

Definition at line 610 of file stm32f10x_tim.h.

#define TIM_IT_CC1   ((uint16_t)0x0002)

Definition at line 604 of file stm32f10x_tim.h.

#define TIM_IT_CC2   ((uint16_t)0x0004)

Definition at line 605 of file stm32f10x_tim.h.

#define TIM_IT_CC3   ((uint16_t)0x0008)

Definition at line 606 of file stm32f10x_tim.h.

#define TIM_IT_CC4   ((uint16_t)0x0010)

Definition at line 607 of file stm32f10x_tim.h.

#define TIM_IT_COM   ((uint16_t)0x0020)

Definition at line 608 of file stm32f10x_tim.h.

#define TIM_IT_Trigger   ((uint16_t)0x0040)

Definition at line 609 of file stm32f10x_tim.h.

#define TIM_IT_Update   ((uint16_t)0x0001)

Definition at line 603 of file stm32f10x_tim.h.