|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
Cached settings for homing operations. More...
#include <tmc51x0_types.hpp>
Public Attributes | |
| bool | cached_stealthchop_enabled = false |
| bool | stealthchop_was_modified = false |
| SW_MODE_Register | cached_sw_mode {} |
| bool | sw_mode_was_modified = false |
| RampMode | cached_ramp_mode = RampMode::POSITIONING |
| float | cached_max_speed = 0.0f |
| float | cached_acceleration = 0.0f |
| float | cached_deceleration = 0.0f |
| float | cached_vstart = 0.0f |
| float | cached_vstop = 0.0f |
| float | cached_v1 = 0.0f |
| bool | ramp_settings_were_modified = false |
| bool | is_valid = false |
Cached settings for homing operations.
Stores only the settings that are modified during homing and need to be restored. Notes:
BoundsOptions.current_reduction_factor/current_reduction_target_mA), but are restored via local RAII guards rather than this cache.BoundsOptions.stallguard_override and restored by the homing routines when used as an override. | float tmc51x0::HomingSettingsCache::cached_acceleration = 0.0f |
| float tmc51x0::HomingSettingsCache::cached_deceleration = 0.0f |
| float tmc51x0::HomingSettingsCache::cached_max_speed = 0.0f |
| RampMode tmc51x0::HomingSettingsCache::cached_ramp_mode = RampMode::POSITIONING |
| bool tmc51x0::HomingSettingsCache::cached_stealthchop_enabled = false |
| SW_MODE_Register tmc51x0::HomingSettingsCache::cached_sw_mode {} |
| float tmc51x0::HomingSettingsCache::cached_v1 = 0.0f |
| float tmc51x0::HomingSettingsCache::cached_vstart = 0.0f |
| float tmc51x0::HomingSettingsCache::cached_vstop = 0.0f |
| bool tmc51x0::HomingSettingsCache::is_valid = false |
| bool tmc51x0::HomingSettingsCache::ramp_settings_were_modified = false |
| bool tmc51x0::HomingSettingsCache::stealthchop_was_modified = false |
| bool tmc51x0::HomingSettingsCache::sw_mode_was_modified = false |