STM32F439xx HAL User Manual
Defines
Counter Mode
TIM Exported Constants

Defines

#define LL_TIM_COUNTERMODE_UP   0x00000000U
#define LL_TIM_COUNTERMODE_DOWN   TIM_CR1_DIR
#define LL_TIM_COUNTERMODE_CENTER_UP   TIM_CR1_CMS_0
#define LL_TIM_COUNTERMODE_CENTER_DOWN   TIM_CR1_CMS_1
#define LL_TIM_COUNTERMODE_CENTER_UP_DOWN   TIM_CR1_CMS

Define Documentation

#define LL_TIM_COUNTERMODE_CENTER_DOWN   TIM_CR1_CMS_1

The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting up

Definition at line 539 of file stm32f4xx_ll_tim.h.

#define LL_TIM_COUNTERMODE_CENTER_UP   TIM_CR1_CMS_0

The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting down.

Definition at line 538 of file stm32f4xx_ll_tim.h.

#define LL_TIM_COUNTERMODE_CENTER_UP_DOWN   TIM_CR1_CMS

The counter counts up and down alternatively. Output compare interrupt flags of output channels are set only when the counter is counting up or down.

Definition at line 540 of file stm32f4xx_ll_tim.h.

#define LL_TIM_COUNTERMODE_DOWN   TIM_CR1_DIR

Counter used as downcounter

Definition at line 537 of file stm32f4xx_ll_tim.h.

#define LL_TIM_COUNTERMODE_UP   0x00000000U

Counter used as upcounter

Definition at line 536 of file stm32f4xx_ll_tim.h.

Referenced by LL_TIM_StructInit().