Prusa MINI Firmware overview
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_UP

#define TIM_COUNTERMODE_UP   0x00000000U

◆ TIM_COUNTERMODE_DOWN

#define TIM_COUNTERMODE_DOWN   TIM_CR1_DIR

◆ TIM_COUNTERMODE_CENTERALIGNED1

#define TIM_COUNTERMODE_CENTERALIGNED1   TIM_CR1_CMS_0

◆ TIM_COUNTERMODE_CENTERALIGNED2

#define TIM_COUNTERMODE_CENTERALIGNED2   TIM_CR1_CMS_1

◆ TIM_COUNTERMODE_CENTERALIGNED3

#define TIM_COUNTERMODE_CENTERALIGNED3   TIM_CR1_CMS