TMC5160 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
tmc5160::DriverStatus Struct 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.
 

Detailed Description

DRV_STATUS, decoded (page 56).


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