Macros
Collaboration diagram for TIM_Flags:

Macros

#define IS_TIM_CLEAR_FLAG(TIM_FLAG)   ((((TIM_FLAG) & (uint16_t)0xE100) == 0x0000) && ((TIM_FLAG) != 0x0000))
 
#define IS_TIM_CLEAR_FLAG(TIM_FLAG)   ((((TIM_FLAG) & (uint32_t)0xE000) == 0x0000) && ((TIM_FLAG) != 0x0000))
 
#define IS_TIM_GET_FLAG(FLAG)
 
#define IS_TIM_GET_FLAG(FLAG)
 
#define IS_TIM_GET_FLAG(FLAG)
 
#define TIM_FLAG_Break   ((uint16_t)0x0080)
 
#define TIM_FLAG_Break   ((uint16_t)0x0080)
 
#define TIM_FLAG_Break   ((uint32_t)0x00080)
 
#define TIM_FLAG_Break2   ((uint32_t)0x00100)
 
#define TIM_FLAG_CC1   ((uint16_t)0x0002)
 
#define TIM_FLAG_CC1   ((uint16_t)0x0002)
 
#define TIM_FLAG_CC1   ((uint32_t)0x00002)
 
#define TIM_FLAG_CC1OF   ((uint16_t)0x0200)
 
#define TIM_FLAG_CC1OF   ((uint16_t)0x0200)
 
#define TIM_FLAG_CC1OF   ((uint32_t)0x00200)
 
#define TIM_FLAG_CC2   ((uint16_t)0x0004)
 
#define TIM_FLAG_CC2   ((uint16_t)0x0004)
 
#define TIM_FLAG_CC2   ((uint32_t)0x00004)
 
#define TIM_FLAG_CC2OF   ((uint16_t)0x0400)
 
#define TIM_FLAG_CC2OF   ((uint16_t)0x0400)
 
#define TIM_FLAG_CC2OF   ((uint32_t)0x00400)
 
#define TIM_FLAG_CC3   ((uint16_t)0x0008)
 
#define TIM_FLAG_CC3   ((uint16_t)0x0008)
 
#define TIM_FLAG_CC3   ((uint32_t)0x00008)
 
#define TIM_FLAG_CC3OF   ((uint16_t)0x0800)
 
#define TIM_FLAG_CC3OF   ((uint16_t)0x0800)
 
#define TIM_FLAG_CC3OF   ((uint32_t)0x00800)
 
#define TIM_FLAG_CC4   ((uint16_t)0x0010)
 
#define TIM_FLAG_CC4   ((uint16_t)0x0010)
 
#define TIM_FLAG_CC4   ((uint32_t)0x00010)
 
#define TIM_FLAG_CC4OF   ((uint16_t)0x1000)
 
#define TIM_FLAG_CC4OF   ((uint16_t)0x1000)
 
#define TIM_FLAG_CC4OF   ((uint32_t)0x01000)
 
#define TIM_FLAG_CC5   ((uint32_t)0x10000)
 
#define TIM_FLAG_CC6   ((uint32_t)0x20000)
 
#define TIM_FLAG_COM   ((uint16_t)0x0020)
 
#define TIM_FLAG_COM   ((uint16_t)0x0020)
 
#define TIM_FLAG_COM   ((uint32_t)0x00020)
 
#define TIM_FLAG_Trigger   ((uint16_t)0x0040)
 
#define TIM_FLAG_Trigger   ((uint16_t)0x0040)
 
#define TIM_FLAG_Trigger   ((uint32_t)0x00040)
 
#define TIM_FLAG_Update   ((uint16_t)0x0001)
 
#define TIM_FLAG_Update   ((uint16_t)0x0001)
 
#define TIM_FLAG_Update   ((uint32_t)0x00001)
 

Detailed Description

Macro Definition Documentation

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

Definition at line 993 of file stm32f10x_tim.h.

#define IS_TIM_CLEAR_FLAG (   TIM_FLAG)    ((((TIM_FLAG) & (uint32_t)0xE000) == 0x0000) && ((TIM_FLAG) != 0x0000))

Definition at line 1127 of file stm32f30x_tim.h.

#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))
#define TIM_FLAG_CC3OF
#define TIM_FLAG_COM
#define TIM_FLAG_CC1OF
#define TIM_FLAG_Trigger
#define TIM_FLAG_Break
#define TIM_FLAG_CC4OF
#define TIM_FLAG_CC1
#define TIM_FLAG_CC4
#define TIM_FLAG_CC2OF
#define TIM_FLAG_Update
#define TIM_FLAG_CC2
#define TIM_FLAG_CC3

Definition at line 961 of file stm32f4xx_tim.h.

#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))
#define TIM_FLAG_CC3OF
#define TIM_FLAG_COM
#define TIM_FLAG_CC1OF
#define TIM_FLAG_Trigger
#define TIM_FLAG_Break
#define TIM_FLAG_CC4OF
#define TIM_FLAG_CC1
#define TIM_FLAG_CC4
#define TIM_FLAG_CC2OF
#define TIM_FLAG_Update
#define TIM_FLAG_CC2
#define TIM_FLAG_CC3

Definition at line 979 of file stm32f10x_tim.h.

