Prusa MINI Firmware overview
Collaboration diagram for TIM Clock Source:

Macros

#define TIM_CLOCKSOURCE_ETRMODE2   (TIM_SMCR_ETPS_1)
 
#define TIM_CLOCKSOURCE_INTERNAL   (TIM_SMCR_ETPS_0)
 
#define TIM_CLOCKSOURCE_ITR0   0x00000000U
 
#define TIM_CLOCKSOURCE_ITR1   (TIM_SMCR_TS_0)
 
#define TIM_CLOCKSOURCE_ITR2   (TIM_SMCR_TS_1)
 
#define TIM_CLOCKSOURCE_ITR3   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1)
 
#define TIM_CLOCKSOURCE_TI1ED   (TIM_SMCR_TS_2)
 
#define TIM_CLOCKSOURCE_TI1   (TIM_SMCR_TS_0 | TIM_SMCR_TS_2)
 
#define TIM_CLOCKSOURCE_TI2   (TIM_SMCR_TS_1 | TIM_SMCR_TS_2)
 
#define TIM_CLOCKSOURCE_ETRMODE1   (TIM_SMCR_TS)
 

Detailed Description

Macro Definition Documentation

◆ TIM_CLOCKSOURCE_ETRMODE2

#define TIM_CLOCKSOURCE_ETRMODE2   (TIM_SMCR_ETPS_1)

◆ TIM_CLOCKSOURCE_INTERNAL

#define TIM_CLOCKSOURCE_INTERNAL   (TIM_SMCR_ETPS_0)

◆ TIM_CLOCKSOURCE_ITR0

#define TIM_CLOCKSOURCE_ITR0   0x00000000U

◆ TIM_CLOCKSOURCE_ITR1

#define TIM_CLOCKSOURCE_ITR1   (TIM_SMCR_TS_0)

◆ TIM_CLOCKSOURCE_ITR2

#define TIM_CLOCKSOURCE_ITR2   (TIM_SMCR_TS_1)

◆ TIM_CLOCKSOURCE_ITR3

#define TIM_CLOCKSOURCE_ITR3   (TIM_SMCR_TS_0 | TIM_SMCR_TS_1)

◆ TIM_CLOCKSOURCE_TI1ED

#define TIM_CLOCKSOURCE_TI1ED   (TIM_SMCR_TS_2)

◆ TIM_CLOCKSOURCE_TI1

#define TIM_CLOCKSOURCE_TI1   (TIM_SMCR_TS_0 | TIM_SMCR_TS_2)

◆ TIM_CLOCKSOURCE_TI2

#define TIM_CLOCKSOURCE_TI2   (TIM_SMCR_TS_1 | TIM_SMCR_TS_2)

◆ TIM_CLOCKSOURCE_ETRMODE1

#define TIM_CLOCKSOURCE_ETRMODE1   (TIM_SMCR_TS)