|
HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
|
Configuration structure for brake auto-configuration. More...
#include <tmc9660.hpp>
Public Attributes | |
| std::optional< bool > | enableChopper |
| Enable brake chopper (optional, default: false). | |
| std::optional< float > | chopperVoltageThreshold_V |
| Brake chopper voltage threshold in volts (optional, default: 30.0V for 24V systems). | |
| std::optional< float > | chopperHysteresis_V |
| Brake chopper hysteresis in volts (optional, default: 2.0V). | |
| std::optional< uint8_t > | releasingDutyCycle |
| PWM duty cycle for brake release in percent (optional, default: 50%). | |
| std::optional< uint8_t > | holdingDutyCycle |
| PWM duty cycle for brake holding in percent (optional, default: 30%). | |
| std::optional< uint16_t > | releasingDuration_ms |
| Brake release duration in milliseconds (optional, default: 100ms). | |
| std::optional< bool > | invertOutput |
| Invert brake output polarity (optional, default: false). | |
Configuration structure for brake auto-configuration.
| std::optional<float> tmc9660::TMC9660< CommType >::Brake::BrakeConfig::chopperHysteresis_V |
| std::optional<float> tmc9660::TMC9660< CommType >::Brake::BrakeConfig::chopperVoltageThreshold_V |
Brake chopper voltage threshold in volts (optional, default: 30.0V for 24V systems).
Voltage at which brake chopper activates to dump excess energy. Typical values:
| std::optional<bool> tmc9660::TMC9660< CommType >::Brake::BrakeConfig::enableChopper |
Enable brake chopper (optional, default: false).
When enabled, the brake chopper activates when bus voltage exceeds the threshold, dumping excess energy into a resistor. Enable brake chopper (optional, default: false)
| std::optional<uint8_t> tmc9660::TMC9660< CommType >::Brake::BrakeConfig::holdingDutyCycle |
PWM duty cycle for brake holding in percent (optional, default: 30%).
Duty cycle used to hold brake in released state. Range: 0-99% (default: 30%) Brake holding duty cycle [0-99%] (optional, default: 30%)
| std::optional<bool> tmc9660::TMC9660< CommType >::Brake::BrakeConfig::invertOutput |
Invert brake output polarity (optional, default: false).
When true, inverts the brake output signal polarity. Invert brake output (optional, default: false)
| std::optional<uint16_t> tmc9660::TMC9660< CommType >::Brake::BrakeConfig::releasingDuration_ms |
| std::optional<uint8_t> tmc9660::TMC9660< CommType >::Brake::BrakeConfig::releasingDutyCycle |
PWM duty cycle for brake release in percent (optional, default: 50%).
Duty cycle used during initial brake release phase. Range: 0-99% (default: 50%) Brake release duty cycle [0-99%] (optional, default: 50%)