|
TMC5160 Driver 0.1.0
API reference
|
DRV_STATUS, decoded (page 56). More...
#include <tmc5160_status.hpp>
Public Attributes | |
| uint32_t | sg_result {0} |
| StallGuard2 result, 0 to 1023. | |
| uint32_t | cs_actual {0} |
| Actual current scale, 0 to 31. | |
| bool | s2vs_a {false} |
| Short to supply, phase A. | |
| bool | s2vs_b {false} |
| Short to supply, phase B. | |
| bool | stealth {false} |
| StealthChop is active. | |
| bool | full_step {false} |
| Full-step mode is active. | |
| bool | stall {false} |
| StallGuard2 reports a stall. | |
| bool | over_temp {false} |
| Overtemperature shutdown. | |
| bool | over_temp_warning {false} |
| Overtemperature pre-warning. | |
| bool | s2g_a {false} |
| Short to ground, phase A. | |
| bool | s2g_b {false} |
| Short to ground, phase B. | |
| bool | open_load_a {false} |
| Open load, phase A (informative). | |
| bool | open_load_b {false} |
| Open load, phase B (informative). | |
| bool | standstill {false} |
| The motor is at standstill. | |
| uint32_t | raw {0} |
| The register as read. | |
DRV_STATUS, decoded (page 56).