mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 23:24:01 -06:00
tmc: Implement high_velocity_threshold for drivers that support it
Signed-off-by: Alex Voinea <voinea.dragos.alexandru@gmail.com>
This commit is contained in:
parent
5249d955bb
commit
ed8dca8df0
5 changed files with 47 additions and 0 deletions
|
@ -242,6 +242,9 @@ Fields["TCOOLTHRS"] = {
|
|||
Fields["TSTEP"] = {
|
||||
"tstep": 0xfffff << 0
|
||||
}
|
||||
Fields["THIGH"] = {
|
||||
"thigh": 0xfffff << 0
|
||||
}
|
||||
|
||||
SignedFields = ["cur_a", "cur_b", "sgt", "xactual", "vactual", "pwm_scale_auto"]
|
||||
|
||||
|
@ -337,6 +340,7 @@ class TMC5160:
|
|||
tmc.TMCWaveTableHelper(config, self.mcu_tmc)
|
||||
tmc.TMCStealthchopHelper(config, self.mcu_tmc)
|
||||
tmc.TMCVcoolthrsHelper(config, self.mcu_tmc)
|
||||
tmc.TMCVhighHelper(config, self.mcu_tmc)
|
||||
# Allow other registers to be set from the config
|
||||
set_config_field = self.fields.set_config_field
|
||||
# GCONF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue