TIM_Flags
[TIM_Exported_Types]

Defines

#define IS_TIM_CLEAR_FLAG(TIM_FLAG)   ((((TIM_FLAG) & (uint16_t)0xE100) == 0x0000) && ((TIM_FLAG) != 0x0000))
#define IS_TIM_GET_FLAG(FLAG)
#define TIM_FLAG_Break   ((uint16_t)0x0080)
#define TIM_FLAG_CC1   ((uint16_t)0x0002)
#define TIM_FLAG_CC1OF   ((uint16_t)0x0200)
#define TIM_FLAG_CC2   ((uint16_t)0x0004)
#define TIM_FLAG_CC2OF   ((uint16_t)0x0400)
#define TIM_FLAG_CC3   ((uint16_t)0x0008)
#define TIM_FLAG_CC3OF   ((uint16_t)0x0800)
#define TIM_FLAG_CC4   ((uint16_t)0x0010)
#define TIM_FLAG_CC4OF   ((uint16_t)0x1000)
#define TIM_FLAG_COM   ((uint16_t)0x0020)
#define TIM_FLAG_Trigger   ((uint16_t)0x0040)
#define TIM_FLAG_Update   ((uint16_t)0x0001)

Define Documentation

#define IS_TIM_CLEAR_FLAG ( TIM_FLAG   )     ((((TIM_FLAG) & (uint16_t)0xE100) == 0x0000) && ((TIM_FLAG) != 0x0000))

Definition at line 988 of file stm32f10x_tim.h.

Referenced by TIM_ClearFlag().

#define IS_TIM_GET_FLAG ( FLAG   ) 
Value:
(((FLAG) == TIM_FLAG_Update) || \
                               ((FLAG) == TIM_FLAG_CC1) || \
                               ((FLAG) == TIM_FLAG_CC2) || \
                               ((FLAG) == TIM_FLAG_CC3) || \
                               ((FLAG) == TIM_FLAG_CC4) || \
                               ((FLAG) == TIM_FLAG_COM) || \
                               ((FLAG) == TIM_FLAG_Trigger) || \
                               ((FLAG) == TIM_FLAG_Break) || \
                               ((FLAG) == TIM_FLAG_CC1OF) || \
                               ((FLAG) == TIM_FLAG_CC2OF) || \
                               ((FLAG) == TIM_FLAG_CC3OF) || \
                               ((FLAG) == TIM_FLAG_CC4OF))

Definition at line 974 of file stm32f10x_tim.h.

Referenced by TIM_GetFlagStatus().

#define TIM_FLAG_Break   ((uint16_t)0x0080)

Definition at line 969 of file stm32f10x_tim.h.

#define TIM_FLAG_CC1   ((uint16_t)0x0002)

Definition at line 963 of file stm32f10x_tim.h.

#define TIM_FLAG_CC1OF   ((uint16_t)0x0200)

Definition at line 970 of file stm32f10x_tim.h.

#define TIM_FLAG_CC2   ((uint16_t)0x0004)

Definition at line 964 of file stm32f10x_tim.h.

#define TIM_FLAG_CC2OF   ((uint16_t)0x0400)

Definition at line 971 of file stm32f10x_tim.h.

#define TIM_FLAG_CC3   ((uint16_t)0x0008)

Definition at line 965 of file stm32f10x_tim.h.

#define TIM_FLAG_CC3OF   ((uint16_t)0x0800)

Definition at line 972 of file stm32f10x_tim.h.

#define TIM_FLAG_CC4   ((uint16_t)0x0010)

Definition at line 966 of file stm32f10x_tim.h.

#define TIM_FLAG_CC4OF   ((uint16_t)0x1000)

Definition at line 973 of file stm32f10x_tim.h.

#define TIM_FLAG_COM   ((uint16_t)0x0020)

Definition at line 967 of file stm32f10x_tim.h.

#define TIM_FLAG_Trigger   ((uint16_t)0x0040)

Definition at line 968 of file stm32f10x_tim.h.

#define TIM_FLAG_Update   ((uint16_t)0x0001)

Definition at line 962 of file stm32f10x_tim.h.

Referenced by TIM_Configuration().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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