TMC5160 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
tmc5160::StealthChop Struct Reference

StealthChop settings (PWMCONF, GCONF.en_pwm_mode, section 6.5.2 page 54). More...

#include <tmc5160_types.hpp>

Public Attributes

bool enable {false}
 GCONF.en_pwm_mode.
 
bool autoscale {true}
 Automatic current control (reset 1).
 
bool autograd {true}
 Automatic gradient adaptation (reset 1).
 
uint8_t freq {0}
 PWM frequency 0 to 3: 2/1024, 2/683, 2/512, 2/410 of fCLK.
 
uint8_t reg {4}
 PWM_REG 1 to 15 (reset 4).
 
uint8_t lim {12}
 PWM_LIM 0 to 15 (reset 12).
 
uint8_t ofs {30}
 PWM_OFS 0 to 255 (reset 30).
 
uint8_t grad {0}
 PWM_GRAD 0 to 255.
 
Freewheel freewheel {Freewheel::Normal}
 Standstill mode with IHOLD = 0.
 

Detailed Description

StealthChop settings (PWMCONF, GCONF.en_pwm_mode, section 6.5.2 page 54).


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