STM32F10x Standard Peripherals Library  3.5.0
TIM_Counter_Mode

Defines

#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)

Define Documentation

#define IS_TIM_COUNTER_MODE (   MODE)
Value:
(((MODE) == TIM_CounterMode_Up) ||  \
                                   ((MODE) == TIM_CounterMode_Down) || \
                                   ((MODE) == TIM_CounterMode_CenterAligned1) || \
                                   ((MODE) == TIM_CounterMode_CenterAligned2) || \
                                   ((MODE) == TIM_CounterMode_CenterAligned3))

Definition at line 368 of file stm32f10x_tim.h.

#define TIM_CounterMode_CenterAligned1   ((uint16_t)0x0020)

Definition at line 365 of file stm32f10x_tim.h.

#define TIM_CounterMode_CenterAligned2   ((uint16_t)0x0040)

Definition at line 366 of file stm32f10x_tim.h.

#define TIM_CounterMode_CenterAligned3   ((uint16_t)0x0060)

Definition at line 367 of file stm32f10x_tim.h.

#define TIM_CounterMode_Down   ((uint16_t)0x0010)

Definition at line 364 of file stm32f10x_tim.h.

#define TIM_CounterMode_Up   ((uint16_t)0x0000)

Definition at line 363 of file stm32f10x_tim.h.