Prusa MINI Firmware overview
TIM Input Channel Polarity
Collaboration diagram for TIM Input Channel Polarity:

Macros

#define TIM_INPUTCHANNELPOLARITY_RISING   0x00000000U
 
#define TIM_INPUTCHANNELPOLARITY_FALLING   (TIM_CCER_CC1P)
 
#define TIM_INPUTCHANNELPOLARITY_BOTHEDGE   (TIM_CCER_CC1P | TIM_CCER_CC1NP)
 

Detailed Description

Macro Definition Documentation

◆ TIM_INPUTCHANNELPOLARITY_RISING

#define TIM_INPUTCHANNELPOLARITY_RISING   0x00000000U

Polarity for TIx source

◆ TIM_INPUTCHANNELPOLARITY_FALLING

#define TIM_INPUTCHANNELPOLARITY_FALLING   (TIM_CCER_CC1P)

Polarity for TIx source

◆ TIM_INPUTCHANNELPOLARITY_BOTHEDGE

#define TIM_INPUTCHANNELPOLARITY_BOTHEDGE   (TIM_CCER_CC1P | TIM_CCER_CC1NP)

Polarity for TIx source