#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_Break2) || \
((FLAG) == TIM_FLAG_CC1OF) || \
((FLAG) == TIM_FLAG_CC2OF) || \
((FLAG) == TIM_FLAG_CC3OF) || \
((FLAG) == TIM_FLAG_CC4OF) ||\
((FLAG) == TIM_FLAG_CC5) ||\
((FLAG) == TIM_FLAG_CC6))
#define TIM_FLAG_CC3OF
#define TIM_FLAG_COM
#define TIM_FLAG_CC1OF
#define TIM_FLAG_CC5
#define TIM_FLAG_Trigger
#define TIM_FLAG_Break2
#define TIM_FLAG_Break
#define TIM_FLAG_CC4OF
#define TIM_FLAG_CC1
#define TIM_FLAG_CC4
#define TIM_FLAG_CC2OF
#define TIM_FLAG_Update
#define TIM_FLAG_CC2
#define TIM_FLAG_CC3
#define TIM_FLAG_CC6

Definition at line 1111 of file stm32f30x_tim.h.

#define TIM_FLAG_Break   ((uint16_t)0x0080)

Definition at line 956 of file stm32f4xx_tim.h.

#define TIM_FLAG_Break   ((uint16_t)0x0080)

Definition at line 974 of file stm32f10x_tim.h.

#define TIM_FLAG_Break   ((uint32_t)0x00080)

Definition at line 1103 of file stm32f30x_tim.h.

#define TIM_FLAG_Break2   ((uint32_t)0x00100)

Definition at line 1104 of file stm32f30x_tim.h.

#define TIM_FLAG_CC1   ((uint16_t)0x0002)

Definition at line 950 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC1   ((uint16_t)0x0002)

Definition at line 968 of file stm32f10x_tim.h.

#define TIM_FLAG_CC1   ((uint32_t)0x00002)

Definition at line 1097 of file stm32f30x_tim.h.

#define TIM_FLAG_CC1OF   ((uint16_t)0x0200)

Definition at line 957 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC1OF   ((uint16_t)0x0200)

Definition at line 975 of file stm32f10x_tim.h.

#define TIM_FLAG_CC1OF   ((uint32_t)0x00200)

Definition at line 1105 of file stm32f30x_tim.h.

#define TIM_FLAG_CC2   ((uint16_t)0x0004)

Definition at line 951 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC2   ((uint16_t)0x0004)

Definition at line 969 of file stm32f10x_tim.h.

#define TIM_FLAG_CC2   ((uint32_t)0x00004)

Definition at line 1098 of file stm32f30x_tim.h.

#define TIM_FLAG_CC2OF   ((uint16_t)0x0400)

Definition at line 958 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC2OF   ((uint16_t)0x0400)

Definition at line 976 of file stm32f10x_tim.h.

#define TIM_FLAG_CC2OF   ((uint32_t)0x00400)

Definition at line 1106 of file stm32f30x_tim.h.

#define TIM_FLAG_CC3   ((uint16_t)0x0008)

Definition at line 952 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC3   ((uint16_t)0x0008)

Definition at line 970 of file stm32f10x_tim.h.

#define TIM_FLAG_CC3   ((uint32_t)0x00008)

Definition at line 1099 of file stm32f30x_tim.h.

#define TIM_FLAG_CC3OF   ((uint16_t)0x0800)

Definition at line 959 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC3OF   ((uint16_t)0x0800)

Definition at line 977 of file stm32f10x_tim.h.

#define TIM_FLAG_CC3OF   ((uint32_t)0x00800)

Definition at line 1107 of file stm32f30x_tim.h.

#define TIM_FLAG_CC4   ((uint16_t)0x0010)

Definition at line 953 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC4   ((uint16_t)0x0010)

Definition at line 971 of file stm32f10x_tim.h.

#define TIM_FLAG_CC4   ((uint32_t)0x00010)

Definition at line 1100 of file stm32f30x_tim.h.

#define TIM_FLAG_CC4OF   ((uint16_t)0x1000)

Definition at line 960 of file stm32f4xx_tim.h.

#define TIM_FLAG_CC4OF   ((uint16_t)0x1000)

Definition at line 978 of file stm32f10x_tim.h.

#define TIM_FLAG_CC4OF   ((uint32_t)0x01000)

Definition at line 1108 of file stm32f30x_tim.h.

#define TIM_FLAG_CC5   ((uint32_t)0x10000)

Definition at line 1109 of file stm32f30x_tim.h.

#define TIM_FLAG_CC6   ((uint32_t)0x20000)

Definition at line 1110 of file stm32f30x_tim.h.

#define TIM_FLAG_COM   ((uint16_t)0x0020)

Definition at line 954 of file stm32f4xx_tim.h.

#define TIM_FLAG_COM   ((uint16_t)0x0020)

Definition at line 972 of file stm32f10x_tim.h.

#define TIM_FLAG_COM   ((uint32_t)0x00020)

Definition at line 1101 of file stm32f30x_tim.h.

#define TIM_FLAG_Trigger   ((uint16_t)0x0040)

Definition at line 955 of file stm32f4xx_tim.h.

#define TIM_FLAG_Trigger   ((uint16_t)0x0040)

Definition at line 973 of file stm32f10x_tim.h.

#define TIM_FLAG_Trigger   ((uint32_t)0x00040)

Definition at line 1102 of file stm32f30x_tim.h.

#define TIM_FLAG_Update   ((uint16_t)0x0001)

Definition at line 949 of file stm32f4xx_tim.h.

#define TIM_FLAG_Update   ((uint16_t)0x0001)

Definition at line 967 of file stm32f10x_tim.h.

#define TIM_FLAG_Update   ((uint32_t)0x00001)

Definition at line 1096 of file stm32f30x_tim.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:29