HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder Struct Reference

#include <esp32_tmc51x0_test_config.hpp>

Static Public Attributes

static constexpr uint16_t PULSES_PER_REV = 4096
 Encoder pulses per revolution (ABI mode)
 
static constexpr uint16_t COUNTS_PER_REV = 16384
 Encoder counts per revolution (edges)
 
static constexpr tmc51x0::ReferenceSwitchActiveLevel N_CHANNEL_ACTIVE
 N channel active level.
 
static constexpr tmc51x0::EncoderNSensitivity N_SENSITIVITY
 N channel sensitivity (RISING_EDGE typical)
 
static constexpr tmc51x0::EncoderClearMode CLEAR_MODE
 Encoder clear mode (DISABLED = no clearing)
 
static constexpr tmc51x0::EncoderPrescalerMode PRESCALER_MODE
 Prescaler mode (BINARY typical)
 
static constexpr bool INVERT_DIRECTION = false
 Invert encoder direction (false = match motor)
 
static constexpr int32_t ALLOWED_DEVIATION_STEPS = 25
 Allowed encoder deviation in steps (0 = disabled)
 

Member Data Documentation

◆ ALLOWED_DEVIATION_STEPS

constexpr int32_t tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::ALLOWED_DEVIATION_STEPS = 25
staticconstexpr

Allowed encoder deviation in steps (0 = disabled)

◆ CLEAR_MODE

constexpr tmc51x0::EncoderClearMode tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::CLEAR_MODE
staticconstexpr
Initial value:

Encoder clear mode (DISABLED = no clearing)

◆ COUNTS_PER_REV

constexpr uint16_t tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::COUNTS_PER_REV = 16384
staticconstexpr

Encoder counts per revolution (edges)

◆ INVERT_DIRECTION

constexpr bool tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::INVERT_DIRECTION = false
staticconstexpr

Invert encoder direction (false = match motor)

◆ N_CHANNEL_ACTIVE

constexpr tmc51x0::ReferenceSwitchActiveLevel tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::N_CHANNEL_ACTIVE
staticconstexpr

◆ N_SENSITIVITY

constexpr tmc51x0::EncoderNSensitivity tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::N_SENSITIVITY
staticconstexpr
Initial value:

N channel sensitivity (RISING_EDGE typical)

◆ PRESCALER_MODE

constexpr tmc51x0::EncoderPrescalerMode tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::PRESCALER_MODE
staticconstexpr
Initial value:

Prescaler mode (BINARY typical)

◆ PULSES_PER_REV

constexpr uint16_t tmc51x0_test_config::PlatformConfig_FatigueTestRig::Encoder::PULSES_PER_REV = 4096
staticconstexpr

Encoder pulses per revolution (ABI mode)


The documentation for this struct was generated from the following file: