MG32F10x Standard Peripherals Firmware Library

宏定义
TIM_Counter_Mode
MG32F10x_StdPeriph_Driver » TIM » TIM_Exported_Constants

## 宏定义
#define | TIM_CounterMode_Up ((uint16_t)0x0000)
#define | TIM_CounterMode_Down ((uint16_t)0x0010)
#define | TIM_CounterMode_CenterAligned1 ((uint16_t)0x0020)
#define | TIM_CounterMode_CenterAligned2 ((uint16_t)0x0040)
#define | TIM_CounterMode_CenterAligned3 ((uint16_t)0x0060)
#define | IS_TIM_COUNTER_MODE(MODE)

## 详细描述

## 宏定义说明

## ◆ IS_TIM_COUNTER_MODE

#define IS_TIM_COUNTER_MODE | ( |  | MODE | ) |

值:
(((MODE) == TIM_CounterMode_Up) || \
((MODE) == TIM_CounterMode_Down) || \
((MODE) == TIM_CounterMode_CenterAligned1) || \
((MODE) == TIM_CounterMode_CenterAligned2) || \
((MODE) == TIM_CounterMode_CenterAligned3))