MG32L003 Standard Peripherals Firmware Library

宏定义
TIM_Flags
MG32L003_StdPeriph_Driver » BASETIM MG32L003_StdPeriph_Driver » | TIM » TIM_Exported_constants

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

## 详细描述

## 宏定义说明

## ◆ IS_TIM_GET_FLAG

#define IS_TIM_GET_FLAG | ( |  | FLAG | ) |

值:
(((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))