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

DIAG0 and DIAG1 outputs (GCONF bits 5 to 13, section 6.1 page 32). More...

#include <tmc5160_types.hpp>

Public Attributes

bool diag0_error {false}
 DIAG0 on driver error (StepDir mode).
 
bool diag0_otpw {false}
 DIAG0 on pre-warning (StepDir mode).
 
bool diag0_stall {false}
 DIAG0 on stall (StepDir mode).
 
bool diag0_step_output {false}
 DIAG0 outputs the internal STEP (MotionController mode).
 
bool diag1_stall {false}
 DIAG1 on stall (StepDir mode).
 
bool diag1_dir_output {false}
 DIAG1 outputs the internal DIR (MotionController mode).
 
bool diag1_index {false}
 DIAG1 on microstep index 0 (StepDir mode).
 
bool diag1_on_state {false}
 DIAG1 on chopper on-state (StepDir mode).
 
bool diag1_steps_skipped {false}
 DIAG1 toggles on skipped DcStep steps; exclusive.
 
bool diag0_push_pull {false}
 DIAG0 push-pull instead of open drain.
 
bool diag1_push_pull {false}
 DIAG1 push-pull instead of open drain.
 

Detailed Description

DIAG0 and DIAG1 outputs (GCONF bits 5 to 13, section 6.1 page 32).


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