DIY Logging Volt/Ampmeter

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 519 of file stm32f1xx_hal_tim.h.

◆ TIM_COUNTERMODE_CENTERALIGNED2

#define TIM_COUNTERMODE_CENTERALIGNED2   TIM_CR1_CMS_1

Center-aligned mode 2

Definition at line 520 of file stm32f1xx_hal_tim.h.

◆ TIM_COUNTERMODE_CENTERALIGNED3

#define TIM_COUNTERMODE_CENTERALIGNED3   TIM_CR1_CMS

Center-aligned mode 3

Definition at line 521 of file stm32f1xx_hal_tim.h.

◆ TIM_COUNTERMODE_DOWN

#define TIM_COUNTERMODE_DOWN   TIM_CR1_DIR

Counter used as down-counter

Definition at line 518 of file stm32f1xx_hal_tim.h.

◆ TIM_COUNTERMODE_UP

#define TIM_COUNTERMODE_UP   0x00000000U

Counter used as up-counter

Definition at line 517 of file stm32f1xx_hal_tim.h.