MG32L003 Standard Peripherals Firmware Library

宏定义
TIM_Counter_Mode
MG32L003_StdPeriph_Driver » BASETIM MG32L003_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))