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

Configuration structure for ABN 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)
 
tmc9660::tmcl::EnableDisable nChannelInverted
 
tmc9660::tmcl::AbnInitMethod initMethod
 
uint16_t initDelay = 1000
 Initialization delay in ms [1000-10000] (default: 1000ms)
 
int32_t initVelocity = 5
 Initialization velocity [-200000 to 200000] (default: 5)
 
int16_t nChannelOffset = 0
 N-channel offset [-32768 to 32767] (default: 0)
 
tmc9660::tmcl::AbnNChannelFiltering nChannelFiltering
 
tmc9660::tmcl::EnableDisable clearOnNextNull
 

Detailed Description

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

Configuration structure for ABN encoder auto-configuration.

Member Data Documentation

◆ clearOnNextNull

template<typename CommType >
tmc9660::tmcl::EnableDisable tmc9660::TMC9660< CommType >::FeedbackSense::AbnConfig::clearOnNextNull
Initial value:
=
tmc9660::tmcl::EnableDisable::DISABLED

Clear position on next N-channel event (default: DISABLED)

◆ countsPerRev

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

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

◆ direction

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

Encoder direction (default: NOT_INVERTED)

◆ initDelay

template<typename CommType >
uint16_t tmc9660::TMC9660< CommType >::FeedbackSense::AbnConfig::initDelay = 1000

Initialization delay in ms [1000-10000] (default: 1000ms)

◆ initMethod

template<typename CommType >
tmc9660::tmcl::AbnInitMethod tmc9660::TMC9660< CommType >::FeedbackSense::AbnConfig::initMethod
Initial value:
= tmc9660::tmcl::AbnInitMethod::
FORCED_PHI_E_ZERO_WITH_ACTIVE_SWING

Initialization method (default: FORCED_PHI_E_ZERO_WITH_ACTIVE_SWING)

◆ initVelocity

template<typename CommType >
int32_t tmc9660::TMC9660< CommType >::FeedbackSense::AbnConfig::initVelocity = 5

Initialization velocity [-200000 to 200000] (default: 5)

◆ nChannelFiltering

template<typename CommType >
tmc9660::tmcl::AbnNChannelFiltering tmc9660::TMC9660< CommType >::FeedbackSense::AbnConfig::nChannelFiltering
Initial value:
=
tmc9660::tmcl::AbnNChannelFiltering::FILTERING_OFF

N-channel filtering mode (default: FILTERING_OFF)

◆ nChannelInverted

template<typename CommType >
tmc9660::tmcl::EnableDisable tmc9660::TMC9660< CommType >::FeedbackSense::AbnConfig::nChannelInverted
Initial value:
=
tmc9660::tmcl::EnableDisable::DISABLED

N-channel (index) inversion (default: DISABLED, active high)

◆ nChannelOffset

template<typename CommType >
int16_t tmc9660::TMC9660< CommType >::FeedbackSense::AbnConfig::nChannelOffset = 0

N-channel offset [-32768 to 32767] (default: 0)


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