HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
Loading...
Searching...
No Matches
tmc9660::TMC9660< CommType >::FeedbackSense::Abn2Config Struct Reference

Configuration structure for ABN2 (secondary) encoder auto-configuration. More...

#include <tmc9660.hpp>

Public Attributes

uint32_t countsPerRev
 Encoder resolution in counts per revolution (CPR) [0-16777215].
 
tmc9660::tmcl::Direction direction
 Encoder direction (default: NOT_INVERTED)
 
uint8_t gearRatio
 Gear ratio between encoder and motor shaft [1-255] (default: 1, directly coupled)
 
bool enable = true
 Enable the ABN2 encoder (default: true)
 

Detailed Description

template<typename CommType>
struct tmc9660::TMC9660< CommType >::FeedbackSense::Abn2Config

Configuration structure for ABN2 (secondary) encoder auto-configuration.

Member Data Documentation

◆ countsPerRev

template<typename CommType >
uint32_t tmc9660::TMC9660< CommType >::FeedbackSense::Abn2Config::countsPerRev

Encoder resolution in counts per revolution (CPR) [0-16777215].

◆ direction

template<typename CommType >
tmc9660::tmcl::Direction tmc9660::TMC9660< CommType >::FeedbackSense::Abn2Config::direction
Initial value:
=
tmc9660::tmcl::Direction::NOT_INVERTED

Encoder direction (default: NOT_INVERTED)

◆ enable

template<typename CommType >
bool tmc9660::TMC9660< CommType >::FeedbackSense::Abn2Config::enable = true

Enable the ABN2 encoder (default: true)

◆ gearRatio

template<typename CommType >
uint8_t tmc9660::TMC9660< CommType >::FeedbackSense::Abn2Config::gearRatio
Initial value:
=
1

Gear ratio between encoder and motor shaft [1-255] (default: 1, directly coupled)


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