Prusa MINI Firmware overview
Collaboration diagram for TIM Encoder Mode:

Macros

#define TIM_ENCODERMODE_TI1   (TIM_SMCR_SMS_0)
 
#define TIM_ENCODERMODE_TI2   (TIM_SMCR_SMS_1)
 
#define TIM_ENCODERMODE_TI12   (TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)
 

Detailed Description

Macro Definition Documentation

◆ TIM_ENCODERMODE_TI1

#define TIM_ENCODERMODE_TI1   (TIM_SMCR_SMS_0)

◆ TIM_ENCODERMODE_TI2

#define TIM_ENCODERMODE_TI2   (TIM_SMCR_SMS_1)

◆ TIM_ENCODERMODE_TI12

#define TIM_ENCODERMODE_TI12   (TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)