Prusa MINI Firmware overview
TIM Input Capture Selection
Collaboration diagram for TIM Input Capture Selection:

Macros

#define TIM_ICSELECTION_DIRECTTI   (TIM_CCMR1_CC1S_0)
 
#define TIM_ICSELECTION_INDIRECTTI   (TIM_CCMR1_CC1S_1)
 
#define TIM_ICSELECTION_TRC   (TIM_CCMR1_CC1S)
 

Detailed Description

Macro Definition Documentation

◆ TIM_ICSELECTION_DIRECTTI

#define TIM_ICSELECTION_DIRECTTI   (TIM_CCMR1_CC1S_0)

TIM Input 1, 2, 3 or 4 is selected to be connected to IC1, IC2, IC3 or IC4, respectively

◆ TIM_ICSELECTION_INDIRECTTI

#define TIM_ICSELECTION_INDIRECTTI   (TIM_CCMR1_CC1S_1)

TIM Input 1, 2, 3 or 4 is selected to be connected to IC2, IC1, IC4 or IC3, respectively

◆ TIM_ICSELECTION_TRC

#define TIM_ICSELECTION_TRC   (TIM_CCMR1_CC1S)

TIM Input 1, 2, 3 or 4 is selected to be connected to TRC