Prusa MINI Firmware overview
TIM_Encoder_InitTypeDef Struct Reference

TIM Encoder Configuration Structure definition. More...

#include <stm32f4xx_hal_tim.h>

Collaboration diagram for TIM_Encoder_InitTypeDef:

Public Attributes

uint32_t EncoderMode
 
uint32_t IC1Polarity
 
uint32_t IC1Selection
 
uint32_t IC1Prescaler
 
uint32_t IC1Filter
 
uint32_t IC2Polarity
 
uint32_t IC2Selection
 
uint32_t IC2Prescaler
 
uint32_t IC2Filter
 

Detailed Description

TIM Encoder Configuration Structure definition.

Member Data Documentation

◆ EncoderMode

uint32_t TIM_Encoder_InitTypeDef::EncoderMode

Specifies the active edge of the input signal. This parameter can be a value of TIM Encoder Mode

◆ IC1Polarity

uint32_t TIM_Encoder_InitTypeDef::IC1Polarity

Specifies the active edge of the input signal. This parameter can be a value of TIM Input Capture Polarity

◆ IC1Selection

uint32_t TIM_Encoder_InitTypeDef::IC1Selection

Specifies the input. This parameter can be a value of TIM Input Capture Selection

◆ IC1Prescaler

uint32_t TIM_Encoder_InitTypeDef::IC1Prescaler

Specifies the Input Capture Prescaler. This parameter can be a value of TIM Input Capture Prescaler

◆ IC1Filter

uint32_t TIM_Encoder_InitTypeDef::IC1Filter

Specifies the input capture filter. This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF

◆ IC2Polarity

uint32_t TIM_Encoder_InitTypeDef::IC2Polarity

Specifies the active edge of the input signal. This parameter can be a value of TIM Input Capture Polarity

◆ IC2Selection

uint32_t TIM_Encoder_InitTypeDef::IC2Selection

Specifies the input. This parameter can be a value of TIM Input Capture Selection

◆ IC2Prescaler

uint32_t TIM_Encoder_InitTypeDef::IC2Prescaler

Specifies the Input Capture Prescaler. This parameter can be a value of TIM Input Capture Prescaler

◆ IC2Filter

uint32_t TIM_Encoder_InitTypeDef::IC2Filter

Specifies the input capture filter. This parameter can be a number between Min_Data = 0x0 and Max_Data = 0xF