STM32F4xx HAL Driver master
STM32CubeF4 HAL / LL Drivers API Reference
Loading...
Searching...
No Matches
Collaboration diagram for TIM Counter Mode:

Macros

#define TIM_COUNTERMODE_UP   0x00000000U
#define TIM_COUNTERMODE_DOWN   TIM_CR1_DIR
#define TIM_COUNTERMODE_CENTERALIGNED1   TIM_CR1_CMS_0
#define TIM_COUNTERMODE_CENTERALIGNED2   TIM_CR1_CMS_1
#define TIM_COUNTERMODE_CENTERALIGNED3   TIM_CR1_CMS

Detailed Description

Macro Definition Documentation

◆ TIM_COUNTERMODE_CENTERALIGNED1

#define TIM_COUNTERMODE_CENTERALIGNED1   TIM_CR1_CMS_0

Center-aligned mode 1

Definition at line 521 of file stm32f4xx_hal_tim.h.

◆ TIM_COUNTERMODE_CENTERALIGNED2

#define TIM_COUNTERMODE_CENTERALIGNED2   TIM_CR1_CMS_1

Center-aligned mode 2

Definition at line 522 of file stm32f4xx_hal_tim.h.

◆ TIM_COUNTERMODE_CENTERALIGNED3

#define TIM_COUNTERMODE_CENTERALIGNED3   TIM_CR1_CMS

Center-aligned mode 3

Definition at line 523 of file stm32f4xx_hal_tim.h.

◆ TIM_COUNTERMODE_DOWN

#define TIM_COUNTERMODE_DOWN   TIM_CR1_DIR

Counter used as down-counter

Definition at line 520 of file stm32f4xx_hal_tim.h.

◆ TIM_COUNTERMODE_UP

#define TIM_COUNTERMODE_UP   0x00000000U

Counter used as up-counter

Definition at line 519 of file stm32f4xx_hal_tim.h.

Referenced by HAL_InitTick().