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

Configuration structure for Hall sensor auto-configuration. More...

#include <tmc9660.hpp>

Public Attributes

tmc9660::tmcl::HallSectorOffset sectorOffset
 
tmc9660::tmcl::Direction direction
 Hall sensor direction (default: NOT_INVERTED)
 
tmc9660::tmcl::EnableDisable extrapolation
 
uint8_t filterLength
 Digital filter length for Hall inputs [0-255] (default: 0, no filtering)
 
std::optional< floatoffset0Deg
 Offset for 0° Hall position in degrees (optional, default: 0°)
 
std::optional< floatoffset60Deg
 Offset for 60° Hall position in degrees (optional, default: 60°)
 
std::optional< floatoffset120Deg
 Offset for 120° Hall position in degrees (optional, default: 120°)
 
std::optional< floatoffset180Deg
 Offset for 180° Hall position in degrees (optional, default: 180°)
 
std::optional< floatoffset240Deg
 Offset for 240° Hall position in degrees (optional, default: 240°)
 
std::optional< floatoffset300Deg
 Offset for 300° Hall position in degrees (optional, default: 300°)
 
std::optional< floatglobalOffsetDeg
 Global offset in degrees (optional, default: 0°)
 

Detailed Description

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

Configuration structure for Hall sensor auto-configuration.

Member Data Documentation

◆ direction

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

Hall sensor direction (default: NOT_INVERTED)

◆ extrapolation

template<typename CommType >
tmc9660::tmcl::EnableDisable tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::extrapolation
Initial value:
=
tmc9660::tmcl::EnableDisable::DISABLED

Enable Hall extrapolation for higher resolution (default: DISABLED)

◆ filterLength

template<typename CommType >
uint8_t tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::filterLength
Initial value:
=
0

Digital filter length for Hall inputs [0-255] (default: 0, no filtering)

◆ globalOffsetDeg

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::globalOffsetDeg

Global offset in degrees (optional, default: 0°)

◆ offset0Deg

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::offset0Deg

Offset for 0° Hall position in degrees (optional, default: 0°)

◆ offset120Deg

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::offset120Deg

Offset for 120° Hall position in degrees (optional, default: 120°)

◆ offset180Deg

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::offset180Deg

Offset for 180° Hall position in degrees (optional, default: 180°)

◆ offset240Deg

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::offset240Deg

Offset for 240° Hall position in degrees (optional, default: 240°)

◆ offset300Deg

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::offset300Deg

Offset for 300° Hall position in degrees (optional, default: 300°)

◆ offset60Deg

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::offset60Deg

Offset for 60° Hall position in degrees (optional, default: 60°)

◆ sectorOffset

template<typename CommType >
tmc9660::tmcl::HallSectorOffset tmc9660::TMC9660< CommType >::FeedbackSense::HallConfig::sectorOffset
Initial value:
=
tmc9660::tmcl::HallSectorOffset::DEG_0

Hall sensor 60-degree/sector offset (default: DEG_0)


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